Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bit more of: | Kevin Ryde | 2003-11-06 | 1 | -2/+2 |
| | | | | | | * gmp-impl.h (HAVE_HOST_CPU_alpha_CIX): New define. (ULONG_PARITY, popc_limb): Use it, to pick up ev7 as well as 67 and 68. * longlong.h (count_leading_zeros, count_trailing_zeros): Ditto. | ||||
* | * gmp-impl.h (HAVE_HOST_CPU_alpha_CIX): New define. | Kevin Ryde | 2003-11-06 | 1 | -2/+2 |
| | | | | | (ULONG_PARITY, popc_limb): Use it, to pick up ev7 as well as 67 and 68. * longlong.h (count_leading_zeros, count_trailing_zeros): Ditto. | ||||
* | (AMD64): __x86_64__ => __amd64__. | tege | 2003-10-19 | 1 | -1/+3 |
| | | | | (64-bit powerpc): Only define carry-dependent macros if !_LONG_LONG_LIMB. | ||||
* | Amend comments associated with: | Kevin Ryde | 2003-08-19 | 1 | -4/+3 |
| | | | | | * longlong.h (count_trailing_zeros) [x86_64]: Use "%q0" to force 64-bit register destination. Pointed out by Torbjorn. | ||||
* | * longlong.h (add_ssaaaa, sub_ddmmss) [hppa 64]: Move down into main | Kevin Ryde | 2003-08-19 | 1 | -13/+14 |
| | | | | | __GNUC__ block. Exclude for _LONG_LONG_LIMB (ie. ABI=2.0n) since these forms are only for ABI=2.0w. | ||||
* | * longlong.h (count_leading_zeros) [__mcpu32__]: Check __mcpu32__ to | Kevin Ryde | 2003-08-19 | 1 | -3/+6 |
| | | | | avoid bfffo on GCC 3.4 in CPU32 mode. Reported by Bernardo Innocenti. | ||||
* | * longlong.h (count_trailing_zeros) [x86_64]: Use "%q0" to force | Kevin Ryde | 2003-08-19 | 1 | -3/+1 |
| | | | | 64-bit register destination. Pointed out by Torbjorn. | ||||
* | * longlong.h (COUNT_LEADING_ZEROS_NEED_CLZ_TAB) [x86 fat]: Define. | Kevin Ryde | 2003-08-02 | 1 | -0/+5 |
| | |||||
* | * longlong.h (count_trailing_zeros) [x86_64]: Ensure bsfq destination | Kevin Ryde | 2003-07-31 | 1 | -1/+7 |
| | | | | is a 64-bit register. Diagnosed by Francois G. Dorais. | ||||
* | [ppc]: Remove nested test for vxworks. | tege | 2003-07-31 | 1 | -1/+1 |
| | |||||
* | Tabify. | tege | 2003-06-09 | 1 | -30/+30 |
| | |||||
* | * longlong.h (add_ssaaaa) [pa64]: Output zero operand as register 0. | tege | 2003-06-05 | 1 | -8/+8 |
| | | | | | | | Allow more immediate operands. (sub_ddmmss) [pa64]: Likewise. (add_ssaaaa) [pa32]: Likewise. (sub_ddmmss) [pa32]: Likewise. | ||||
* | * longlong.h (add_ssaaaa) [all]: Remove first "%" commutative in each, | Kevin Ryde | 2003-04-24 | 1 | -22/+40 |
| | | | | since gcc only supports one per asm. | ||||
* | (__udiv_qrnnd_c): Remove redundant casts. | tege | 2003-03-17 | 1 | -4/+5 |
| | | | | | (32-bit sparc): Test HAVE_HOST_CPU_supersparc in addition to various sparc_v8 spellings. | ||||
* | * longlong.h (count_trailing_zeros) [ia64]: New macro. | Kevin Ryde | 2002-12-22 | 1 | -0/+9 |
| | |||||
* | (mpn_udiv_qrnnd_r based udiv_qrnnd): Fix typo. | tege | 2002-12-04 | 1 | -1/+1 |
| | |||||
* | * longlong.h (count_leading_zeros, count_trailing_zeros) [ev67, ev68]: | Kevin Ryde | 2002-12-02 | 1 | -1/+1 |
| | | | | Restrict __asm__ ctlz and cttz to __GNUC__. | ||||
* | More of last change. | tege | 2002-11-30 | 1 | -1/+1 |
| | |||||
* | (umul_ppmm) [ia64]: Form both product parts in asm. | tege | 2002-11-30 | 1 | -7/+6 |
| | |||||
* | * longlong.h: Test __x86_64__ not __x86_64. Reported by Andreas | Kevin Ryde | 2002-11-02 | 1 | -1/+1 |
| | | | | Jaeger. | ||||
* | * longlong.h (count_leading_zeros, count_trailing_zeros) [x86_64]: | Kevin Ryde | 2002-10-18 | 1 | -3/+3 |
| | | | | Should be UDItype. | ||||
* | Less of: | Kevin Ryde | 2002-09-07 | 1 | -9/+0 |
| | | | | | | | | * longlong.h: Define COUNT_LEADING_ZEROS_NEED_CLZ_TAB for all alphas, since mpn/alpha/cntlz.asm always goes into libgmp.so, even for ev67 and ev68 which don't need it. Oops, didn't mean to check in that ia64 bit. | ||||
* | * longlong.h: Define COUNT_LEADING_ZEROS_NEED_CLZ_TAB for all alphas, | Kevin Ryde | 2002-09-07 | 1 | -1/+12 |
| | | | | | since mpn/alpha/cntlz.asm always goes into libgmp.so, even for ev67 and ev68 which don't need it. | ||||
* | * longlong.h (count_trailing_zeros) [ia64 __GNUC__]: Don't use | Kevin Ryde | 2002-07-27 | 1 | -5/+0 |
| | | | | __builtin_ffs for now, doesn't seem to work. | ||||
* | Correction to: | Kevin Ryde | 2002-07-23 | 1 | -2/+2 |
| | | | | (count_trailing_zeros) [ia64 __GNUC__]: Use __builtin_ffs. | ||||
* | (count_trailing_zeros) [ia64 __GNUC__]: Use __builtin_ffs. | Kevin Ryde | 2002-07-10 | 1 | -0/+5 |
| | |||||
* | * longlong.h (count_leading_zeros) [pentiummmx]: Don't use __clz_tab | Kevin Ryde | 2002-07-10 | 1 | -36/+32 |
| | | | | variant under LONGLONG_STANDALONE. | ||||
* | * mpn/pa64/umul.asm, mpn/pa64/udiv.asm, mpn/asm-defs.m4, acconfig.h, | Kevin Ryde | 2002-07-01 | 1 | -34/+46 |
| | | | | | | | longlong.h, tune/speed.c, tune/speed.h, tune/common.c, tune/many.pl, tests/devel/try.c: Introduce mpn_umul_ppmm_r and mpn_udiv_qrnnd_r rather than having variant parameter order for mpn_umul_ppmm and mpn_udiv_qrnnd on pa64. | ||||
* | * longlong.h (udiv_qrnnd) [hppa32]: Remove mpn_udiv_qrnnd version, the | Kevin Ryde | 2002-06-29 | 1 | -9/+1 |
| | | | | general mechanism for that suffices. | ||||
* | From Jakub Jelinek: | tege | 2002-05-21 | 1 | -9/+9 |
| | | | | (add_ssaaaa,sub_ddmmss) [64-bit sparc]: Make it actually work. | ||||
* | * longlong.h (count_trailing_zeros) [vax]: Add a version using ffs, | Kevin Ryde | 2002-03-19 | 1 | -0/+10 |
| | | | | but commented out. | ||||
* | * longlong.h (count_leading_zeros) [pentiumpro gcc<3]: Test | Kevin Ryde | 2002-03-16 | 1 | -2/+5 |
| | | | | HAVE_HOST_CPU_i686 too. | ||||
* | * longlong.h (count_leading_zeros, count_trailing_zeros) [x86_64]: New | Kevin Ryde | 2002-03-09 | 1 | -0/+12 |
| | | | | macros. | ||||
* | (count_leading_zeros) [sparclite]: Fix parameter order (as per gcc | Kevin Ryde | 2002-03-05 | 1 | -1/+1 |
| | | | | longlong.h). | ||||
* | * longlong.h (count_leading_zeros, count_trailing_zeros) [alphaev67, | Kevin Ryde | 2002-03-05 | 1 | -0/+9 |
| | | | | alphaev68]: Use ctlz and cttz insns (as per gcc longlong.h). | ||||
* | * longlong.h (COUNT_TRAILING_ZEROS_TIME): Remove, no longer used. | Kevin Ryde | 2002-03-02 | 1 | -7/+2 |
| | | | | This was one of my additions, never present in the gcc longlong.h. | ||||
* | Tabify. | tege | 2002-02-18 | 1 | -64/+64 |
| | |||||
* | Add basic x86-64 support. | tege | 2002-02-18 | 1 | -0/+21 |
| | |||||
* | (32-bit powerpc add_ssaaaa): Remove spurious commutative declaration. | tege | 2002-01-21 | 1 | -4/+4 |
| | | | | (64-bit powerpc add_ssaaaa): Likewise. | ||||
* | * longlong.h (__vxworks__): Remove from powerpc tests, not correct, | Kevin Ryde | 2001-12-29 | 1 | -2/+3 |
| | | | | not on its own at least. | ||||
* | * gmp-impl.h (__gmp_rands, __gmp_rands_initialized, | Kevin Ryde | 2001-11-15 | 1 | -1/+1 |
| | | | | | | modlimb_invert_table): Add __GMP_DECLSPEC for the benefit of test programs using them from a windows DLL. * longlong.h (__clz_tab): Ditto. | ||||
* | * longlong.h: Recognise __sparcv8 for gcc on Solaris. Reported by | Kevin Ryde | 2001-10-16 | 1 | -1/+4 |
| | | | | Mark Mentovai <mark@mentovai.com>. | ||||
* | Rewrite __i370__ smul_ppmm; enable also for __s390__. | tege | 2001-09-20 | 1 | -4/+4 |
| | |||||
* | * longlong.h: Test __ppc__ for apple darwin cc, reported by Jon | Kevin Ryde | 2001-08-24 | 1 | -4/+12 |
| | | | | Becker. Also test __POWERPC__, PPC and __vxworks__. | ||||
* | (ibm032 umul_ppmm): Fix typo. | tege | 2001-07-06 | 1 | -2/+2 |
| | | | | (sparclite sdiv_qrnnd): Fix typo. | ||||
* | Some excess backslashes from: | Kevin Ryde | 2001-06-20 | 1 | -2/+2 |
| | | | | | * longlong.h (count_leading_zeros) [pentium]: Decide to go with float method for p54. | ||||
* | More of: | Kevin Ryde | 2001-06-15 | 1 | -0/+1 |
| | | | | | * longlong.h (count_leading_zeros) [pentium]: Decide to go with float method for p54. | ||||
* | * longlong.h (count_leading_zeros) [pentium]: Decide to go with float | Kevin Ryde | 2001-06-15 | 1 | -33/+48 |
| | | | | | | method for p54. (count_leading_zeros) [alpha]: Add COUNT_LEADING_ZEROS_NEED_CLZ_TAB. (__clz_tab): Provide a prototype only if it's needed. | ||||
* | * longlong.h (count_leading_zeros) [pentiumpro]: Work around a partial | Kevin Ryde | 2001-06-12 | 1 | -0/+18 |
| | | | | register stall on gcc < 3. | ||||
* | Add a couple of comments about the intel count_leading_zeros method. | Kevin Ryde | 2001-03-23 | 1 | -1/+10 |
| |