Commit Graph

1672 Commits

Author SHA1 Message Date
wbhart
abe65e321e Patch to deal properly with 1 nail bits in mpz_set_si test. 2008-07-13 20:13:35 +00:00
jasonmartin
50d0aa3c21 Converted core2call to yasm/Intel syntax 2008-07-12 16:44:48 +00:00
jasonmartin
36e7f3a492 Changed core2 Assembly code to LGPL license and made some cosemtic changes 2008-07-08 17:30:09 +00:00
dmharvey
2f78a56782 rewording (trac #78) 2008-07-08 02:48:54 +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
jasonmartin
c5b9104dbc Added GLOBAL_FUNC assembly macro 2008-07-08 00:01:55 +00:00
dmharvey
426559ff6e remove some auto-generated files from yasm tree -- see #52 2008-07-06 22:58:23 +00:00
dmharvey
1db0bd7ce9 documentation changes (see #79) 2008-07-06 22:34:41 +00:00
wbhart
45db003f7e Fixed some of the documentation issues noted by David Harvey. 2008-07-06 01:31:28 +00:00
wbhart
58ad9cae06 Fixed distclean to also clean the yasm tree. 2008-07-06 01:01:02 +00:00
wbhart
a20daf6a7a Added blank distclean so make distclean works. 2008-07-05 09:56:17 +00:00
wbhart
9e9cc10cec Tuning for pentium4, prescott and nocona. 2008-07-05 03:15:41 +00:00
wbhart
bab924daa3 Corrected error in config.guess. 2008-07-05 00:54:09 +00:00
wbhart
3a9f0727e5 Dos to unix line endings. 2008-07-05 00:29:18 +00:00
wbhart
d04b978dc5 Distinguish pentium4, prescott and nocona. 2008-07-05 00:21:35 +00:00
wbhart
4495b28dea Put execute flag on install-sh. 2008-07-04 13:24:29 +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
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