aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amo_min.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/amo_min.h')
-rw-r--r--riscv/insns/amo_min.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/amo_min.h b/riscv/insns/amo_min.h
index 7244e87..4acfe74 100644
--- a/riscv/insns/amo_min.h
+++ b/riscv/insns/amo_min.h
@@ -1,4 +1,4 @@
require64;
sreg_t v = mmu.load_int64(RS1);
mmu.store_uint64(RS1, std::min(sreg_t(RS2),v));
-RDR = v;
+RD = v;