Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pfxEnabled (0.17 sec)

  1. src/cmd/internal/obj/ppc64/asm9.go

    // It is assumed this always called after buildop.
    func NeedTOCpointer(ctxt *obj.Link) bool {
    	return !pfxEnabled && ctxt.Flag_shared
    }
    
    // Build the opcode table
    func buildop(ctxt *obj.Link) {
    	// Limit PC-relative prefix instruction usage to supported and tested targets.
    	pfxEnabled = buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/ppc64/obj9.go

    		isU32 := uint64(uint32(p.From.Offset)) == uint64(p.From.Offset)
    		// If prefixed instructions are supported, a 34b signed constant can be generated by one pli instruction.
    		isS34 := pfxEnabled && (p.From.Offset<<30)>>30 == p.From.Offset
    
    		// Try converting MOVD $const,Rx into ADDIS/ORIS $s32>>16,R0,Rx
    		switch {
    		case isS32 && p.From.Offset&0xFFFF == 0 && p.From.Offset != 0:
    			p.As = AADDIS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top