From eb2be5cf6895c51aefa9d07bab95e1ccef3a92b7 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Fri, 10 Oct 2025 10:48:25 +0800 Subject: [PATCH] loong64: check LSX & LASX support --- internal/sm2ec/sm2p256_asm_loong64_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/sm2ec/sm2p256_asm_loong64_test.go b/internal/sm2ec/sm2p256_asm_loong64_test.go index 35ed2e0..f423a74 100644 --- a/internal/sm2ec/sm2p256_asm_loong64_test.go +++ b/internal/sm2ec/sm2p256_asm_loong64_test.go @@ -5,6 +5,7 @@ package sm2ec import ( "bytes" "encoding/binary" + "fmt" "reflect" "testing" ) @@ -78,6 +79,7 @@ func newPoint(x, y, z uint64) *SM2P256Point1 { } func TestP256MovCond(t *testing.T) { + fmt.Printf("supportLSX=%v, supportLASX=%v\n", supportLSX, supportLASX) a := newPoint(10, 20, 30) b := newPoint(100, 200, 300) var res SM2P256Point1