internal/sm2ec: loong64 v5

This commit is contained in:
Sun Yimin 2025-10-15 13:54:24 +08:00 committed by GitHub
parent 74f5c26065
commit 593c640f05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1376,9 +1376,9 @@ loop_select:
/* ---------------------------------------*/
// func p256SelectAffine(res *p256AffinePoint, table *p256AffineTable, idx int)
TEXT ·p256SelectAffine(SB),NOSPLIT,$0
MOVD idx+16(FP), t0
MOVD table+8(FP), t1
MOVD res+0(FP), res_ptr
MOVV idx+16(FP), t0
MOVV table+8(FP), t1
MOVV res+0(FP), res_ptr
XOR x0, x0, x0
XOR x1, x1, x1