aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2019-08-28 14:32:10 -0400
committerCherry Zhang <cherryyz@google.com>2019-08-28 20:42:48 +0000
commit9859f6bedb6b85c9fa6e1a260ae62f1df8c8594e (patch)
tree7f4edbedfe9c4f3a2f0d640bcaa6dd8049c65d1b /test/codegen/mathbits.go
parent777304a5d33390cd905765cb61fa6a16ac349d4e (diff)
downloadgo-9859f6bedb6b85c9fa6e1a260ae62f1df8c8594e.tar.xz
test/codegen: fix ARM32 RotateLeft32 test
The syntax of a shifted operation does not have a "$" sign for the shift amount. Remove it. Change-Id: I50782fe942b640076f48c2fafea4d3175be8ff99 Reviewed-on: https://go-review.googlesource.com/c/go/+/192100 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/codegen/mathbits.go')
-rw-r--r--test/codegen/mathbits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go
index ea90e3a50e..ec04a66955 100644
--- a/test/codegen/mathbits.go
+++ b/test/codegen/mathbits.go
@@ -208,7 +208,7 @@ func RotateLeft64(n uint64) uint64 {
func RotateLeft32(n uint32) uint32 {
// amd64:"ROLL" 386:"ROLL"
- // arm:`MOVW\tR[0-9]+@>[$]23`
+ // arm:`MOVW\tR[0-9]+@>23`
// arm64:"RORW"
// ppc64:"ROTLW"
// ppc64le:"ROTLW"