aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorBryan C. Mills <bcmills@google.com>2019-08-28 12:42:37 +0000
committerBryan C. Mills <bcmills@google.com>2019-08-28 12:57:59 +0000
commit372b0eed175b88ba2654607b05a36416f08c4cea (patch)
tree70cf67d1f084fc93cfb4375ff2c077959c3e5cc6 /test/codegen
parentbc92fe8b340c302db970fe8a42c8fcf6ccf7141a (diff)
downloadgo-372b0eed175b88ba2654607b05a36416f08c4cea.tar.xz
Revert "cmd/compile: optimize 386's math.bits.TrailingZeros16"
This reverts CL 189277. Reason for revert: broke 32-bit builders. Updates #33902 Change-Id: Ie5f180d0371a90e5057ed578c334372e5fc3a286 Reviewed-on: https://go-review.googlesource.com/c/go/+/192097 Run-TryBot: Bryan C. Mills <bcmills@google.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/mathbits.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go
index 779ea6e322..0d94bd1bc8 100644
--- a/test/codegen/mathbits.go
+++ b/test/codegen/mathbits.go
@@ -296,7 +296,6 @@ func TrailingZeros32(n uint32) int {
func TrailingZeros16(n uint16) int {
// amd64:"BSFL","BTSL\\t\\$16"
- // 386:"BSFL\t"
// arm:"ORR\t\\$65536","CLZ",-"MOVHU\tR"
// arm64:"ORR\t\\$65536","RBITW","CLZW",-"MOVHU\tR",-"RBIT\t",-"CLZ\t"
// s390x:"FLOGR","OR\t\\$65536"