SHA256H2

SHA256 hash update (part 2)

SHA256 hash update (part 2).

Encoding: Advanced SIMD

Variants: FEAT_SHA256 (ARMv8.0)

313029282726252423222120191817161514131211109876543210
01011110000010100
sizeRmPRnRd

SHA256H2 <Qd>, <Qn>, <Vm>.4S

Decoding algorithm

if !IsFeatureImplemented(FEAT_SHA256) then EndOfDecode(Decode_UNDEF);
constant integer d = UInt(Rd);
constant integer n = UInt(Rn);
constant integer m = UInt(Rm);

Operation

AArch64.CheckFPAdvSIMDEnabled();

constant boolean part1 = FALSE;
V[d, 128] = SHA256hash(V[n, 128], V[d, 128], V[m, 128], part1);

Explanations

<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.

Operational Notes

If PSTATE.DIT is 1: