loong64: check LSX & LASX support

This commit is contained in:
Sun Yimin 2025-10-10 10:48:25 +08:00 committed by GitHub
parent 9a3357cf0b
commit eb2be5cf68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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