jasonmoxham
a6ab0a96b3
changed gmp.h to mpir.h for a few odd cases left
2009-02-12 11:23:26 +00:00
jasonmoxham
e554550755
for file in $(find -name \*.c ) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
...
for file in $(find -name \*.h ) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
for file in $(find -name \*.cc) ; do sed -e "s/#include \"gmp\.h\"/#include \"mpir.h\"/g" $file > temp ; mv temp $file ; done
2009-02-12 10:24:24 +00:00
wbhart
01864037af
Made fat binaries work for x86_64.
2009-01-29 06:05:21 +00:00
wbhart
057a0ff49a
Fixed cpuid.
2009-01-19 00:07:32 +00:00
wbhart
7987ca92e9
Rewrote fat.c to work with x86_64 processors. Made fat_entry.asm
...
assemble, though it segfaults. Added some missing definitions to
x86_64-defs.m4.
2009-01-18 23:21:54 +00:00
wbhart
874114431a
Change extra_functions to extra_functions_64 for 64 bit fat build.
2009-01-18 21:57:53 +00:00
wbhart
44af910cc5
Made /mpn/x86_64/fat/gmp-mparam.h 64 bit instead of 32 bit.
2009-01-18 19:52:40 +00:00
wbhart
1ed72b1360
Made changes to allow a fat build on x86_64.
2009-01-18 15:15:25 +00:00
wbhart
a1358c38c1
Added gmp-mparam.h parameters for Core2.
2008-09-13 09:24:07 +00:00
wbhart
b0156e48af
Updated gmp_mparam.h for x86_64/amd64
2008-09-11 23:50:19 +00:00
wbhart
79aacf7209
Updated license information for many files.
2008-07-24 21:14:10 +00:00
wbhart
ff9c54b014
Second attempt to fix label problem.
2008-07-23 20:51:12 +00:00
wbhart
641be71d9a
Fixes duplicate label in sqr_basecase.as
2008-07-23 20:47:00 +00:00
wbhart
7c9a732b9f
Corrected incorrect usage of G_EXTERN macro.
2008-07-23 20:32:51 +00:00
wbhart
16fb8c4b62
Added comments to all the files /mpn/x86_64/*.as
2008-07-23 19:31:28 +00:00
wbhart
db80889121
Cleaned up /mpn/x86_64/amd64/*.as files.
2008-07-23 18:37:20 +00:00
wbhart
0aef59b37d
Cleaned up /mpn/x86_64/*.as
2008-07-23 17:59:51 +00:00
wbhart
5eb957b6b9
Removed the .asm files which are no longer needed.
2008-07-23 17:25:58 +00:00
wbhart
bbae545ba5
Removed these .brg files which are no longer needed.
2008-07-23 17:11:29 +00:00
wbhart
8a07cb7512
Remove the .brg files which are not needed.
2008-07-13 21:58:42 +00:00
wbhart
91411ced7b
Added a comment about the failure this file induces in make check.
2008-07-13 21:57:29 +00:00
jasonmartin
36e7f3a492
Changed core2 Assembly code to LGPL license and made some cosemtic changes
2008-07-08 17:30:09 +00:00
jasonmartin
782024b790
Adding file submul_1.as in core2 assembly code
2008-07-08 00:04:33 +00:00
jasonmartin
dcc72cca7e
Adding file addmul_1.as in core2 assembly code
2008-07-08 00:04:04 +00:00
jasonmartin
2ccfc4c425
Adding file sub_n.as in core2 assembly code
2008-07-08 00:03:34 +00:00
jasonmartin
2b76317201
Adding file add_n.as in core2 assembly code
2008-07-08 00:03:01 +00:00
wbhart
11e7d1c3c9
Reverted core2 patches since they need some more work before merging.
2008-07-04 12:14:34 +00:00
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
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
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
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
3d1eae9e41
Delete files not part of Jason Martin's patches.
2008-05-30 01:50:02 +00:00
wbhart
c14b1c9626
Missed one file in the rename.
2008-05-30 00:08:57 +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
wbhart
cd0d57ae48
Changed names so make check can work.
2008-05-27 03:11:47 +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
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
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