From 6e8a3cc832d85900b82cb427a7ae162fb15d0344 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 6 Sep 2024 09:46:07 +0800 Subject: [PATCH] sm3: ppc64x, try rotate shift left --- sm3/sm3blocks_ppc64x.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sm3/sm3blocks_ppc64x.s b/sm3/sm3blocks_ppc64x.s index b87ce6c..99c37d9 100644 --- a/sm3/sm3blocks_ppc64x.s +++ b/sm3/sm3blocks_ppc64x.s @@ -90,8 +90,8 @@ TEXT ·transposeMatrix(SB),NOSPLIT,$0 MOVD (R0)(R3), R4 VSPLTISW $4, TMP2 - VRLW TMP2, V0, V0 - VRLW TMP2, V4, V4 + VRLW V0, TMP2, V0 + VRLW V4, TMP2, V4 STXVW4X V0, (R0)(R4) STXVW4X V4, (R6)(R4) MOVD (R5)(R3), R4