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_d.h
diff --git
a/riscv/insns/amomax_d.h
b/riscv/insns/amomax_d.h
index 1a0bc8afbcc733dbe2ce6542b921e148d11212f1..dfd2b336b02b528528242b822e6884ddb20a07c7 100644
(file)
--- a/
riscv/insns/amomax_d.h
+++ b/
riscv/insns/amomax_d.h
@@
-1,4
+1,4
@@
require_xpr64;
-sreg_t v =
mmu
.load_int64(RS1);
-
mmu
.store_uint64(RS1, std::max(sreg_t(RS2),v));
+sreg_t v =
MMU
.load_int64(RS1);
+
MMU
.store_uint64(RS1, std::max(sreg_t(RS2),v));
RD = v;