aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amomax_w.h
blob: 757bdd2ccb7bdab94d6a3fade459acf17f66bd2d (plain)
1
2
require_extension('A');
WRITE_RD(sext32(MMU.amo_uint32(RS1, [&](int32_t lhs) { return std::max(lhs, int32_t(RS2)); })));