diff options
| author | Keith Randall <khr@golang.org> | 2026-03-27 17:14:43 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-31 11:01:20 -0700 |
| commit | 1582ad41058df1092eaed9dec4d97b7856953ade (patch) | |
| tree | bfd7cdaab0ce6827d3460c1cd0076e75792e4858 /test/codegen | |
| parent | d5b6d583c16f60e4a2f80f8b0fe78abab503f84c (diff) | |
| download | go-1582ad41058df1092eaed9dec4d97b7856953ade.tar.xz | |
test/codegen: fix some unbalanced quotes
Change-Id: I081da8c79f0264118e079af21ff58c511ae37e6c
Reviewed-on: https://go-review.googlesource.com/c/go/+/760682
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Joel Sing <joel@sing.id.au>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@google.com>
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/arithmetic.go | 2 | ||||
| -rw-r--r-- | test/codegen/memcombine.go | 2 | ||||
| -rw-r--r-- | test/codegen/memops_bigoffset.go | 4 | ||||
| -rw-r--r-- | test/codegen/multiply.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/test/codegen/arithmetic.go b/test/codegen/arithmetic.go index b48975cc13..f8a2fc5400 100644 --- a/test/codegen/arithmetic.go +++ b/test/codegen/arithmetic.go @@ -606,7 +606,7 @@ func LenDiv1(a []int) int { // amd64:"SHRQ [$]10" // arm64:"LSR [$]10" -"SDIV" // arm:"SRL [$]10" -".*udiv" - // ppc64x:"SRD" [$]10" + // ppc64x:"SRD [$]10" return len(a) / 1024 } diff --git a/test/codegen/memcombine.go b/test/codegen/memcombine.go index 9df22c1109..f2f57fffe4 100644 --- a/test/codegen/memcombine.go +++ b/test/codegen/memcombine.go @@ -429,7 +429,7 @@ func store_le64(b []byte, x uint64) { // amd64:`MOVQ .*\(.*\)$` -`SHR.` // arm64:`MOVD` -`MOV[WBH]` // ppc64le:`MOVD ` -`MOV[BHW] ` - // ppc64:`MOVDBR` -MOVB ` + // ppc64:`MOVDBR` -`MOVB ` // s390x:`MOVDBR .*\(.*\)$` binary.LittleEndian.PutUint64(b, x) } diff --git a/test/codegen/memops_bigoffset.go b/test/codegen/memops_bigoffset.go index 74dd198890..ef9ccae555 100644 --- a/test/codegen/memops_bigoffset.go +++ b/test/codegen/memops_bigoffset.go @@ -33,7 +33,7 @@ func loadLargeOffset(sw *big1, sd *big2) (uint32, uint64) { // ppc64x/power9:`ADD` `MOVD +\(R[0-9]+\), R[0-9]+` // ppc64x/power8:`ADD` `MOVD +\(R[0-9]+\), R[0-9]+` b4 := sd.d[1<<16] - // ppc64le/power10`:`MOVD +[0-9]+\(R[0-9]+\)` -`ADD` + // ppc64le/power10:`MOVD +[0-9]+\(R[0-9]+\)` -`ADD` // ppc64x/power9:`ADD` `MOVD +\(R[0-9]+\), R[0-9]+` // ppc64x/power8:`ADD` `MOVD +\(R[0-9]+\), R[0-9]+` c4 := sd.d[1<<27] @@ -62,7 +62,7 @@ func storeLargeOffset(sw *big1, sd *big2) { // ppc64x/power9:`MOVD +R[0-9]+, \(R[0-9]+\)` `ADD` // ppc64x/power8:`MOVD +R[0-9]+, \(R[0-9]+\)` `ADD` sd.d[1<<16] = uint64(50) - // ppc64le/power10`:`MOVD +R[0-9]+, [0-9]+\(R[0-9]+\)` -`ADD` + // ppc64le/power10:`MOVD +R[0-9]+, [0-9]+\(R[0-9]+\)` -`ADD` // ppc64x/power9:`MOVD +R[0-9]+, \(R[0-9]+\)` `ADD` // ppc64x/power8:`MOVD +R[0-9]+, \(R[0-9]+\)` `ADD` sd.d[1<<27] = uint64(60) diff --git a/test/codegen/multiply.go b/test/codegen/multiply.go index 3b88a1179f..8c76fd9bb1 100644 --- a/test/codegen/multiply.go +++ b/test/codegen/multiply.go @@ -173,7 +173,7 @@ func m27(x int64) int64 { } func m28(x int64) int64 { // amd64: "IMUL3Q [$]28," - // arm64: "LSL [$]5, "SUB R[0-9]+<<2," + // arm64: "LSL [$]5," "SUB R[0-9]+<<2," // loong64: "ALSLV [$]1," "SLLV [$]2," "ALSLV [$]3," return x * 28 } |
