]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: soften test for 74788
authorKeith Randall <khr@golang.org>
Tue, 12 Aug 2025 16:41:20 +0000 (09:41 -0700)
committerKeith Randall <khr@golang.org>
Tue, 12 Aug 2025 17:05:55 +0000 (10:05 -0700)
We now (as of CL 678620) use float registers other than X0 for copying.

Change-Id: Ifdecd5df7519663742eed0f292c98453754d4b25
Reviewed-on: https://go-review.googlesource.com/c/go/+/695275
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
test/codegen/issue74788.go

index d04a89b42edb6e40b7566043440809200e2ad04f..e102f638273cbc961c0ea2ce804093c29412f285 100644 (file)
@@ -7,11 +7,11 @@
 package codegen
 
 func fa(a [2]int) (r [2]int) {
-       // amd64:1`MOVUPS[^,]+, X0$`,1`MOVUPS\sX0,[^\n]+$`
+       // amd64:1`MOVUPS[^,]+, X[0-9]+$`,1`MOVUPS\sX[0-9]+,[^\n]+$`
        return a
 }
 
 func fb(a [4]int) (r [4]int) {
-       // amd64:2`MOVUPS[^,]+, X0$`,2`MOVUPS\sX0,[^\n]+$`
+       // amd64:2`MOVUPS[^,]+, X[0-9]+$`,2`MOVUPS\sX[0-9]+,[^\n]+$`
        return a
 }