amomaxu.w

Atomically: * Load the word at address _xs1_ * Write the sign-extended value into _xd_ * Unsigned compare the least-significant word of register _xs2_ to the loaded value, and select the maximum value * Write the maximum to the address in _xs1_

Synopsis

amomaxu.w xd, xs2, (xs1)

Encoding

Type: R

06711121415192024252627310101111xd010xs1xs2rlaq11100
funct3: 010
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amomaxu.w in rvcodecjs

Availability