From 9569115aa8f036052018672e3db73fea3be7977d Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Wed, 4 Sep 2024 13:36:16 +0800 Subject: [PATCH] use VLREPF --- sm3/sm3blocks_s390x.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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