diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/codegen/bits.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go index 18f9daf7cf..0a5428b55a 100644 --- a/test/codegen/bits.go +++ b/test/codegen/bits.go @@ -278,6 +278,11 @@ func bitOpOnMem(a []uint32) { a[5] ^= 0x2000 } +func bitcheckMostNegative(b uint8) bool { + // amd64:"TESTB" + return b&0x80 == 0x80 +} + // Check AND masking on arm64 (Issue #19857) func and_mask_1(a uint64) uint64 { |