aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2025-08-12 09:41:20 -0700
committerKeith Randall <khr@golang.org>2025-08-12 10:05:55 -0700
commitf04421ea9adc634fc24133ddc59aa24e323ceec9 (patch)
tree8b6e166b53e82dd9996f8813d2f091c15b01cada /test/codegen
parent28aa529c998f114f08ac57cfe94fbf3dd7813f00 (diff)
downloadgo-f04421ea9adc634fc24133ddc59aa24e323ceec9.tar.xz
cmd/compile: soften test for 74788
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>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/issue74788.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/issue74788.go b/test/codegen/issue74788.go
index d04a89b42e..e102f63827 100644
--- a/test/codegen/issue74788.go
+++ b/test/codegen/issue74788.go
@@ -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
}