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