- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NeedTOCpointer (0.83 sec)
-
src/cmd/internal/obj/ppc64/obj9.go
// A leaf function with a small stack can be marked // NOSPLIT, avoiding a stack check. 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: //
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/ppc64/ssa.go
pp.From.Type = obj.TYPE_CONST pp.From.Offset = ppc64.BO_ALWAYS pp.Reg = ppc64.REG_CR0LT // The preferred value if BI is ignored. pp.To.Reg = ppc64.REG_LR pp.AddRestSourceConst(1) if ppc64.NeedTOCpointer(base.Ctxt) { // When compiling Go into PIC, the function we just // called via pointer might have been implemented in // a separate module and so overwritten the TOC // pointer in R2; reload it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
// as opcode a. func opset(a, b0 obj.As) { oprange[a&obj.AMask] = oprange[b0] } // Determine if the build configuration requires a TOC pointer. // 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.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0)