Windows 11/64bit native Visual C/C++ builds with assembly
Torbjörn Granlund
tg at gmplib.org
Tue Jun 30 09:27:11 CEST 2026
<ingo.kubbilun at gmail.com> writes:
I have established a new github repo
(https://github.com/developer-corner/win64-gmp-mpfr) for the libgmp (and
libmpfr) to perform native Windows builds of the libraries using MS Visual
C/C++ 2026.
The System V AMD64 ABI was fully converted to the MS AMD64 ABI for all
assembler sources of libgmp. The contribution comes as a folder 'win64',
which has to be injected into the standard library source tree.
The MS AMD64 ABI is already supported by most of the asm files in tyhe
main GMP repos. If there are some problems with it, that should be
addressed.
Selecting CPU specific asm code is critically important for speed. The
top-level code will typically perform quite poorly on current CPUs.
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-devel
mailing list