Data processing (scalar floating-point and Advanced SIMD)
fixed bit field field the encoding fixes should be
| 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 |
| 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Rn | Rd | ||||||||
1100111011000000100000xxxxxxxxxx
if not_bool(HaveSHA512Ext()) then {
throw(Error_Undefined())
};
let 'd = UInt(Rd);
let 'n = UInt(Rn);
execute_aarch64_instrs_vector_crypto_sha512_sha512su0(d, n)
AArch64_CheckFPAdvSIMDEnabled(); Vtmp : bits(128) = undefined; let x : bits(128) = V_read(n, 128); let w : bits(128) = V_read(d, 128); sig0 : bits(64) = EOR(EOR(ROR(w[127 .. 64], 1), ROR(w[127 .. 64], 8)), 0b0000000 @ w[127 .. 71]); Vtmp[63 .. 0] = w[63 .. 0] + sig0; let sig0 : bits(64) = EOR(EOR(ROR(x[63 .. 0], 1), ROR(x[63 .. 0], 8)), 0b0000000 @ x[63 .. 7]); Vtmp[127 .. 64] = w[127 .. 64] + sig0; V_set(d, 128) = Vtmp
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.