gladman
84b1791342
update an orphan Windows assembler that got missed first time round
2009-03-25 15:59:01 +00:00
gladman
60725d8622
1. Update Windows version of getrusage
...
2. Use YASM's new alignment padding feature in the Windows assembler code
2009-03-24 14:40:39 +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
gladman
15c00c6faf
2009-03-14 20:55:58 +00:00
gladman
b4e75f80f0
change Core2 assembler code for mpn_add_n and mpn_sub_n.asm
...
update VC++ build
2009-03-14 20:55:03 +00:00
jasonmoxham
07cbd98824
autotools with ylwrap link
2009-03-14 19:03:25 +00:00
jasonmoxham
9466115888
Atom cpuid update
2009-03-14 00:16:29 +00:00
gladman
3b3751eb5c
Two minor Windows assembler changes plus code formatting to remove tabs and trailing white space
2009-03-13 20:32:09 +00:00
jasonmoxham
4e092271ed
Nehalem cpuid update
2009-03-13 20:00:56 +00:00
gladman
dc64575936
correct copyright notice spelling errors only in Windows assembler (caused by rsi -> rdx substitution)
2009-03-13 10:22:20 +00:00
gladman
45ab37b595
correct 32 to 64 bit sign extension in Windows assembler code
2009-03-09 21:27:31 +00:00
gladman
453422c9b6
1. Tune Windows builds
...
2. Adjust try.c for WIndows
2009-03-08 16:38:38 +00:00
jasonmoxham
c561795862
new configure option --enable-gmplink to install symlinks of gmp->mpir
2009-03-08 02:28:30 +00:00
gladman
1b87a79626
improvement of Windows Core2 assembler
2009-03-07 23:21:26 +00:00
gladman
9c203f06df
correct core2 Windows assembler error
2009-03-07 16:39:50 +00:00
gladman
a3cd666bee
Major tidy up of Windows x86_64 assembler code
2009-03-07 15:00:35 +00:00
gladman
2a60edf9fd
add missing Windows AMD64 assembler file to SVN
2009-03-07 00:04:23 +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
5f148b3c6d
remove old TODO , remove spare yasm_mac.inc link
2009-03-06 15:16:48 +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
gladman
9cdf5f371a
Commit revised windows assembler code
...
Update Windows build projects
2009-03-02 20:03:30 +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
gladman
8677195546
Windows tuning update
2009-02-27 14:51:04 +00:00
gladman
694af0fc34
Major Windows Commit:
...
1. Add tune/speed build capability
2. Add JM's Core2 code
2009-02-27 14:24:25 +00:00
gladman
34ee6223f4
Update windows assembler to remove alignment padding problems
2009-02-26 11:11:27 +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
gladman
3f353d55a8
Bring Windows up to date on new trunk
2009-02-22 21:03:08 +00:00
gladman
ee097ed937
2009-02-20 08:30:38 +00:00
jasonmoxham
43160f61a6
added include longlong to diveby3.c
2009-02-20 00:47:24 +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
jasonmoxham
7b4d8b2be7
reverted to rev 1593
2009-02-10 00:16:08 +00:00
wbhart
9868d016fd
Ran aclocal, automake, autoconf.
2009-02-04 18:19:56 +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
gladman
b8969d6bbc
Update copyright notices in Windows assembler code
2009-01-10 15:15:37 +00:00
martinjw
caef36dc44
Fixed several problems with Moller gcd patches
2008-12-28 19:03:41 +00:00
gladman
c15cef56de
Update some text in Windows x64 assembler files (no code changes).
2008-12-24 08:43:03 +00:00
jasonmoxham
80374d4fb3
result after running aclocal,autoconf,automake,autoheader and rm -r autom4te.cache/
2008-12-24 01:57:34 +00:00
wbhart
cabf5e33d6
Fix for c++ build issue (--tag missing).
2008-12-24 01:21:55 +00:00
gladman
3a1beffda4
add windows assembler include file
...
add missing prototypes in gmp_h.in
2008-11-07 20:27:10 +00:00
martin
f3cec6b5c3
Added a blank line to the README file to test SVN
2008-11-07 01:21:21 +00:00
jasonmartin
4b2966287f
Incorporated Niels Mollers lgpl 2.1 gcd code into trunk
2008-10-11 06:56:15 +00:00
wbhart
fc95fa6f22
Ran tuneup to generate gmp-mparam file for mips64.
2008-09-16 22:48:05 +00:00
wbhart
f5c5d2bf8a
Merged SiCortex patches for MIPS.
2008-09-16 22:46:52 +00:00
wbhart
695cd41f0e
Apply all GMP issued patches for issues with GMP 4.2.1.
2008-09-14 01:54:23 +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
brgladman
02824f69a2
minor VC++ build update
2008-09-09 16:21:02 +00:00
wbhart
93f9776b6f
Ran autoconf and automake.
2008-07-24 21:15: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
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