Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Pcrel (0.04 sec)

  1. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go

    			if rea.show_zero == true {
    				buf += fmt.Sprintf(" #%d", rea.amount)
    			}
    		}
    	}
    	return buf
    }
    
    // A PCRel describes a memory address (usually a code label)
    // as a distance relative to the program counter.
    type PCRel int64
    
    func (PCRel) isArg() {}
    
    func (r PCRel) String() string {
    	return fmt.Sprintf(".%+#x", uint64(r))
    }
    
    // An AddrMode is an ARM addressing mode.
    type AddrMode uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/arm64/asm.go

    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_CALLARM64)
    		if targType == sym.SDYNIMPORT {
    			addpltsym(target, ldr, syms, targ)
    			su.SetRelocSym(rIdx, syms.PLT)
    			su.SetRelocAdd(rIdx, int64(ldr.SymPlt(targ)))
    		}
    		return true
    
    	case objabi.MachoRelocOffset + ld.MACHO_ARM64_RELOC_PAGE21*2 + pcrel,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  3. src/debug/macho/file.go

    				rel.Type = uint8((ri.Addr >> 24) & (1<<4 - 1))
    				rel.Len = uint8((ri.Addr >> 28) & (1<<2 - 1))
    				rel.Pcrel = ri.Addr&(1<<30) != 0
    				rel.Value = ri.Symnum
    				rel.Scattered = true
    			} else {
    				switch bo {
    				case binary.LittleEndian:
    					rel.Addr = ri.Addr
    					rel.Value = ri.Symnum & (1<<24 - 1)
    					rel.Pcrel = ri.Symnum&(1<<24) != 0
    					rel.Len = uint8((ri.Symnum >> 25) & (1<<2 - 1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/stubtest_linux_ppc64le.S

    //
    // TOC   -> dynamic:              A PLT call stub is generated which saves R2.
    //                                 TOC save slot is rewritten to restore TOC.
    // NOTOC -> dynamic [P10]:        A stub using pcrel instructions is generated.
    // NOTOC -> dynamic [P8/default]: A P8 compatible, non-PIC stub is generated
    // NOTOC -> dynamic [P8/pie]:     A P8 compatible, PIC stub is generated
    //
    //
    // Some notes about other cases:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 15:06:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules

    (AND <t> x:(MOVDconst [m]) n) && t.Size() == 4 && isPPC64WordRotateMask(m) => (RLWINM [encodePPC64RotateMask(0,m,32)] n)
    
    // When PCRel is supported, paddi can add a 34b signed constant in one instruction.
    (ADD (MOVDconst [m]) x) && supportsPPC64PCRel() && (m<<30)>>30 == m => (ADDconst [m] x)
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/gnu.go

    				return fmt.Sprintf(".quad 0x%x", v)
    			}
    		}
    		buf.WriteString(str)
    
    	default:
    		// Prefixed load/stores do not print the displacement register when R==1 (they are PCrel).
    		// This also implies RA should be 0.  Likewise, when R==0, printing of R can be omitted.
    		if strings.HasPrefix(opName, "pl") || strings.HasPrefix(opName, "pst") {
    			r := inst.Args[3].(Imm)
    			ra := inst.Args[2].(Reg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ppc64/asm.go

    			stub.SetUint32(ctxt.Arch, stub.Size()-4, OP_ADDI_R12_R12) // addi  r12,targ@toc@l(r12)
    
    		// A call from PC relative function.
    		case STUB_PCREL:
    			if buildcfg.GOPPC64 >= 10 {
    				// Set up address of targ in r12, PCrel
    				stub.AddSymRef(ctxt.Arch, r.Sym(), r.Add(), objabi.R_ADDRPOWER_PCREL34, 8)
    				stub.SetUint32(ctxt.Arch, stub.Size()-8, OP_PLA_PFX)
    				stub.SetUint32(ctxt.Arch, stub.Size()-4, OP_PLA_SFX_R12) // pla r12, r
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loong64/asm.go

    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    
    	// Emit the following function:
    	//
    	//	local.dso_init:
    	//		la.pcrel $a0, local.moduledata
    	//		b runtime.addmoduledata
    
    	//	0000000000000000 <local.dso_init>:
    	//	0:	1a000004	pcalau12i	$a0, 0
    	//				0: R_LARCH_PCALA_HI20	local.moduledata
    	o(0x1a000004)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/cmd/link/internal/amd64/asm.go

    		if targType == sym.SDYNIMPORT {
    			ldr.Errorf(s, "unexpected R_X86_64_PC32 relocation for dynamic symbol %s", ldr.SymName(targ))
    		}
    		if targType == 0 || targType == sym.SXREF {
    			ldr.Errorf(s, "unknown symbol %s in pcrel", ldr.SymName(targ))
    		}
    		su := ldr.MakeSymbolUpdater(s)
    		su.SetRelocType(rIdx, objabi.R_PCREL)
    		su.SetRelocAdd(rIdx, r.Add()+4)
    		return true
    
    	case objabi.ElfRelocOffset + objabi.RelocType(elf.R_X86_64_PC64):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/arch/x86/x86asm/inst.go

    	DataSize int      // operand size in bits: 16, 32, or 64
    	MemBytes int      // size of memory argument in bytes: 1, 2, 4, 8, 16, and so on.
    	Len      int      // length of encoded instruction in bytes
    	PCRel    int      // length of PC-relative address in instruction encoding
    	PCRelOff int      // index of start of PC-relative address in instruction encoding
    }
    
    // Prefixes is an array of prefixes associated with a single instruction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top