aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/bits.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go
index e95e3f64cd..65d57c8f9f 100644
--- a/test/codegen/bits.go
+++ b/test/codegen/bits.go
@@ -270,6 +270,12 @@ func bitOpOnMem(a []uint32) {
a[1] |= 220
// amd64:`XORL\s[$]240,\s8\([A-Z]+\)`
a[2] ^= 240
+ // amd64:`BTRL\s[$]15,\s12\([A-Z]+\)`,-`ANDL`
+ a[3] &= 0xffff7fff
+ // amd64:`BTSL\s[$]14,\s16\([A-Z]+\)`,-`ORL`
+ a[4] |= 0x4000
+ // amd64:`BTCL\s[$]13,\s20\([A-Z]+\)`,-`XORL`
+ a[5] ^= 0x2000
}
// Check AND masking on arm64 (Issue #19857)