diff options
| author | Keith Randall <khr@golang.org> | 2026-03-27 16:42:41 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-31 11:01:16 -0700 |
| commit | d5b6d583c16f60e4a2f80f8b0fe78abab503f84c (patch) | |
| tree | b2000af6a1ba82ea647f23d22812d9c329b61fb5 /test/codegen/math.go | |
| parent | d6492e284b61c8be4bfce5ee0ca907f4df5deb72 (diff) | |
| download | go-d5b6d583c16f60e4a2f80f8b0fe78abab503f84c.tar.xz | |
test/codegen: replace commas with spaces between regexps
Change-Id: Ia7a955833d761e08c1b8081fb29a2e6317de004c
Reviewed-on: https://go-review.googlesource.com/c/go/+/760681
Auto-Submit: Keith Randall <khr@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Paul Murphy <paumurph@redhat.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/codegen/math.go')
| -rw-r--r-- | test/codegen/math.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/codegen/math.go b/test/codegen/math.go index ef8c51e658..4eaf811b5d 100644 --- a/test/codegen/math.go +++ b/test/codegen/math.go @@ -117,7 +117,7 @@ func copysign(a, b, c float64) { // s390x:"LNDFR " -"MOVD " (no integer load/store) // ppc64x:"FCPSGN" // riscv64:"FSGNJD" - // arm64:"ORR", -"AND" + // arm64:"ORR" -"AND" sink64[1] = math.Copysign(c, -1) // Like math.Copysign(c, -1), but with integer operations. Useful @@ -333,13 +333,13 @@ func nanGenerate32() float32 { func outOfBoundsConv(i32 *[2]int32, u32 *[2]uint32, i64 *[2]int64, u64 *[2]uint64) { // arm64: "FCVTZSDW" - // amd64: "CVTTSD2SL", "CVTSD2SS" + // amd64: "CVTTSD2SL" "CVTSD2SS" i32[0] = int32(two40()) // arm64: "FCVTZSDW" - // amd64: "CVTTSD2SL", "CVTSD2SS" + // amd64: "CVTTSD2SL" "CVTSD2SS" i32[1] = int32(-two40()) // arm64: "FCVTZSDW" - // amd64: "CVTTSD2SL", "CVTSD2SS" + // amd64: "CVTTSD2SL" "CVTSD2SS" u32[0] = uint32(two41()) // on arm64, this uses an explicit <0 comparison, so it constant folds. // on amd64, this uses an explicit <0 comparison, so it constant folds. |
