aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorPaul E. Murphy <murp@ibm.com>2023-01-24 11:38:29 -0600
committerPaul Murphy <murp@ibm.com>2023-01-27 19:03:02 +0000
commit15405317460b57ff9ef605d0ca63795477c79b05 (patch)
treed47eb0f1636774a73050ddc00eafa9a29900a743 /test/codegen/mathbits.go
parent0301c6c3512561b85b48d0e167f3e405484f496f (diff)
downloadgo-15405317460b57ff9ef605d0ca63795477c79b05.tar.xz
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/mathbits.go')
-rw-r--r--test/codegen/mathbits.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go
index 788f739f14..09aa5a136e 100644
--- a/test/codegen/mathbits.go
+++ b/test/codegen/mathbits.go
@@ -308,8 +308,8 @@ func TrailingZeros64(n uint64) int {
}
func TrailingZeros64Subtract(n uint64) int {
- // ppc64le/power8:"NEG","SUBC","ANDN","POPCNTD"
- // ppc64le/power9:"SUBC","CNTTZD"
+ // ppc64x/power8:"NEG","SUBC","ANDN","POPCNTD"
+ // ppc64x/power9:"SUBC","CNTTZD"
return bits.TrailingZeros64(1 - n)
}