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