aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/bool.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/codegen/bool.go b/test/codegen/bool.go
index 164ca1b224..2024759a5c 100644
--- a/test/codegen/bool.go
+++ b/test/codegen/bool.go
@@ -47,6 +47,7 @@ func convertNeqBool32(x uint32) bool {
func convertEqBool32(x uint32) bool {
// ppc64x:"RLDICL",-"CMPW","XOR",-"ISEL"
+ // amd64:"ANDL","XORL",-"BTL",-"SETCC"
return x&1 == 0
}
@@ -57,6 +58,7 @@ func convertNeqBool64(x uint64) bool {
func convertEqBool64(x uint64) bool {
// ppc64x:"RLDICL","XOR",-"CMP",-"ISEL"
+ // amd64:"ANDL","XORL",-"BTL",-"SETCC"
return x&1 == 0
}