diff --git a/internal/sm2ec/p256_common_amd64.s b/internal/sm2ec/p256_common_amd64.s index a0e9868..7de66dd 100644 --- a/internal/sm2ec/p256_common_amd64.s +++ b/internal/sm2ec/p256_common_amd64.s @@ -938,7 +938,7 @@ TEXT ·p256OrdMul(SB),NOSPLIT,$0 ADCQ acc0, acc4 ADCQ $0, acc5 - XORQ acc0, acc0 + XORQ acc0, acc0 // It seems this line is optional. // x * y[1] MOVQ (8*1)(y_ptr), t0 @@ -1002,7 +1002,7 @@ TEXT ·p256OrdMul(SB),NOSPLIT,$0 ADCQ acc1, acc5 ADCQ $0, acc0 - XORQ acc1, acc1 + XORQ acc1, acc1 // It seems this line is optional. // x * y[2] MOVQ (8*2)(y_ptr), t0 @@ -1066,7 +1066,7 @@ TEXT ·p256OrdMul(SB),NOSPLIT,$0 ADCQ acc2, acc0 ADCQ $0, acc1 - XORQ acc2, acc2 + XORQ acc2, acc2 // It seems this line is optional. // x * y[3] MOVQ (8*3)(y_ptr), t0 @@ -1174,7 +1174,7 @@ ordMulBMI2: ADCXQ res_ptr, BX ADOXQ BX, acc4 ADOXQ res_ptr, acc5 - XORQ acc0, acc0 + XORQ acc0, acc0 // It seems this line is optional. // x * y[1] MOVQ (8*1)(y_ptr), DX @@ -1219,7 +1219,7 @@ ordMulBMI2: ADCXQ res_ptr, BX ADOXQ BX, acc5 ADOXQ res_ptr, acc0 - XORQ acc1, acc1 + XORQ acc1, acc1 // It seems this line is optional. // x * y[2] MOVQ (8*2)(y_ptr), DX @@ -1264,7 +1264,7 @@ ordMulBMI2: ADCXQ res_ptr, BX ADOXQ BX, acc0 ADOXQ res_ptr, acc1 - XORQ acc2, acc2 + XORQ acc2, acc2 // It seems this line is optional. // x * y[3] MOVQ (8*3)(y_ptr), DX diff --git a/sm9/bn256/gfp_cmn_amd64.s b/sm9/bn256/gfp_cmn_amd64.s index a961542..215d846 100644 --- a/sm9/bn256/gfp_cmn_amd64.s +++ b/sm9/bn256/gfp_cmn_amd64.s @@ -162,7 +162,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0-24 ADCXQ res_ptr, BX ADOXQ BX, acc4 ADOXQ res_ptr, acc5 - XORQ acc0, acc0 + XORQ acc0, acc0 // It seems this line is optional. // x * y[1] MOVQ (8*1)(y_ptr), DX @@ -207,7 +207,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0-24 ADCXQ res_ptr, BX ADOXQ BX, acc5 ADOXQ res_ptr, acc0 - XORQ acc1, acc1 + XORQ acc1, acc1 // It seems this line is optional. // x * y[2] MOVQ (8*2)(y_ptr), DX @@ -252,7 +252,7 @@ TEXT ·gfpMul(SB),NOSPLIT,$0-24 ADCXQ res_ptr, BX ADOXQ BX, acc0 ADOXQ res_ptr, acc1 - XORQ acc2, acc2 + XORQ acc2, acc2 // It seems this line is optional. // x * y[3] MOVQ (8*3)(y_ptr), DX @@ -365,7 +365,7 @@ noAdxMul: ADCQ DX, acc4 ADCQ $0, acc5 - XORQ acc0, acc0 + XORQ acc0, acc0 // It seems this line is optional. // x * y[1] MOVQ (8*1)(y_ptr), t0 @@ -433,7 +433,7 @@ noAdxMul: ADCQ DX, acc5 ADCQ $0, acc0 - XORQ acc1, acc1 + XORQ acc1, acc1 // It seems this line is optional. // x * y[2] MOVQ (8*2)(y_ptr), t0 @@ -501,7 +501,7 @@ noAdxMul: ADCQ DX, acc0 ADCQ $0, acc1 - XORQ acc2, acc2 + XORQ acc2, acc2 // It seems this line is optional. // x * y[3] MOVQ (8*3)(y_ptr), t0