aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amow_max.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/amow_max.h')
-rw-r--r--riscv/insns/amow_max.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/amow_max.h b/riscv/insns/amow_max.h
index c4854d1..ff9c2da 100644
--- a/riscv/insns/amow_max.h
+++ b/riscv/insns/amow_max.h
@@ -1,3 +1,3 @@
int32_t v = mmu.load_int32(RS1);
mmu.store_uint32(RS1, std::max(int32_t(RS2),v));
-RDR = v;
+RD = v;