diff options
author | Paul E. Murphy <murp@ibm.com> | 2023-01-24 11:38:29 -0600 |
---|---|---|
committer | Paul Murphy <murp@ibm.com> | 2023-01-27 19:03:02 +0000 |
commit | 15405317460b57ff9ef605d0ca63795477c79b05 (patch) | |
tree | d47eb0f1636774a73050ddc00eafa9a29900a743 /test/codegen/arithmetic.go | |
parent | 0301c6c3512561b85b48d0e167f3e405484f496f (diff) | |
download | go-git-15405317460b57ff9ef605d0ca63795477c79b05.tar.gz |
test/codegen: merge identical ppc64 and ppc64le tests
Manually consolidate the remaining ppc64/ppc64le test which
are not so trivial to automatically merge.
The remaining ppc64le tests are limited to cases where load/stores are
merged (this only happens on ppc64le) and the race detector (only
supported on ppc64le).
Change-Id: I1f9c0f3d3ddbb7fbbd8c81fbbd6537394fba63ce
Reviewed-on: https://go-review.googlesource.com/c/go/+/463217
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: Paul Murphy <murp@ibm.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
Diffstat (limited to 'test/codegen/arithmetic.go')
-rw-r--r-- | test/codegen/arithmetic.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/arithmetic.go b/test/codegen/arithmetic.go index 00311e8b7f..2f06ac58d6 100644 --- a/test/codegen/arithmetic.go +++ b/test/codegen/arithmetic.go @@ -162,8 +162,8 @@ func MergeMuls1(n int) int { func MergeMuls2(n int) int { // amd64:"IMUL3Q\t[$]23","(ADDQ\t[$]29)|(LEAQ\t29)" // 386:"IMUL3L\t[$]23","ADDL\t[$]29" - // ppc64le/power9:"MADDLD",-"MULLD\t[$]23",-"ADD\t[$]29" - // ppc64le/power8:"MULLD\t[$]23","ADD\t[$]29" + // ppc64x/power9:"MADDLD",-"MULLD\t[$]23",-"ADD\t[$]29" + // ppc64x/power8:"MULLD\t[$]23","ADD\t[$]29" return 5*n + 7*(n+1) + 11*(n+2) // 23n + 29 } |