ARM / OFFLINE REFERENCE

On this page
← Home

AESMC

AES mix columns

This instruction reads a 16-byte state array from the source vector and performs a single round of the MixColumns() transformation on the state array in accordance with the AES standard. The updated state array is placed in the destination vector.

Advanced SIMD class
(FEAT_AES)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 0 0 1 1 1 0 0 0 1 0 1 0 0 0 0 1 1 0 1 0 Rn Rd
size D

Encoding

AESMC <Vd>.16B, <Vn>.16B

Decode

if !IsFeatureImplemented(FEAT_AES) then EndOfDecode(Decode_UNDEF); end;
let d : integer{} = UInt(Rd);
let n : integer{} = UInt(Rn);

Assembler Symbols

<Vd>

Is the name of the SIMD&FP destination register, encoded in the "Rd" field.

<Vn>

Is the name of the SIMD&FP source register, encoded in the "Rn" field.

Operation

AArch64_CheckFPAdvSIMDEnabled();

let operand : bits(128) = V{}(n);
V{128}(d) = AESMixColumns(operand);

Operational information

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


Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.

This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.