aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amominu_d.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/amominu_d.h')
-rw-r--r--riscv/insns/amominu_d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/amominu_d.h b/riscv/insns/amominu_d.h
index 4f83c0f..5543d5e 100644
--- a/riscv/insns/amominu_d.h
+++ b/riscv/insns/amominu_d.h
@@ -1,4 +1,4 @@
require_xpr64;
reg_t v = MMU.load_uint64(RS1);
MMU.store_uint64(RS1, std::min(RS2,v));
-RD = v;
+WRITE_RD(v);