amomaxu.b.rl

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

Synopsis

amomaxu.b.rl xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd000xs1xs21110001
funct7: 1110001
funct3: 000
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amomaxu.b.rl in rvcodecjs

Availability