Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 476 Bytes

_max_min.adoc

File metadata and controls

33 lines (26 loc) · 476 Bytes

Integer minimum/maximum

The integer minimum/maximum instructions are arithmetic R-type instructions that return the smaller/larger of two operands.

RV32 RV64 Mnemonic Instruction

max rd, rs1, rs2

[insns-max]

maxu rd, rs1, rs2

[insns-maxu]

min rd, rs1, rs2

[insns-min]

minu rd, rs1, rs2

[insns-minu]