diff options
author | Jack Lloyd <[email protected]> | 2015-12-19 17:54:34 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-19 17:54:34 -0500 |
commit | 99eb2b0d8d675a099eb07e0da1e9df9ddd31dbc9 (patch) | |
tree | fc7d14f08d3857130fe541fc2002bd843f883004 /src/lib | |
parent | a8b20fc90c6f2dc1df9f8533964c72cf29c947e0 (diff) |
Remove unused word8_muladd from MSVC x86-32 asm
GH #363
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/math/mp/mp_x86_32_msvc/mp_asmi.h | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/src/lib/math/mp/mp_x86_32_msvc/mp_asmi.h b/src/lib/math/mp/mp_x86_32_msvc/mp_asmi.h index 1887e57ce..92bf7980d 100644 --- a/src/lib/math/mp/mp_x86_32_msvc/mp_asmi.h +++ b/src/lib/math/mp/mp_x86_32_msvc/mp_asmi.h @@ -279,90 +279,6 @@ inline word word8_linmul2(word x[8], word y, word carry) } } -/* -* Eight Word Block Linear Multiplication -*/ -inline word word8_muladd(word z[8], const word x[8], - word y, word carry) - { - __asm { - mov esi,[x] - mov ebx,[y] - mov edi,[z] - mov eax,[esi] //load a - mul ebx //edx(hi):eax(lo)=a*b - add eax,[carry] //sum lo carry - adc edx,0 //sum hi carry - add eax,[edi] //sum lo z - adc edx,0 //sum hi z - mov ecx,edx //carry for next block = hi z - mov [edi],eax //save lo z - - mov eax,[esi+4] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+4] - adc edx,0 - mov ecx,edx - mov [edi+4],eax - - mov eax,[esi+8] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+8] - adc edx,0 - mov ecx,edx - mov [edi+8],eax - - mov eax,[esi+12] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+12] - adc edx,0 - mov ecx,edx - mov [edi+12],eax - - mov eax,[esi+16] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+16] - adc edx,0 - mov ecx,edx - mov [edi+16],eax - - mov eax,[esi+20] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+20] - adc edx,0 - mov ecx,edx - mov [edi+20],eax - - mov eax,[esi+24] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+24] - adc edx,0 - mov ecx,edx - mov [edi+24],eax - - mov eax,[esi+28] - mul ebx - add eax,ecx - adc edx,0 - add eax,[edi+28] - adc edx,0 - mov [edi+28],eax - mov eax,edx - } - } - inline word word8_linmul3(word z[4], const word x[4], word y, word carry) { __asm { |