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