amoswap.d.rl

Atomically with release ordering: * Load the doubleword at address _xs1_ * Write the loaded value into _xd_ * Store the value of register _xs2_ to the address in _xs1_

Synopsis

amoswap.d.rl xd, xs2, (xs1)

Encoding

Type: R

0671112141519202425310101111xd011xs1xs20000101
funct7: 0000101
funct3: 011
opcode: 0101111

RISC-V Instruction Encoder/Decoder

open amoswap.d.rl in rvcodecjs

Availability