aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/arithmetic.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/codegen/arithmetic.go')
-rw-r--r--test/codegen/arithmetic.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/codegen/arithmetic.go b/test/codegen/arithmetic.go
index 29764bf817..7cc6cf77e1 100644
--- a/test/codegen/arithmetic.go
+++ b/test/codegen/arithmetic.go
@@ -335,11 +335,13 @@ func Fold2NegMul(a, b int) int {
func Mul32(a, b int32) int64 {
// arm64:"SMULL" -"MOVW"
+ // loong64:"MULWVW" -"MOVW"
return int64(a) * int64(b)
}
func Mul32U(a, b uint32) uint64 {
// arm64:"UMULL" -"MOVWU"
+ // loong64:"MULWVWU" -"MOVWU"
return uint64(a) * uint64(b)
}