aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amo_swap.h
blob: 688905531fc0b0d820d945deee0a722f5284a354 (plain)
1
2
3
4
require64;
reg_t v = mmu.load_uint64(RS1);
mmu.store_uint64(RS1, RS2);
RD = v;