aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amo_minu.h
blob: 5af3b9da8e2c0dcd10e5b2203fbf03ed5381800b (plain)
1
2
3
4
require64;
reg_t v = mmu.load_uint64(RS1);
mmu.store_uint64(RS1, std::min(RS2,v));
RD = v;