jasonmoxham
574f3be308
New asm function mpn_divexact_byff for K8/K10/Core2/penryn/nehalem
2009-05-10 19:35:54 +00:00
jasonmoxham
359fab42b5
New asm functions mpn_rsh1add_n mpn_rsh1sub_n for K8/K10/Core2/penryn/nehalem
2009-05-10 18:46:48 +00:00
jasonmoxham
428e43b40e
New asm functions mpn_addadd_n mpn_addsub_n mpn_subadd_n for K8/K10
2009-05-10 16:25:01 +00:00
jasonmoxham
90d8207a80
New functions mpn_sumdiff for core2/penryn/nehalem , or rather faster to do separate add and sub
2009-05-10 03:39:43 +00:00
jasonmoxham
b07549802a
New asm functions mpn_add_n mpn_sub_n for Core2/penryn/nehalem
2009-05-10 01:26:52 +00:00
jasonmoxham
0c3c909910
New asm functions for mpn_copyi mpn_copyd for k8,k10,core2,penryn,nehalem
2009-05-10 00:20:44 +00:00
wbhart
7a0e036d36
Fixed toom4 and toom7 issues and added k8 tuning code.
2009-05-09 21:12:13 +00:00
wbhart
72f93a085c
Added new toom3 code.
2009-05-09 20:56:34 +00:00
jasonmoxham
3599d92433
converted addmul_2 to yasm
2009-04-14 17:00:30 +00:00
jasonmoxham
b5aef8ffc3
fat bits
2009-04-13 22:15:45 +00:00
jasonmoxham
996bd50496
add divrem_euclidean_qr_1 , divexact_byBm1of to fat structure
2009-04-13 21:42:55 +00:00
jasonmoxham
38072364ee
duplicate x86_64 mul_2.as to overcome fat issues
2009-04-13 20:32:16 +00:00
jasonmoxham
ec89cb8c61
removed divrem_hensel.asm
2009-04-13 20:14:03 +00:00
jasonmoxham
875685f2a1
update gmp-mparam's
2009-04-11 04:03:34 +00:00
jasonmoxham
057df2db7c
add header
2009-04-10 23:07:41 +00:00
jasonmoxham
d2038f6348
new x86_64 addmul_2.asm :note convert to yasm , update netburst gmp-mparam.h
2009-04-10 22:58:42 +00:00
jasonmoxham
87af550e1c
copy more core2 asm function to netburst
2009-04-06 20:59:23 +00:00
jasonmoxham
f70778cb24
copy some core2 asm to netburst
2009-04-06 20:51:21 +00:00
jasonmoxham
6787300718
remove un-needed case in mul_basecase.as for x86_64
2009-04-02 00:25:40 +00:00
jasonmoxham
d6f0373c37
update gmp-mparam for k10,core2,penryn
2009-04-01 22:48:19 +00:00
jasonmoxham
5ecc4581da
nehalem,k8 tune params
2009-04-01 22:13:15 +00:00
jasonmoxham
863fd95eb1
update k10,nehalem,core2,penryn gmp-mparam.h
2009-04-01 13:37:17 +00:00
wbhart
e42709e967
Added toom4 multiplication.
2009-04-01 08:21:03 +00:00
jasonmoxham
8ca3be5bef
merge div-branch into trunk with svn merge -r 1782:1816 ../branches/x86_64-division/ run on my local trunk
2009-03-31 23:56:06 +00:00
jasonmoxham
587bf31b2c
New assembler x86_64 mpn_mul_2
2009-03-31 22:50:46 +00:00
wbhart
32409ddc7d
Removed superfluous instructions from conversion to yasm format in
...
diveby3.
2009-03-29 19:05:14 +00:00
jasonmoxham
2235444edf
x86_64 mpn_subadd_n plus tests,tune
2009-03-29 10:49:51 +00:00
jasonmoxham
5a048dae03
merged x86_64 cpuid branch into trunk with svn merge -r 1755:1779 ../branches/x86_64_cpuid/ run in my local copy of trunk
2009-03-19 19:52:22 +00:00
jasonmoxham
ef025d7676
removed space
2009-03-15 14:27:26 +00:00
jasonmoxham
f2a624baa2
remove crlf from old add/sub_n and remove yasm macros from GLOBAL_FUNC names
2009-03-15 13:29:03 +00:00
jasonmoxham
bcdb64a903
copy add/sub from mpir-0.9/mpn/x86_64/amd/ to mpn/x86_64/core2/ for the nocona with no lahf
2009-03-15 02:22:21 +00:00
jasonmoxham
599f86a919
lahf and nocona hack... aaarrrrgggghhhh
2009-03-15 01:18:54 +00:00
jasonmoxham
9466115888
Atom cpuid update
2009-03-14 00:16:29 +00:00
jasonmoxham
4e092271ed
Nehalem cpuid update
2009-03-13 20:00:56 +00:00
jasonmoxham
ea9ce09036
delete amd copyi.as and copyd.as
2009-03-06 16:01:39 +00:00
jasonmoxham
5cfca1657e
remove crlf from k10 asm files
2009-03-06 15:38:21 +00:00
jasonmoxham
f920a71acf
remove define test for copyi/d
2009-03-06 05:17:31 +00:00
jasonmoxham
a0c2458b0b
added include files
2009-03-06 05:08:36 +00:00
jasonmoxham
799f347514
cant spell
2009-03-06 05:00:44 +00:00
jasonmoxham
77060ac2f6
move amd specific copy back to amd dir , and write new fat fallback copy fn
2009-03-06 04:55:43 +00:00
jasonmoxham
3242063820
removed dos crlf from linux asm files , update configure to recognize GLOBAL_FUNC for HAVE_NATIVE_functions
2009-03-05 17:50:57 +00:00
wbhart
0de1cfd773
Changed alignb #,nop back to align # because it appears to make no
...
difference.
Got rid of relative paths for yasm_mac.inc.
2009-03-05 16:28:17 +00:00
wbhart
2831de1ed4
Jason Moxham's Core 2 assembly code to yasm format.
2009-03-05 15:48:35 +00:00
wbhart
f596e5d3ed
Last of Jason Moxham's K8 assembly code converted to yasm format.
2009-03-04 22:01:05 +00:00
wbhart
47be515d09
More of Jason Moxham's code converted to yasm format.
2009-03-04 21:42:45 +00:00
wbhart
df04ac8e91
More of Jason Moxham's assembly to yasm format.
2009-03-04 21:22:34 +00:00
wbhart
50fca0e0be
More of Jason Moxham's code converted to yasm format.
2009-03-04 20:49:03 +00:00
wbhart
661b1673c9
Conversion of redc_basecase of Jason Moxham to yasm format.
2009-03-04 19:38:45 +00:00
wbhart
5ceb500330
More conversions of Jason Moxham's assembly code to yasm format.
2009-03-04 19:14:38 +00:00
wbhart
4e88ddfc06
More of Jason Moxham's assembly code converted to yasm format.
2009-03-04 18:14:03 +00:00
wbhart
f2fa962ce3
Coverted left and right shift assembly functions of Jason Moxham to yasm
...
format.
2009-03-04 16:22:48 +00:00
wbhart
53fc1663bc
Converted Jason Moxham's K10 code to yasm format.
2009-03-04 15:32:42 +00:00
jasonmoxham
b9fc94a42f
buildtest merge copyi,copyd were missed as I moved them
2009-03-03 22:03:12 +00:00
jasonmoxham
98fb151932
merged buildtest branch into trunk for building outside the src tree , the command I used was svn merge -r 1643:1669 ../branches/buildtest/ in my local copy of trunk
2009-03-03 21:40:13 +00:00
jasonmoxham
c2b39601ec
movq to movd fix for broken old masm on OSX
2009-03-03 18:11:42 +00:00
jasonmoxham
cec19c727c
removed # comments from x86_64 assembler as OSX dont like em
2009-03-03 17:58:40 +00:00
jasonmoxham
a07c4b86c6
update core2 cpu detection for fat
2009-03-02 15:23:14 +00:00
jasonmoxham
c867a0f96c
trunk fat dummy functions redc_basecase,sumdiff_n for x86_64 and x86
2009-03-02 14:28:08 +00:00
jasonmoxham
bc96592570
trunk fat dummy functions mul/sqr basecase for x86_64 , and move amd64 copy asm to x86_64
2009-03-02 14:24:15 +00:00
jasonmoxham
a3a0793c66
update gmp-mparam for linux K8,K10,core2
2009-02-28 00:13:22 +00:00
jasonmoxham
def21c1810
add redc_basecase and sumdiff_n to the fat structure
2009-02-27 17:59:28 +00:00
jasonmoxham
f86e86473b
Copy AMD asm code to core2 and change inc/dec to add/sub
2009-02-23 11:26:08 +00:00
jasonmoxham
deb06ea4ed
merged k8-branch into trunk , autotools , few handbits , windows bits just copyed over
2009-02-19 23:22:30 +00:00
jasonmoxham
b76677c8fc
changed libgmp*.* for a few odd cases left
2009-02-12 12:25:23 +00:00
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