- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Pcrel (0.13 sec)
-
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) -
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) -
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) -
src/cmd/link/internal/ld/data.go
// a call to PLT. func isPLTCall(rt objabi.RelocType) bool { const pcrel = 1 switch rt { // ARM64 case objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_CALL26), objabi.ElfRelocOffset + objabi.RelocType(elf.R_AARCH64_JUMP26), objabi.MachoRelocOffset + MACHO_ARM64_RELOC_BRANCH26*2 + pcrel: return true // ARM case objabi.ElfRelocOffset + objabi.RelocType(elf.R_ARM_CALL),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (1) -
src/cmd/internal/obj/ppc64/obj9.go
p.From.Sym.Set(obj.AttrNoSplit, true) } p.To.Offset = int64(autosize) q = p if NeedTOCpointer(c.ctxt) && !isNOTOCfunc(c.cursym.Name) { // When compiling Go into PIC, without PCrel support, all functions must start // with instructions to load the TOC pointer into r2: // // addis r2, r12, .TOC.-func@ha // addi r2, r2, .TOC.-func@l+4 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
// Fold address into load/store. // If power10 with PCRel is not available, then // the assembler needs to generate several instructions and use // temp register for accessing global, and each time it will reload
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
func hasSmallRotate(c *Config) bool { switch c.arch { case "amd64", "386": return true default: return false } } func supportsPPC64PCRel() bool { // PCRel is currently supported for >= power10, linux only // Internal and external linking supports this on ppc64le; internal linking on ppc64. return buildcfg.GOPPC64 >= 10 && buildcfg.GOOS == "linux" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/debug/elf/elf.go
R_X86_64_JMP_SLOT R_X86_64 = 7 /* Set GOT entry to code address. */ R_X86_64_RELATIVE R_X86_64 = 8 /* Add load address of shared object. */ R_X86_64_GOTPCREL R_X86_64 = 9 /* Add 32 bit signed pcrel offset to GOT. */ R_X86_64_32 R_X86_64 = 10 /* Add 32 bit zero extended symbol value */ R_X86_64_32S R_X86_64 = 11 /* Add 32 bit sign extended symbol value */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"RegsAMD64.SI", Field, 0}, {"RegsAMD64.SP", Field, 0}, {"Reloc", Type, 10}, {"Reloc.Addr", Field, 10}, {"Reloc.Extern", Field, 10}, {"Reloc.Len", Field, 10}, {"Reloc.Pcrel", Field, 10}, {"Reloc.Scattered", Field, 10}, {"Reloc.Type", Field, 10}, {"Reloc.Value", Field, 10}, {"RelocTypeARM", Type, 10}, {"RelocTypeARM64", Type, 10}, {"RelocTypeGeneric", Type, 10},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)