From 335947eb5ac26ee8a7fe74029b9e453115644c87 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Tue, 3 Sep 2024 16:16:56 +0800 Subject: [PATCH] debug 4 --- sm3/sm3blocks_s390x.s | 2 +- sm3/sm3blocks_s390x_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sm3/sm3blocks_s390x.s b/sm3/sm3blocks_s390x.s index e1dbc24..40245a2 100644 --- a/sm3/sm3blocks_s390x.s +++ b/sm3/sm3blocks_s390x.s @@ -43,7 +43,7 @@ TEXT ·transposeMatrix(SB),NOSPLIT,$0 MOVD $mask<>+0x00(SB), R2 VLM (R2), V8, V11 - TRANSPOSE_MATRIX(V0, V2, V4, V6, V8, V9, V10, V11, V12, V13, V14, V15) + // TRANSPOSE_MATRIX(V0, V2, V4, V6, V8, V9, V10, V11, V12, V13, V14, V15) // TRANSPOSE_MATRIX(V1, V3, V5, V7, V8, V9, V10, V11, V12, V13, V14, V15) MOVD (R1), R2 diff --git a/sm3/sm3blocks_s390x_test.go b/sm3/sm3blocks_s390x_test.go index 08a29ff..f785466 100644 --- a/sm3/sm3blocks_s390x_test.go +++ b/sm3/sm3blocks_s390x_test.go @@ -21,6 +21,7 @@ func TestTransposeMatrix(t *testing.T) { input := [4]*[8]uint32{&m[0], &m[1], &m[2], &m[3]} transposeMatrix(&input[0]) fmt.Println() + fmt.Println() for i := 0; i < 4; i++ { for j := 0; j < 8; j++ { m[i][j] = uint32(i*4 + j)