aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amo_maxu.h
blob: 533dde3ace98cb3e659ce22638d31d541de2d9b3 (plain)
1
2
3
4
require64;
reg_t v = mmu.load_uint64(RS1);
mmu.store_uint64(RS1, std::max(RS2,v));
RDR = v;