amoswap.w
Atomic SWAP word
This instruction is defined by:
Synopsis
Atomically:
-
Load the word at address xs1
-
Write the sign-extended value into xd
-
Store the least-significant word of register xs2 to the address in xs1
Decode Variables
Bits<5> xs2 = $encoding[24:20];
Bits<5> xs1 = $encoding[19:15];
Bits<5> xd = $encoding[11:7];