- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for foldConstOutOfRange (0.12 sec)
-
test/codegen/bits.go
d, borrow := bits.Sub64(x, y, 0) return x - d&(-borrow) } func foldConst(x, y uint64) uint64 { // arm64: "ADDS\t[$]7",-"MOVD\t[$]7" d, b := bits.Add64(x, 7, 0) return b & d } func foldConstOutOfRange(a uint64) uint64 { // arm64: "MOVD\t[$]19088744",-"ADD\t[$]19088744" return a + 0x1234568 } // Verify sign-extended values are not zero-extended under a bit mask (#61297)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 7.8K bytes - Viewed (0)