SHA-256 hash update (part 2)
This instruction reads the eight 32-bit words of the SHA-256 working state from the first and second source vectors, together with four 32-bit values from the third source vector, each containing the sum of a message schedule word and the corresponding round constant. The two halves of the working state are supplied in the opposite order to SHA256H. The working state undergoes four rounds of the SHA-256 hash computation in accordance with the SHA-256 standard. The updated second half of the working state is destructively placed in the first source vector.
| 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 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | Rm | 0 | 1 | 0 | 1 | 0 | 0 | Rn | Rd | ||||||||||||
| size | P | ||||||||||||||||||||||||||||||
if !IsFeatureImplemented(FEAT_SHA256) then EndOfDecode(Decode_UNDEF); end; let d : integer{} = UInt(Rd); let n : integer{} = UInt(Rn); let m : integer{} = UInt(Rm);
| <Qd> |
Is the 128-bit name of the SIMD&FP source and destination, encoded in the "Rd" field. |
| <Qn> |
Is the 128-bit name of the second SIMD&FP source register, encoded in the "Rn" field. |
| <Vm> |
Is the name of the third SIMD&FP source register, encoded in the "Rm" field. |
AArch64_CheckFPAdvSIMDEnabled(); let part1 : boolean = FALSE; V{128}(d) = SHA256hash(V{128}(n), V{128}(d), V{128}(m), part1);
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.