aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/lr_w.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/lr_w.h')
-rw-r--r--riscv/insns/lr_w.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/lr_w.h b/riscv/insns/lr_w.h
index 7ff48ea..2b95419 100644
--- a/riscv/insns/lr_w.h
+++ b/riscv/insns/lr_w.h
@@ -1,2 +1,2 @@
p->get_state()->load_reservation = RS1;
-RD = MMU.load_int32(RS1);
+WRITE_RD(MMU.load_int32(RS1));