EOR3

Three-way exclusive-OR

This instruction performs a three-way exclusive-OR of the values in the three source SIMD&FP registers, and writes the result to the destination SIMD&FP register.

Encoding: Advanced SIMD

Variants: FEAT_SHA3 (ARMv8.2)

313029282726252423222120191817161514131211109876543210
110011100000
Op0RmRaRnRd

EOR3 <Vd>.16B, <Vn>.16B, <Vm>.16B, <Va>.16B

Decoding algorithm

if !IsFeatureImplemented(FEAT_SHA3) then EndOfDecode(Decode_UNDEF);
constant integer d = UInt(Rd);
constant integer n = UInt(Rn);
constant integer m = UInt(Rm);
constant integer a = UInt(Ra);

Operation

AArch64.CheckFPAdvSIMDEnabled();

constant bits(128) operand1 = V[m, 128];
constant bits(128) operand2 = V[n, 128];
constant bits(128) operand3 = V[a, 128];
V[d, 128] = operand2 EOR operand1 EOR operand3;

Explanations

<Vd>: Is the name of the SIMD&FP destination register, encoded in the "Rd" field.
<Vn>: Is the name of the first SIMD&FP source register, encoded in the "Rn" field.
<Vm>: Is the name of the second SIMD&FP source register, encoded in the "Rm" field.
<Va>: Is the name of the third SIMD&FP source register, encoded in the "Ra" field.

Operational Notes

If PSTATE.DIT is 1: