diff --git a/sm3/sm3blocks_s390x.s b/sm3/sm3blocks_s390x.s index ad929b3..04cc7a7 100644 --- a/sm3/sm3blocks_s390x.s +++ b/sm3/sm3blocks_s390x.s @@ -130,7 +130,7 @@ GLOBL mask<>(SB), 8, $64 MESSAGE_SCHEDULE(index) \ // V11 is Wt+4 now, Pls do not use it PROLD(a, TMP0, 12) \ VLR TMP0, TMP1 \ - VREPIF $const, TMP2 \ + VLREPF (index*4)(R3), TMP2 \ VAF TMP2, TMP0, TMP0 \ VAF e, TMP0, TMP0 \ PROLD(TMP0, TMP2, 7) \ // TMP2 = SS1