projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use WRITE_RD/WRITE_FRD macros to write registers
[riscv-isa-sim.git]
/
riscv
/
insns
/
amoxor_w.h
diff --git
a/riscv/insns/amoxor_w.h
b/riscv/insns/amoxor_w.h
index f59a43e59f71d1ab8302b38224074134fe1e77c4..3a87b6e4550f559455b90a5d0985461466cbb84f 100644
(file)
--- a/
riscv/insns/amoxor_w.h
+++ b/
riscv/insns/amoxor_w.h
@@
-1,3
+1,3
@@
reg_t v = MMU.load_int32(RS1);
MMU.store_uint32(RS1, RS2 ^ v);
-
RD = v
;
+
WRITE_RD(v)
;