Instructions are no longer member functions
[riscv-isa-sim.git] / riscv / insns / amomax_d.h
index 1a0bc8afbcc733dbe2ce6542b921e148d11212f1..dfd2b336b02b528528242b822e6884ddb20a07c7 100644 (file)
@@ -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;