Add W64 support for mpi amd64 assembly
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Wed, 29 Apr 2015 15:18:07 +0000 (18:18 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Fri, 1 May 2015 16:18:43 +0000 (19:18 +0300)
commit460355f23e770637d29e3af7b998a957a2b5bc88
tree4cb68eb49771b7309a0a2fbec9702ca4ba28e1ff
parent6c21cf5fed1ad430fa41445eac2350802bc8aaed
Add W64 support for mpi amd64 assembly

acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Set
'ac_cv_sys_symbol_underscore=no' on MingW-W64.
mpi/amd64/func_abi.h: New.
mpi/amd64/mpih-add1.S (_gcry_mpih_add_n): Add FUNC_ENTRY and FUNC_EXIT.
mpi/amd64/mpih-lshift.S (_gcry_mpih_lshift): Ditto.
mpi/amd64/mpih-mul1.S (_gcry_mpih_mul_1): Ditto.
mpi/amd64/mpih-mul2.S (_gcry_mpih_addmul_1): Ditto.
mpi/amd64/mpih-mul3.S (_gcry_mpih_submul_1): Ditto.
mpi/amd64/mpih-rshift.S (_gcry_mpih_rshift): Ditto.
mpi/amd64/mpih-sub1.S (_gcry_mpih_sub_n): Ditto.
mpi/config.links [host=x86_64-*mingw*]: Enable assembly modules.
[host=x86_64-*-*]: Append mpi/amd64/func_abi.h to mpi/asm-syntax.h.
--

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
acinclude.m4
mpi/amd64/func_abi.h [new file with mode: 0644]
mpi/amd64/mpih-add1.S
mpi/amd64/mpih-lshift.S
mpi/amd64/mpih-mul1.S
mpi/amd64/mpih-mul2.S
mpi/amd64/mpih-mul3.S
mpi/amd64/mpih-rshift.S
mpi/amd64/mpih-sub1.S
mpi/config.links