projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Instructions are no longer member functions
[riscv-isa-sim.git]
/
riscv
/
insns
/
amomax_w.h
diff --git
a/riscv/insns/amomax_w.h
b/riscv/insns/amomax_w.h
index ff9c2da7923787f9232914074deca2008fbc36eb..1f68a8bf78c7615b61c300027ff98d99a2fe96ef 100644
(file)
--- a/
riscv/insns/amomax_w.h
+++ b/
riscv/insns/amomax_w.h
@@
-1,3
+1,3
@@
-int32_t v =
mmu
.load_int32(RS1);
-
mmu
.store_uint32(RS1, std::max(int32_t(RS2),v));
+int32_t v =
MMU
.load_int32(RS1);
+
MMU
.store_uint32(RS1, std::max(int32_t(RS2),v));
RD = v;