Commit Graph

2489 Commits

Author SHA1 Message Date
wbhart
4bb078e801 Ran autoconf, aclocal and automake. 2008-06-28 05:23:08 +00:00
wbhart
55131481e9 Remove the -fast compiler option for Sun's Forte C compiler under solaris. It apparently selects invalid optimisations for GMP. 2008-06-28 03:57:55 +00:00
wbhart
e9897a81d0 Fixed some documentation bugs reported by Chris Saunders to the gmp list. 2008-06-28 03:39:27 +00:00
wbhart
5b7daa010a Added Jason's new intel format core2 code. 2008-06-26 09:18:29 +00:00
wbhart
97ef521bd0 On apple gcc v 5465 and above c99 is enforced by -std=gnu99 the same as for gcc 4.3 and above. The problem is, one cannot use either extern inline or extern __inline__ __attribute__ ((__gnu_inline__)) or static inline for the inlined functions in gmp.h. The first can't be used since it isn't c99, the second can't be used since the attribute is not supported by apple's gcc and the third cannot be used since this makes the library functions also static inline which causes duplicates.
The only solution which works for now is to not allow inlined functions in gmp.h. This obviously results in a performance deficit. But better a slow mpir than none at all!!

Ironically the first solution I came up with for the c99 problem was actually more robust than what we have here, but it was terribly inelegant.

This current patch works on Jason's home core2. Who knows if it breaks everything else!
2008-06-26 07:44:38 +00:00
wbhart
82db128a84 Added lines to gmp-h.in to try and fix problem on Apple GCC. 2008-06-26 05:41:28 +00:00
wbhart
2264a9bb9f Reversed changes to gmp-h.in which did not work. 2008-06-26 05:14:26 +00:00
wbhart
02c9b94d23 Yet another attempt to fix c99 inline stuff. 2008-06-26 04:04:26 +00:00
wbhart
5a0f93ef32 A potential fix for building with cc on Core2 x86_64. This fix will not work until the Core 2 assembly patches are converted to intel format. 2008-06-25 22:52:50 +00:00
wbhart
55219c7cf7 Made family 6 model 22 celeron identify as a core 2. 2008-06-25 09:22:59 +00:00
wbhart
738922642c Added support for 64 bit PentiumD and Pentium4 which are canonicalised as i786. 2008-06-25 08:47:57 +00:00
wbhart
11da63a5bb Changed configure.in to set proper tuning flags for core2.
The flags tried are "-mtune=core2" (for gcc-4.3) and
"-mtune=nocona" (for gcc-4.2 and gcc-4.1)
2008-06-25 08:20:04 +00:00
wbhart
5955ae4ac5 Changed directory build order so yasm will build again. 2008-06-25 07:46:15 +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
wbhart
40479614ef Fixed typos in gmp-h.in 2008-06-25 02:25:45 +00:00
wbhart
4154a21952 Attempt to fix c99 inline sematics again. 2008-06-25 02:01:33 +00:00
wbhart
bbbec59e9a Added check-recursive target to yasmbuild Makefile. 2008-06-25 00:10:24 +00:00
wbhart
c228cdce88 Added blank check and install targets to the yasmbuild Makefile so these
targets do not cause make check and make install to appear to fail when 
executed at the top level.
2008-06-24 23:41:35 +00:00
brgladman
a8a4a055af Minor Windows assembler update 2008-06-17 15:49:16 +00:00
wbhart
7caa49bc5d Added make clean to yasmbuild's makefile. 2008-06-16 08:49:18 +00:00
wbhart
02ea4d5ca2 Cleaned the mode1o.as file up slightly. 2008-06-16 08:43:25 +00:00
wbhart
85a141628e Run automake. 2008-06-16 06:53:51 +00:00
wbhart
f756651b5b Try to fix order of directory recursion in make. 2008-06-16 06:51:32 +00:00
wbhart
139fb55308 Attempt to get yasm to build unconditionally and automatically. 2008-06-16 06:44:48 +00:00
wbhart
653126d89a Corrected documentation error for gmp_randinit_mt. 2008-06-16 04:39:47 +00:00
wbhart
35cfe477b3 Change execute permissions back to how they were. 2008-06-15 23:49:46 +00:00
wbhart
cf8a90dd07 Experiment with execute permission. 2008-06-15 23:48:41 +00:00
wbhart
e91ddca68b Turned execute status on. 2008-06-15 23:45:04 +00:00
wbhart
333f9b2aea Added global symbol to symbol. 2008-06-15 22:43:57 +00:00
wbhart
72ca18b215 Converted x86_64.asm to intel format. 2008-06-15 22:32:08 +00:00
wbhart
ce23ff6d04 This file appears to be generated by build process and is not needed. 2008-06-15 22:26:59 +00:00
wbhart
af460e5a33 Fixed bug in global symbol macro in acinclude.m4 2008-06-15 22:25:06 +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
d8ed263188 Added new yasm. 2008-06-15 21:27:00 +00:00
wbhart
8d46428b0e Removing yasm again due to something wrong with update. 2008-06-15 21:24:14 +00:00
wbhart
001d5aaa4f Fixed typo in yasm_mac.inc 2008-06-15 20:30:03 +00:00
wbhart
03876cf15b Added global extern. 2008-06-15 20:26:45 +00:00
wbhart
c65697e5da Added new version of yasm. 2008-06-15 20:20:16 +00:00
wbhart
7073d13446 Temporarily removing yasm to update to newer version. 2008-06-15 20:15:30 +00:00
wbhart
d69e67ec6a Added macro for global symbols. 2008-06-15 19:56:42 +00:00
wbhart
b625940726 Attempt to fix the global symbol prefix on core2. 2008-06-15 19:09:07 +00:00
wbhart
f4ec3d5515 Experimental fix for global symbol prefix for yasm assembly files. 2008-06-15 18:46:08 +00:00
wbhart
f765185c83 Backed out changes to aclocal.m4 and fixed gmp.h to work correctly with c99 inline semantics when mpir is being compiled with gcc 4.3.0 or above. 2008-06-13 13:11:00 +00:00
wbhart
c2c15d3752 Attempt to check for gnu linker on Solaris. 2008-06-13 08:55:53 +00:00
wbhart
e86fc8f1f4 Added missing semicolon, noted by iciti. 2008-06-11 11:34:46 +00:00
wbhart
25348dd548 Fixed the model numbers 22 and 23 which were previously entered as 16
and 17.
2008-06-11 10:10:21 +00:00
wbhart
d03c4039ef Added model numbers 16 and 17 (Celeron and Core2) to config.guess. 2008-06-10 22:22:08 +00:00