Commit Graph

662 Commits

Author SHA1 Message Date
brgladman
9c467c6415 2008-07-04 10:39:15 +00:00
wbhart
c6b1b8daaf Converted vanilla GMP 4.2.1 add_n, sub_n, addmul_1 and submul_1 code to intel syntax. 2008-07-04 02:39:50 +00:00
wbhart
c34dd543f3 These files were moved in error, so I'm moving them back. See the comment in trac #59. 2008-07-04 01:43:48 +00:00
wbhart
293149f103 Moved intel format versions of add_n.as and sub_n.as to the /mpn/x86_64/amd64 directory to make way for intel format versions of original add_n.as and sub_n.as files from GMP 4.2.1. 2008-07-04 01:36:11 +00:00
wbhart
37fed3e88f Removed addmul_1 and submul_1 from amd64 directory and added them to the generic x86_64 directory. 2008-07-04 00:00:14 +00:00
wbhart
5ffa74eb94 Added PIC code for add_n and sub_n and did a basic cleanup of the files. 2008-07-03 23:45:41 +00:00
wbhart
4bb078e801 Ran autoconf, aclocal and automake. 2008-06-28 05:23:08 +00:00
wbhart
5b7daa010a Added Jason's new intel format core2 code. 2008-06-26 09:18:29 +00:00
wbhart
c7caca6d56 Set native line endings for all .c, .h, as, .asm, .s, .in, .m4, .cc, am 2008-06-25 07:33:36 +00:00
wbhart
0e296b1cf4 Fixed yasm so that it only builds on x86, not by default. 2008-06-25 07:10:51 +00:00
brgladman
a8a4a055af Minor Windows assembler update 2008-06-17 15:49:16 +00:00
wbhart
02ea4d5ca2 Cleaned the mode1o.as file up slightly. 2008-06-16 08:43:25 +00:00
wbhart
333f9b2aea Added global symbol to symbol. 2008-06-15 22:43:57 +00:00
wbhart
567c99e72d Fixed another typo in add_n.as. 2008-06-15 22:19:55 +00:00
wbhart
85129225ea Fixed type on add_n.as 2008-06-15 22:11:18 +00:00
wbhart
5edb799fbf Put macros instances in all yasm assembly files for global symbol
prefixes.
2008-06-15 22:00:33 +00:00
wbhart
d69e67ec6a Added macro for global symbols. 2008-06-15 19:56:42 +00:00
wbhart
f4ec3d5515 Experimental fix for global symbol prefix for yasm assembly files. 2008-06-15 18:46:08 +00:00
wbhart
f64fd9f77a Removed some lines which were saving and restoring rsi unnecessarily. 2008-06-04 11:45:01 +00:00
wbhart
425fd3101d These are the old versions of addmul and submul written by Brian
Gladman.
2008-06-04 04:04:49 +00:00
wbhart
cfa4948e4a Fixed the speed issues with a static library vs Pierrick Gaudry's
patches.
2008-06-04 03:47:49 +00:00
wbhart
dfccae5fdb Sped up add and sub when the loop unrolling code is used. 2008-06-02 23:08:59 +00:00
wbhart
c0ac719bab This file should be deleted. 2008-06-02 12:19:03 +00:00
wbhart
f0d348d3e1 Fixed bug in gcc calling conventions. 2008-06-02 11:59:50 +00:00
wbhart
423b394625 Slight speedup by getting alignment right. 2008-06-01 06:36:56 +00:00
wbhart
6045989170 Move calling conventions for core2 into right directory. 2008-05-30 09:27:42 +00:00
wbhart
6873c97263 Get rid of transitioned. 2008-05-30 06:37:17 +00:00
wbhart
c3f198a8da GPL Version 2 files. 2008-05-30 05:48:02 +00:00
wbhart
9541395dae Unfortunately Yasm doesn't seem to export global symbols properly on Darwin. 2008-05-30 05:23:25 +00:00
wbhart
4d461e6a94 Unfortunately Yasm doesn't accept ..gotpcrel in Macho64 object format, which is needed on Darwin on core2. 2008-05-30 05:11:37 +00:00
wbhart
8ad9ff3d76 Set the object file correctly. 2008-05-30 04:39:25 +00:00
wbhart
b3b5e441a0 Rerun aclocal, autoconf, automake. 2008-05-30 04:03:22 +00:00
wbhart
966a35ba06 Attempt to get the object formats correct. 2008-05-30 04:01:04 +00:00
wbhart
3d1eae9e41 Delete files not part of Jason Martin's patches. 2008-05-30 01:50:02 +00:00
wbhart
961b19487f Run automake and autoconf. 2008-05-30 01:34:39 +00:00
wbhart
0a1550b722 Explicitly give the output library name so libtool doesn't get confused. 2008-05-30 01:00:28 +00:00
wbhart
ed4bc3e66b Fix for libtool to make the required files. 2008-05-30 00:09:28 +00:00
wbhart
c14b1c9626 Missed one file in the rename. 2008-05-30 00:08:57 +00:00
wbhart
ecff967e32 Run automake and autoconf to propagate changes. 2008-05-29 23:56:41 +00:00
wbhart
60610b3b8b Attempt to fix assembler file names. 2008-05-29 23:55:41 +00:00
wbhart
0079b78815 Rearrange files so build can occur on core2. 2008-05-28 00:54:17 +00:00
wbhart
593e9f9ca0 Added some comments about the high value of UNROLL_COUNT used. 2008-05-27 22:37:26 +00:00
wbhart
bbd3b3028f Raised the UNROLL_COUNT so that tuneup will not segfault when it uses
values that cause a jump outside of the UNROLL_LOOP.
2008-05-27 22:33:43 +00:00
wbhart
a957663ccc Made non-PIC code more efficient with lea. 2008-05-27 20:11:54 +00:00
wbhart
e47a78c287 Fixed the code to not use addressing via the GOT when PIC is not needed. 2008-05-27 19:18:00 +00:00
brgladman
3ea0d1f0fc Update x64 assembler to use prologue/epilogue macros
Change _SEH_ define to _WIN64_ABI
2008-05-27 09:14:56 +00:00
wbhart
cd0d57ae48 Changed names so make check can work. 2008-05-27 03:11:47 +00:00
wbhart
2e7144aa1b Added execute privileges to m4-ccas. 2008-05-27 03:10:10 +00:00
wbhart
c1c70f040e Run automake to propagate changes. 2008-05-27 02:54:55 +00:00
wbhart
3ff64d3d03 Fixed a tab that had got converted to spaces. 2008-05-27 02:52:15 +00:00
wbhart
dd19683c98 First attempt at making make check work.
Fixed execute permissions on some files.

Removed some files from yasm that are regenerated by the build 
procedure.
2008-05-27 02:28:44 +00:00
wbhart
d842042973 The gmp-mparam.h files seemed to be different between my two sets of files. These ones make the segfault go away in the flint test. 2008-05-27 02:11:08 +00:00
wbhart
46d20c584d Fixed some problems preventing it from building. 2008-05-26 22:53:25 +00:00
wbhart
075a98ed18 Ran autoconf, automake and aclocal to update all the autohell files. 2008-05-26 22:20:33 +00:00
wbhart
c0e157e3b2 Roughly speaking mpir should now build on an AMD64. At the present moment the config.guess doesn't distinguish a Core 2 from an AMD64 and so the same code is probably built on both.
One must build yasm (included in the yasm directory) before building GMP, if building on an x86_64 machine.

Note: make test and make tune do not currently build.
2008-05-26 22:11:40 +00:00
brgladman
e64e1a30f7 AMD64 assembler code tweak 2008-05-20 14:53:08 +00:00
brgladman
9b903fae33 Improve AMD64 sgr_basecase
Add warning about sqr_basecase Karatsuba limit
2008-05-20 12:39:43 +00:00
brgladman
f6ef7209a4 Apply GMP 4.2.1 patches to MPIR 2008-05-19 16:03:48 +00:00
brgladman
48248cda46 1. longlong.h change to add MSVC intrinsics
2. longlong.h rearrangement for Intel compiler
3. MSVC additions in test  code 
4. GMP 4.2.1 bug fixes
5. Intel format assembly code
2008-05-18 22:20:43 +00:00
wbhart
f628237738 Added all the assembly code back for all supported architectures. 2008-04-27 19:55:56 +00:00
wbhart
a369ff49df Added ARM assembly support back in. 2008-04-18 17:20:42 +00:00
wbhart
a197a2d3eb Basic GMP files with a new core2 directory and amd_64 directory with Martin's and Gaudry's patches.
Removed directories for no longer supported architectures.
2008-04-17 21:03:07 +00:00