From f04421ea9adc634fc24133ddc59aa24e323ceec9 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Tue, 12 Aug 2025 09:41:20 -0700 Subject: [PATCH] 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 Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Auto-Submit: Keith Randall Reviewed-by: Keith Randall Reviewed-by: Jorropo --- test/codegen/issue74788.go | 4 ++-- 1 file 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 } -- 2.51.0