Commit Graph

2253 Commits

Author SHA1 Message Date
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
00bb708279 Changed version numbers back to 4.2.1 in gmp-h.in. 2008-07-03 19:09:04 +00:00
wbhart
73a5437fe6 A few minor corrections to the documenation. 2008-07-03 19:06:13 +00:00
dmharvey
92134fdea6 create separate trunk and branches directories 2008-07-02 12:13:41 +00:00
wbhart
573f19419a Did a fairly careful search and replace of GMP, GNU MP and swox for the relevant MPIR related alternatives. 2008-06-29 00:51:34 +00:00
wbhart
2e0c10aaa0 Edited version numbers and copyright info for mpir. 2008-06-28 23:37:27 +00:00
wbhart
ca79228878 Added core2, x86_64 as supported build targets and core2 as a supported CPU.
Changed Slowaris to Solaris.

Added some information about the MSVC project files.

Corrected a typo.

Remove the word "unsupported" in the infomation about the macos port.

Changed a handful of GMP's to MPIR's and added my name to the list of author's.

Changed the copyright to mention that MPIR started with GMP v.4.2.1 which was copyright FSF, blah, blah, blah.
2008-06-28 22:47:41 +00:00
wbhart
0ba124fdea Rebuilt gmp.info files. 2008-06-28 21:41:21 +00:00
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