- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,228 for spill (1.41 sec)
-
src/cmd/compile/internal/ssagen/ssa.go
// of a function, before the frame has been constructed, so the standard // addressing for the parameters will be wrong. func SpillSlotAddr(spill ssa.Spill, baseReg int16, extraOffset int64) obj.Addr { return obj.Addr{ Name: obj.NAME_NONE, Type: obj.TYPE_MEM, Reg: baseReg, Offset: spill.Offset + extraOffset, } } var ( BoundsCheckFunc [ssa.BoundsKindCount]*obj.LSym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/reflect/value.go
default: panic("unknown ABI part kind") } } } // TODO(mknyszek): Remove this when we no longer have // caller reserved spill space. frameSize = align(frameSize, goarch.PtrSize) frameSize += abid.spill // Mark pointers in registers for the return path. regArgs.ReturnIsPtr = abid.outRegPtrs if debugReflectCall { regArgs.Dump() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/runtime/sys_darwin_amd64.s
// Transition from C ABI to Go ABI. PUSH_REGS_HOST_TO_ABI0() // Set up ABIInternal environment: g in R14, cleared X15. get_tls(R12) MOVQ g(R12), R14 PXOR X15, X15 // Reserve space for spill slots. NOP SP // disable vet stack checking ADJSP $24 // Call into the Go signal handler MOVQ DI, AX // sig MOVQ SI, BX // info MOVQ DX, CX // ctx CALL ·sigtrampgo<ABIInternal>(SB)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:59 UTC 2023 - 19.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
nodes.Append(nif) // Index to start copying into s. // idx = newLen - len(l2) // We use this expression instead of oldLen because it avoids // a spill/restore of oldLen. // Note: this doesn't work optimally currently because // the compiler optimizer undoes this arithmetic. idx := ir.NewBinaryExpr(base.Pos, ir.OSUB, newLen, ir.NewUnaryExpr(base.Pos, ir.OLEN, l2))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/writebarrier.go
// any pointers we must get into the write barrier buffer still make it, // possibly in a different order and possibly a different (but definitely // more than 0) number of times. // In light of that, we process all the OpStoreWBs first. This minimizes // the amount of spill/restore code we need around the Zero/Move calls.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 23.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64Ops.go
// STP.P (ZR,ZR), 16(R16) // CMP Rarg1, R16 // BLE -2(PC) // Note: the-end-of-the-memory may be not a valid pointer. it's a problem if it is spilled. // the-end-of-the-memory - 16 is with the area to zero, ok to spill. { name: "LoweredZero", argLength: 3, reg: regInfo{ inputs: []regMask{buildReg("R16"), gp}, clobbers: buildReg("R16"), }, clobberFlags: true, faultOnNilArg0: true,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 58.8K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
return uintptr(i1.x + i1.y + i2.x + i2.y + i3.x + i3.y + i4.x + i4.y + i5.x + i5.y) } // This test forces a GC. The idea is to have enough arguments // that insufficient spill slots allocated (according to the ABI) // may cause compiler-generated spills to clobber the return PC. // Then, the GC stack scanning will catch that. // //go:registerparams func sum9andGC(i1, i2, i3, i4, i5, i6, i7, i8, i9 uint32) uintptr { runtime.GC()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/runtime/asm_amd64.s
goodm: MOVQ R14, AX // AX (and arg 0) = g MOVQ SI, R14 // g = g.m.g0 get_tls(CX) // Set G in TLS MOVQ R14, g(CX) MOVQ (g_sched+gobuf_sp)(R14), SP // sp = g0.sched.sp PUSHQ AX // open up space for fn's arg spill slot MOVQ 0(DX), R12 CALL R12 // fn(g) // The Windows native stack unwinder incorrectly classifies the next instruction // as part of the function epilogue, producing a wrong call stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
doc/go_mem.html
could discard <code>i</code> without saving a copy and then reload <code>i = *p</code> just before <code>funcs[i]()</code>. A Go compiler must not, because the value of <code>*p</code> may have changed. (Instead, the compiler could spill <code>i</code> to the stack.) </p> <p> Not allowing a single write to write multiple values also means not using the memory where a local variable will be written as temporary storage before the write.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 15:54:42 UTC 2024 - 26.6K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
if framesize == 0 { return p } if ctxt.Flag_maymorestack != "" { // Save LR and REGCTXT const frameSize = 16 p = ctxt.StartUnsafePoint(p, newprog) // Spill Arguments. This has to happen before we open // any more frame space. p = cursym.Func().SpillRegisterArgs(p, newprog) // MOV LR, -16(SP) p = obj.Appendp(p, newprog) p.As = AMOV
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0)