BCAX

Bit clear and exclusive-OR

This instruction performs a bitwise AND between the 128-bit vector in a source SIMD&FP register and the complement of the vector in another source SIMD&FP register, then performs a bitwise exclusive-OR between the resulting vector and the vector in a third source SIMD&FP register, and writes the result to the destination SIMD&FP register.

Advanced SIMD
(FEAT_SHA3)

313029282726252423222120191817161514131211109876543210
11001110001Rm0RaRnRd
Op0

Encoding

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

Decode for this encoding

if !IsFeatureImplemented(FEAT_SHA3) then EndOfDecode(Decode_UNDEF); end; let d : integer{} = UInt(Rd); let n : integer{} = UInt(Rn); let m : integer{} = UInt(Rm); let a : integer{} = UInt(Ra);

Assembler Symbols

<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.

Operation

AArch64_CheckFPAdvSIMDEnabled(); let operand1 : bits(128) = V{}(m); let operand2 : bits(128) = V{}(n); let operand3 : bits(128) = V{}(a); V{128}(d) = operand2 XOR (operand1 AND NOT(operand3));

Operational information

This instruction is a data-independent-time instruction as described in About PSTATE.DIT.


2026-03_rel 2026-03-26 20:48:11

Copyright © 2010-2026 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.