SHA256SU0

SHA256 schedule update 0.

It has encodings from the following instruction sets: A32 ( A1 ) and T32 ( T1 ) .

A1
(FEAT_SHA256)

313029282726252423222120191817161514131211109876543210
111100111D11size10Vd001111M0Vm

Encoding for the A1 variant

SHA256SU0.32 <Qd>, <Qm>

Decode for this encoding

if !IsFeatureImplemented(FEAT_SHA256) then UNDEFINED; if size != '10' then UNDEFINED; if Vd<0> == '1' || Vm<0> == '1' then UNDEFINED; constant d = UInt(D:Vd); constant m = UInt(M:Vm);

T1
(FEAT_SHA256)

15141312111098765432101514131211109876543210
111111111D11size10Vd001111M0Vm

Encoding for the T1 variant

SHA256SU0.32 <Qd>, <Qm>

Decode for this encoding

if InITBlock() then UNPREDICTABLE; if !IsFeatureImplemented(FEAT_SHA256) then UNDEFINED; if size != '10' then UNDEFINED; if Vd<0> == '1' || Vm<0> == '1' then UNDEFINED; constant d = UInt(D:Vd); constant m = UInt(M:Vm);

For more information about the constrained unpredictable behavior of this instruction, see Architectural Constraints on UNPREDICTABLE behaviors.

Assembler Symbols

<Qd>

Is the 128-bit name of the SIMD&FP destination register, encoded in the "D:Vd" field as <Qd>*2.

<Qm>

Is the 128-bit name of the SIMD&FP source register, encoded in the "M:Vm" field as <Qm>*2.

Operation

if ConditionPassed() then bits(128) result; EncodingSpecificOperations(); CheckCryptoEnabled32(); constant x = Q[d>>1]; constant y = Q[m>>1]; constant t = y<31:0> : x<127:32>; for e = 0 to 3 elt = Elem[t, e, 32]; elt = ROR(elt, 7) EOR ROR(elt, 18) EOR LSR(elt, 3); Elem[result, e, 32] = elt + Elem[x, e, 32]; Q[d>>1] = result;

Operational information

If CPSR.DIT is 1:


Internal version only: isa v01_32, pseudocode v2024-12_rel ; Build timestamp: 2024-12-16T10:54

Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.