aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/amomax_b.h
blob: 84df51af25fd82ebd380bbb63b7843ef91fd3f5b (plain)
1
2
require_extension(EXT_ZABHA);
WRITE_RD(sreg_t(MMU.amo<int8_t>(RS1, [&](int8_t lhs) { return std::max(lhs, int8_t(RS2)); })));