aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amoadd_d.h
blob: 6090fbc530d078cee63ea31bb78ecf70a1c6a534 (plain)
1
2
3
require_extension('A');
require_rv64;
WRITE_RD(MMU.amo_uint64(RS1, [&](uint64_t lhs) { return lhs + RS2; }));