aboutsummaryrefslogtreecommitdiff
path: root/test/codegen/mathbits.go
diff options
context:
space:
mode:
authorMeng Zhuo <mzh@golangcn.org>2024-05-22 15:55:04 +0800
committerGopher Robot <gobot@golang.org>2024-05-23 18:51:17 +0000
commit019353d5323fcbffde939f4e85a68bd0093c6e14 (patch)
tree26a85c43aada569d351b64dbe57b9178fc13cd6d /test/codegen/mathbits.go
parent128a99decdfd697f6426e3ee651e852081dd7ac5 (diff)
downloadgo-019353d5323fcbffde939f4e85a68bd0093c6e14.tar.xz
test/codegen: add Mul test for riscv64
Change-Id: I51e9832317e5dee1e3fe0772e7592b3dae95a625 Reviewed-on: https://go-review.googlesource.com/c/go/+/586797 Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/codegen/mathbits.go')
-rw-r--r--test/codegen/mathbits.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/codegen/mathbits.go b/test/codegen/mathbits.go
index 82a139acab..a743eaf3d3 100644
--- a/test/codegen/mathbits.go
+++ b/test/codegen/mathbits.go
@@ -827,6 +827,7 @@ func Mul(x, y uint) (hi, lo uint) {
// ppc64x:"MULHDU","MULLD"
// s390x:"MLGR"
// mips64: "MULVU"
+ // riscv64:"MULHU","MUL"
return bits.Mul(x, y)
}