Instructions are no longer member functions
[riscv-isa-sim.git] / riscv / insns / amomax_w.h
1 int32_t v = MMU.load_int32(RS1);
2 MMU.store_uint32(RS1, std::max(int32_t(RS2),v));
3 RD = v;