From a1a9ee0a7240087e202a7855e470573de0e59c09 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 7 Nov 2019 01:41:26 +0000 Subject: [PATCH] math/: Delete some unnecessary blank lines. --- math/mpmont.c | 1 - math/mpx-mul4-amd64-sse2.S | 23 ----------------------- math/mpx-mul4-x86-sse2.S | 13 ------------- 3 files changed, 37 deletions(-) diff --git a/math/mpmont.c b/math/mpmont.c index cc5ffaf3..2ed1e113 100644 --- a/math/mpmont.c +++ b/math/mpmont.c @@ -543,7 +543,6 @@ static int tmul(dstr *v) mp_drop(mr); } - MP_DROP(m); MP_DROP(a); MP_DROP(b); diff --git a/math/mpx-mul4-amd64-sse2.S b/math/mpx-mul4-amd64-sse2.S index 51e94c58..bd8ff2f9 100644 --- a/math/mpx-mul4-amd64-sse2.S +++ b/math/mpx-mul4-amd64-sse2.S @@ -319,7 +319,6 @@ INTFUNC(carryprop) movdqu [rdi], xmm0 ret - ENDFUNC INTFUNC(dmul4) @@ -357,7 +356,6 @@ INTFUNC(dmul4) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(dmla4) @@ -398,7 +396,6 @@ INTFUNC(dmla4) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(mul4zc) @@ -429,7 +426,6 @@ INTFUNC(mul4zc) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(mul4) @@ -462,7 +458,6 @@ INTFUNC(mul4) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(mla4zc) @@ -498,7 +493,6 @@ INTFUNC(mla4zc) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(mla4) @@ -533,7 +527,6 @@ INTFUNC(mla4) movdqu [rdi], xmm6 ret - ENDFUNC INTFUNC(mmul4) @@ -557,7 +550,6 @@ INTFUNC(mmul4) mulcore xmm4, 0, xmm8, xmm9, xmm12, xmm13, xmm14, xmm15 propout xmm7, lo, xmm12, xmm13 jmp 5f - ENDFUNC INTFUNC(mmla4) @@ -744,7 +736,6 @@ INTFUNC(mont4) // And, with that, we're done. movdqu [rdi], xmm6 ret - ENDFUNC ///-------------------------------------------------------------------------- @@ -783,7 +774,6 @@ FUNC(mpx_umul4_amd64_sse2) endprologue mov DV, rdi - #endif #if ABI_WIN @@ -812,7 +802,6 @@ FUNC(mpx_umul4_amd64_sse2) mov rdi, DV mov BVL, [SP + 224] - #endif // Prepare for the first iteration. @@ -878,7 +867,6 @@ FUNC(mpx_umul4_amd64_sse2) #endif #if ABI_WIN - rstrxmm xmm6, 0 rstrxmm xmm7, 16 rstrxmm xmm8, 32 @@ -893,7 +881,6 @@ FUNC(mpx_umul4_amd64_sse2) stfree 160 + 8 popreg rdi popreg rbx - #endif ret @@ -946,7 +933,6 @@ FUNC(mpxmont_mul4_amd64_sse2) endprologue mov DV, rdi - #endif #if ABI_WIN @@ -980,7 +966,6 @@ FUNC(mpxmont_mul4_amd64_sse2) mov rdi, DV mov N, [SP + 224] mov MI, [SP + 232] - #endif // Establish the expanded operands. @@ -1062,7 +1047,6 @@ FUNC(mpxmont_mul4_amd64_sse2) #endif #if ABI_WIN - rstrxmm xmm6, 0 rstrxmm xmm7, 16 rstrxmm xmm8, 32 @@ -1078,7 +1062,6 @@ FUNC(mpxmont_mul4_amd64_sse2) popreg r12 popreg rdi popreg rbx - #endif ret @@ -1134,7 +1117,6 @@ FUNC(mpxmont_redc4_amd64_sse2) // c rcx r9 #if ABI_SYSV - # define DVL rax # define DVL4 rsi # define MI r8 @@ -1149,11 +1131,9 @@ FUNC(mpxmont_redc4_amd64_sse2) endprologue mov DV, rdi - #endif #if ABI_WIN - # define DVL rax # define DVL4 rdx # define MI r10 @@ -1184,7 +1164,6 @@ FUNC(mpxmont_redc4_amd64_sse2) mov rdi, DV mov MI, [SP + 224] - #endif // Establish the expanded operands and the blocks-of-4 dv limit. @@ -1267,7 +1246,6 @@ FUNC(mpxmont_redc4_amd64_sse2) #endif #if ABI_WIN - rstrxmm xmm6, 0 rstrxmm xmm7, 16 rstrxmm xmm8, 32 @@ -1283,7 +1261,6 @@ FUNC(mpxmont_redc4_amd64_sse2) popreg r12 popreg rdi popreg rbx - #endif ret diff --git a/math/mpx-mul4-x86-sse2.S b/math/mpx-mul4-x86-sse2.S index 0e90541e..2f7b5ec9 100644 --- a/math/mpx-mul4-x86-sse2.S +++ b/math/mpx-mul4-x86-sse2.S @@ -316,7 +316,6 @@ INTFUNC(carryprop) propout [edi + 8], xmm6, nil endprop [edi + 12], xmm6, xmm4 ret - ENDFUNC INTFUNC(dmul4) @@ -348,7 +347,6 @@ INTFUNC(dmul4) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(dmla4) @@ -384,7 +382,6 @@ INTFUNC(dmla4) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(mul4zc) @@ -410,7 +407,6 @@ INTFUNC(mul4zc) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(mul4) @@ -438,7 +434,6 @@ INTFUNC(mul4) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(mla4zc) @@ -470,7 +465,6 @@ INTFUNC(mla4zc) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(mla4) @@ -501,7 +495,6 @@ INTFUNC(mla4) propout [edi + 12], xmm7, xmm4 ret - ENDFUNC INTFUNC(mmul4) @@ -523,7 +516,6 @@ INTFUNC(mmul4) mulcore [eax + 0], ecx, xmm4, xmm5, xmm6, xmm7 propout [edi + 0], xmm4, xmm5 jmp 5f - ENDFUNC INTFUNC(mmla4) @@ -613,7 +605,6 @@ INTFUNC(mmla4) // And, with that, we're done. stfree 48 + 12 ret - ENDFUNC INTFUNC(mont4) @@ -670,7 +661,6 @@ INTFUNC(mont4) // And, with that, we're done. ret - ENDFUNC ///-------------------------------------------------------------------------- @@ -781,7 +771,6 @@ FUNC(mpx_umul4_x86_sse2) pop ebx pop BP ret - ENDFUNC FUNC(mpxmont_mul4_x86_avx) @@ -930,7 +919,6 @@ FUNC(mpxmont_mul4_x86_sse2) popreg ebx popreg BP ret - ENDFUNC FUNC(mpxmont_redc4_x86_avx) @@ -1064,7 +1052,6 @@ FUNC(mpxmont_redc4_x86_sse2) popreg ebx popreg BP ret - ENDFUNC ///-------------------------------------------------------------------------- -- 2.11.0