- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sub1_ssa (0.08 sec)
-
src/cmd/compile/internal/test/testdata/arith_test.go
} } //go:noinline func sub1_ssa() uint64 { v1 := uint64(3) // uint64 return v1*v1 - (v1&v1)&v1 } //go:noinline func sub2_ssa() uint8 { v1 := uint8(0) v3 := v1 + v1 + v1 ^ v1 | 3 + v1 ^ v1 | v1 ^ v1 v1-- // dev.ssa doesn't see this one return v1 ^ v1*v1 - v3 } func testSubConst(t *testing.T) { x1 := sub1_ssa() want1 := uint64(6) if x1 != want1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:30:59 UTC 2023 - 43.5K bytes - Viewed (0)