aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/mathbits.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go
index eb4c5ca019..39f46c70c8 100644
--- a/test/codegen/mathbits.go
+++ b/test/codegen/mathbits.go
@@ -29,7 +29,7 @@ func LeadingZeros64(n uint64) int {
}
func LeadingZeros32(n uint32) int {
- // amd64:"BSRQ"
+ // amd64:"BSRQ","LEAQ",-"CMOVQEQ"
// s390x:"FLOGR"
// arm:"CLZ" arm64:"CLZ"
// mips:"CLZ"
@@ -37,7 +37,7 @@ func LeadingZeros32(n uint32) int {
}
func LeadingZeros16(n uint16) int {
- // amd64:"BSRQ"
+ // amd64:"BSRL","LEAL",-"CMOVQEQ"
// s390x:"FLOGR"
// arm:"CLZ" arm64:"CLZ"
// mips:"CLZ"
@@ -73,7 +73,7 @@ func Len64(n uint64) int {
}
func Len32(n uint32) int {
- // amd64:"BSRQ"
+ // amd64:"BSRQ","LEAQ",-"CMOVQEQ"
// s390x:"FLOGR"
// arm:"CLZ" arm64:"CLZ"
// mips:"CLZ"
@@ -81,7 +81,7 @@ func Len32(n uint32) int {
}
func Len16(n uint16) int {
- // amd64:"BSRQ"
+ // amd64:"BSRL","LEAL",-"CMOVQEQ"
// s390x:"FLOGR"
// arm:"CLZ" arm64:"CLZ"
// mips:"CLZ"