From 4b0d5a75b7cbea303beea0b18a350606cfb3cebc Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Wed, 15 Oct 2025 13:40:03 +0800 Subject: [PATCH] internal/sm2ec: loong64 v2 --- internal/sm2ec/p256_asm_loong64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sm2ec/p256_asm_loong64.s b/internal/sm2ec/p256_asm_loong64.s index c186191..4e5d559 100644 --- a/internal/sm2ec/p256_asm_loong64.s +++ b/internal/sm2ec/p256_asm_loong64.s @@ -1935,7 +1935,7 @@ TEXT ·p256Add(SB),NOSPLIT,$0 #define p256DivideBy2 \ MOVV $1, acc1; \ AND t1, y0, t0; \ - MASKEQZ t0, acc1, acc1 + MASKEQZ t0, acc1, acc1; \ MASKEQZ t0, const0, acc2; \ MASKEQZ t0, const1, acc3; \ SGTU acc1, y0, t1; \