XAR (vector)

Data processing (scalar floating-point and Advanced SIMD)

fixed bit field field the encoding fixes should be

Vector crypto sha3 xar

313029282726252423222120191817161514131211109876543210
11001110100Rmimm6RnRd

11001110100xxxxxxxxxxxxxxxxxxxxx

Decode Sail

if not_bool(HaveSHA3Ext()) then {
    throw(Error_Undefined())
};
let 'd = UInt(Rd);
let 'n = UInt(Rn);
let 'm = UInt(Rm);
execute_aarch64_instrs_vector_crypto_sha3_xar(d, imm6, m, n)

Operation Sail

AArch64_CheckFPAdvSIMDEnabled();
let Vm : bits(128) = V_read(m, 128);
let Vn : bits(128) = V_read(n, 128);
let tmp : bits(128) = EOR(Vn, Vm);
V_set(d, 128) = ROR(tmp[127 .. 64], UInt(imm6)) @ ROR(tmp[63 .. 0], UInt(imm6))

Made from ScarletNX's Sail at 166ad3910f80. sail-arm's definitions are Arm's ASL in Sail (BSD 3-Clause Clear, license); ScarletNX's fixups are GPL-3.0-or-later.