amomaxu.d.aq

Atomically with acquire ordering: * Load the doubleword at address _xs1_ * Write the loaded value into _xd_ * Unsigned compare the value of register _xs2_ to the loaded value, and select the maximum value * Write the maximum to the address in _xs1_

Synopsis

amomaxu.d.aq xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd011xs1xs21110010
funct7: 1110010
funct3: 011
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amomaxu.d.aq in rvcodecjs

Availability