aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/bits.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen/bits.go')
-rw-r--r--test/codegen/bits.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/codegen/bits.go b/test/codegen/bits.go
index c5bce3d318..07e12d3131 100644
--- a/test/codegen/bits.go
+++ b/test/codegen/bits.go
@@ -445,11 +445,11 @@ func bitsFlipU32(a, b uint32) (n uint32) {
func bitsOpOnMem(a []uint32, b, c, d uint32) {
// check direct operation on memory with constant
- // amd64:`ANDL\s[$]200,\s\([A-Z][A-Z0-9]+\)`
+ // amd64:`ANDL [$]200, \([A-Z][A-Z0-9]+\)`
a[0] &= 200
- // amd64:`ORL\s[$]220,\s4\([A-Z][A-Z0-9]+\)`
+ // amd64:`ORL [$]220, 4\([A-Z][A-Z0-9]+\)`
a[1] |= 220
- // amd64:`XORL\s[$]240,\s8\([A-Z][A-Z0-9]+\)`
+ // amd64:`XORL [$]240, 8\([A-Z][A-Z0-9]+\)`
a[2] ^= 240
}