From 664f5dcae3fe58fd4872623914d40f14abd57906 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 6 Sep 2024 13:49:01 +0800 Subject: [PATCH] fix LOAD_T --- sm3/sm3blocks_ppc64x.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm3/sm3blocks_ppc64x.s b/sm3/sm3blocks_ppc64x.s index bde2fed..853837b 100644 --- a/sm3/sm3blocks_ppc64x.s +++ b/sm3/sm3blocks_ppc64x.s @@ -101,7 +101,7 @@ GLOBL ·mask(SB), RODATA, $80 #define LOAD_T(index, const, target) \ MOVD $const, R19 \ MTVSRWZ R19, target \ - VSPLTW $3, target, target + VSPLTW $1, target, target #define ROUND_00_11(index, const, a, b, c, d, e, f, g, h) \ PROLD(a, TMP0, 12) \