- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 252 for spills (0.09 sec)
-
test/abi/spills4.go
package main import "fmt" type i5f5 struct { a, b int16 c, d, e int32 r, s, t, u, v float32 } //go:noinline func spills(_ *float32) { } //go:registerparams //go:noinline func F(x i5f5) i5f5 { y := x.v spills(&y) x.r = y return x } func main() { x := i5f5{1, 2, 3, 4, 5, 6, 7, 8, 9, 10} y := x z := F(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 753 bytes - Viewed (0) -
test/abi/spills3.go
type i4 struct { a, b, c, d int } //go:noinline func spills(px *i4) { } //go:registerparams //go:noinline func F(x i4) i4 { ab := x.a + x.b bc := x.b + x.c cd := x.c + x.d ad := x.a + x.d ba := x.a - x.b cb := x.b - x.c dc := x.c - x.d da := x.a - x.d i := i4{ab*bc + da, cd*ad + cb, ba*cb + ad, dc*da + bc} spills(&i) return i } func main() { x := i4{1, 2, 3, 4}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 826 bytes - Viewed (0) -
test/codegen/stack.go
// Notes: // - 386 fails due to spilling a register // amd64:"TEXT\t.*, [$]0-" // arm:"TEXT\t.*, [$]0-" (spills return address) // arm64:"TEXT\t.*, [$]0-" // ppc64x:"TEXT\t.*, [$]0-" // s390x:"TEXT\t.*, [$]0-" // Note: that 386 currently has to spill a register. func KeepWanted(t *T) { *t = T{A: t.A, B: t.B, C: t.C, D: t.D} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 21:29:41 UTC 2024 - 3.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc_test.go
) flagalloc(f.f) regalloc(f.f) checkFunc(f.f) // There should be a spill in loop1, and nowhere else. // TODO: resurrect moving spills out of loops? We could put spills at the start of both exit1 and exit2. if numSpills(f.blocks["loop1"]) != 1 { t.Errorf("spill missing from loop1") } if numSpills(f.blocks["loop2"]) != 0 { t.Errorf("spill present in loop2") } if numSpills(f.blocks["exit1"]) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:09:14 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/stubs_loong64.go
//go:build loong64 package runtime // Called from assembly only; declared for go vet. func load_g() func save_g() // Used by reflectcall and the reflect package. // // Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 19:04:23 UTC 2023 - 638 bytes - Viewed (0) -
src/runtime/stubs_ppc64x.go
package runtime import "unsafe" // Called from assembly only; declared for go vet. func load_g() func save_g() func reginit() //go:noescape func asmcgocall_no_g(fn, arg unsafe.Pointer) // Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 02:48:11 UTC 2023 - 688 bytes - Viewed (0) -
src/runtime/stubs_arm64.go
func load_g() func save_g() //go:noescape func asmcgocall_no_g(fn, arg unsafe.Pointer) func emptyfunc() // Used by reflectcall and the reflect package. // // Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 10:04:13 UTC 2023 - 700 bytes - Viewed (0) -
src/runtime/stubs_riscv64.go
import "unsafe" // Called from assembly only; declared for go vet. func load_g() func save_g() //go:noescape func asmcgocall_no_g(fn, arg unsafe.Pointer) // Used by reflectcall and the reflect package. // // Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 02:55:17 UTC 2023 - 695 bytes - Viewed (0) -
src/runtime/stubs_amd64.go
func retpolineR14() func retpolineR15() //go:noescape func asmcgocall_no_g(fn, arg unsafe.Pointer) //go:systemstack func asmcgocall_landingpad() // Used by reflectcall and the reflect package. // // Spills/loads arguments in registers to/from an internal/abi.RegArgs // respectively. Does not follow the Go ABI. func spillArgs() func unspillArgs() // getfp returns the frame pointer register of its caller or 0 if not implemented.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 08:26:52 UTC 2023 - 1.4K bytes - Viewed (0) -
test/abi/named_return_stuff.go
sink = &result r := "" if len(s) <= len(t) { r = "OKAY! " X() } return r + result } //go:registerparams //go:noinline func K(s, t string) (result string) { // result spills result = "Aloha! " + s + " " + t r := "" if len(s) <= len(t) { r = "OKAY! " X() } return r + result } func main() { a, b, c := 1, 4, 16 x := F(&a, &b, &c) fmt.Printf("x = %d\n", x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.5K bytes - Viewed (0)