diff options
Diffstat (limited to 'riscv/insns/lr_w.h')
-rw-r--r-- | riscv/insns/lr_w.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/riscv/insns/lr_w.h b/riscv/insns/lr_w.h index c5845a6..8605cc5 100644 --- a/riscv/insns/lr_w.h +++ b/riscv/insns/lr_w.h @@ -1,3 +1,4 @@ require_extension('A'); +auto res = MMU.load_int32(RS1); MMU.acquire_load_reservation(RS1); -WRITE_RD(MMU.load_int32(RS1)); +WRITE_RD(res); |