aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amow_maxu.h
blob: f7b0b7ff98319082d29b81e8766103bf6f7301f9 (plain)
1
2
3
uint32_t v = mmu.load_int32(RS1);
mmu.store_uint32(RS1, std::max(uint32_t(RS2),v));
RD = v;