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