SHA1SU0 (vector)

Data processing (scalar floating-point and Advanced SIMD)

fixed bit field field the encoding fixes should be

Vector crypto sha3op sha1 sched0

313029282726252423222120191817161514131211109876543210
01011110000Rm001100RnRd

01011110000xxxxx001100xxxxxxxxxx

Decode Sail

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

Operation Sail

AArch64_CheckFPAdvSIMDEnabled();
let operand1 : bits(128) = V_read(d, 128);
let operand2 : bits(128) = V_read(n, 128);
let operand3 : bits(128) = V_read(m, 128);
result : bits(128) = operand2[63 .. 0] @ operand1[127 .. 64];
let result : bits(128) = EOR(EOR(result, operand1), operand3);
V_set(d, 128) = result

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.