axor

Atomically XOR

AXOR m32, r32

Atomically XORs a value to a remote memory location.

Details

Atomically XORs a 32-bit register value with a memory location without acquiring a lock and without returning the old value. This remote atomic operation guarantees atomicity through cache coherency; it does not serialize the entire pipeline but maintains store-ordering properties. No flags are modified.

Pseudocode Operation

atomic_xor([dest], src);
// Semantically: [dest] ← [dest] ^ src

Example

AXOR [rbp-4], eax

Encoding

Binary Layout
66
+0
0F
+1
38
+2
FC
+3
ModRM
+4
 
Format VEX
Opcode F3 0F 38 FC !(11):rrr:bbb
Extension RAO-INT

Operands

  • dest
    Mem
  • src
    Reg

Related

More in RAO-INT