amocas.q.aqrl

Atomically with acquire and release ordering: * Load the quadword at address _xs1_ * Write the loaded value into _xd_ * Compare the loaded value with the value of register _xs2_ * If equal, write the value of register _xs2+1_ to the address in _xs1_

Synopsis

amocas.q.aqrl xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd100xs1xs20010111
funct7: 0010111
funct3: 100
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amocas.q.aqrl in rvcodecjs

Availability