aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/bool.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/codegen/bool.go b/test/codegen/bool.go
index 0daeb88b9b..164ca1b224 100644
--- a/test/codegen/bool.go
+++ b/test/codegen/bool.go
@@ -273,6 +273,12 @@ func TestLogicalCompareZero(x *[64]uint64) {
x[12] = uint64(c)
}
+ // ppc64x:"MULHDUCC",^"MULHDU"
+ hi, _ := bits.Mul64(x[13], x[14])
+ if hi != 0 {
+ x[14] = hi
+ }
+
}
func constantWrite(b bool, p *bool) {