From d6492e284b61c8be4bfce5ee0ca907f4df5deb72 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Fri, 27 Mar 2026 16:20:06 -0700 Subject: test/codegen: get rid of \s Replace \s with a space in backtick-quoted strings Replace \\s with a space in double-quoted strings Change-Id: I0c8b249bb12c2c8ca69e683e4bc6f27544fd6094 Reviewed-on: https://go-review.googlesource.com/c/go/+/760680 Auto-Submit: Keith Randall Reviewed-by: Junyang Shao Reviewed-by: Paul Murphy Reviewed-by: Keith Randall LUCI-TryBot-Result: Go LUCI --- test/codegen/floats.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/codegen/floats.go') diff --git a/test/codegen/floats.go b/test/codegen/floats.go index ad9713b75f..b93c17af41 100644 --- a/test/codegen/floats.go +++ b/test/codegen/floats.go @@ -59,14 +59,14 @@ func DivPow2(f1, f2, f3 float64) (float64, float64, float64) { } func indexLoad(b0 []float32, b1 float32, idx int) float32 { - // arm64:`FMOVS\s\(R[0-9]+\)\(R[0-9]+<<2\),\sF[0-9]+` - // loong64:`MOVF\s\(R[0-9]+\)\(R[0-9]+\),\sF[0-9]+` + // arm64:`FMOVS \(R[0-9]+\)\(R[0-9]+<<2\), F[0-9]+` + // loong64:`MOVF \(R[0-9]+\)\(R[0-9]+\), F[0-9]+` return b0[idx] * b1 } func indexStore(b0 []float64, b1 float64, idx int) { - // arm64:`FMOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+<<3\)` - // loong64:`MOVD\sF[0-9]+,\s\(R[0-9]+\)\(R[0-9]+\)` + // arm64:`FMOVD F[0-9]+, \(R[0-9]+\)\(R[0-9]+<<3\)` + // loong64:`MOVD F[0-9]+, \(R[0-9]+\)\(R[0-9]+\)` b0[idx] = b1 } -- cgit v1.3-5-g9baa