aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/mulh.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/mulh.h')
-rw-r--r--riscv/insns/mulh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/mulh.h b/riscv/insns/mulh.h
index c4fead2..ed9c1a8 100644
--- a/riscv/insns/mulh.h
+++ b/riscv/insns/mulh.h
@@ -1,4 +1,4 @@
require64;
int64_t rb = RS1;
int64_t ra = RS2;
-RDR = (int128_t(rb) * int128_t(ra)) >> 64;
+RD = (int128_t(rb) * int128_t(ra)) >> 64;