- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkModconstI32 (0.28 sec)
-
src/cmd/compile/internal/test/divconst_test.go
boolres = uint64(i)%7 == 0 } } var i32res int32 func BenchmarkDivconstI32(b *testing.B) { for i := 0; i < b.N; i++ { i32res = int32(i) / 7 } } func BenchmarkModconstI32(b *testing.B) { for i := 0; i < b.N; i++ { i32res = int32(i) % 7 } } func BenchmarkDivisiblePow2constI32(b *testing.B) { for i := 0; i < b.N; i++ { boolres = int32(i)%16 == 0 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 00:07:35 UTC 2020 - 7.7K bytes - Viewed (0)