[xcc] minor performance tweaks
[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;