From d1fdc2c725dd57e123d94db9760782515c377d0a Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 6 Sep 2024 09:42:35 +0800 Subject: [PATCH] sm3: ppc64, test rotatle left shift --- sm3/sm3blocks_ppc64x.s | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sm3/sm3blocks_ppc64x.s b/sm3/sm3blocks_ppc64x.s index ba03820..8323f37 100644 --- a/sm3/sm3blocks_ppc64x.s +++ b/sm3/sm3blocks_ppc64x.s @@ -89,6 +89,9 @@ TEXT ·transposeMatrix(SB),NOSPLIT,$0 TRANSPOSE_MATRIX(V4, V5, V6, V7, V8, V9, V10, V11, V12, V13, V14, V15) MOVD (R0)(R3), R4 + VSPLTW $4, TMP2 + VRLW TMP2, V0, V0 + VRLW TMP2, V4, V4 STXVW4X V0, (R0)(R4) STXVW4X V4, (R6)(R4) MOVD (R5)(R3), R4