aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amoadd_w.h
blob: c288b3bc4dd4e51977eff4ed95d49531fb53bd0e (plain)
1
2
require_extension('A');
WRITE_RD(sext32(MMU.amo<uint32_t>(RS1, [&](uint32_t lhs) { return lhs + RS2; })));