Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (powerpc BSWAP_LIMB_FETCH): Rename local variable to make | tege | 2002-05-08 | 1 | -3/+3 |
| | | | | it not clash with caller. | ||||
* | (mpn_rootrem): Add declaration. | tege | 2002-05-08 | 1 | -0/+3 |
| | |||||
* | * gmp-impl.h (MUL_KARATSUBA_THRESHOLD etc): Remove forced nail values. | Kevin Ryde | 2002-05-08 | 1 | -12/+0 |
| | |||||
* | (MPZ_REALLOC): Rewrite to allow the use of _mpz_realloc return value. | tege | 2002-05-07 | 1 | -5/+1 |
| | |||||
* | Rename MP_LIMB_T_HIGHBIT => GMP_LIMB_HIGHBIT | tege | 2002-05-07 | 1 | -1/+1 |
| | |||||
* | * gmp-h.in, gmp-impl.h (GMP_NUMB_MAX): Move to gmp.h. | Kevin Ryde | 2002-05-07 | 1 | -17/+78 |
| | | | | | | | | | * gmp-impl.h (CNST_LIMB): Add cast to mp_limb_t to ensure unsigned. (CRAY_Pragma, MPN_REVERSE, MPN_BSWAP, MPN_BSWAP_REVERSE, ASSERT_ALWAYS_LIMB, ASSERT_ALWAYS_MPN): New macros. (MPZ_CHECK_FORMAT): Use ASSERT_ALWAYS_MPN. This CNST_LIMB change fixes some ASSERTs in mpn_sqrtrem. | ||||
* | (__GMPF_BITS_TO_PREC, __GMPF_PREC_TO_BITS): Nailify. | tege | 2002-05-06 | 1 | -4/+3 |
| | |||||
* | * gmp-impl.h (JACOBI_MOD_OR_MODEXACT_1_ODD): Allow for odd | Kevin Ryde | 2002-05-01 | 1 | -2/+12 |
| | | | | GMP_NUMB_BITS. | ||||
* | (LIMBS_PER_DOUBLE, MP_BASE_AS_DOUBLE): Nailify. | tege | 2002-04-30 | 1 | -3/+3 |
| | |||||
* | (modlimb_invert): Nailify. | tege | 2002-04-29 | 1 | -19/+19 |
| | |||||
* | * gmp-impl.h (NEG_MOD): Nailify. | Kevin Ryde | 2002-04-23 | 1 | -0/+6 |
| | |||||
* | * gmp-impl.h, mpn/mp_bases.c: Add back GMP_NUMB_BITS==30 bases data. | Kevin Ryde | 2002-04-23 | 1 | -0/+6 |
| | |||||
* | (mpn_com_n): Nailify. | tege | 2002-04-22 | 1 | -1/+1 |
| | |||||
* | * gmp-impl.h [nails]: Add #undefs of MUL_KARATSUBA_THRESHOLD etc, to | Kevin Ryde | 2002-04-20 | 1 | -1/+28 |
| | | | | | override CPU gmp-mparam.h. Remove JACOBI_BASE_METHOD override since it's nails-neutral. | ||||
* | * gmp-impl.h (MP_BASES_BIG_BASE_INVERTED_10, | Kevin Ryde | 2002-04-20 | 1 | -12/+6 |
| | | | | | MP_BASES_NORMALIZATION_STEPS_10): Fix nails values. (MP_BASES_*): Remove GMP_NUMB_BITS == 30 data. | ||||
* | (nail DIV_DC_THRESHOLD): Decrease to 50 to allow fast division. | tege | 2002-04-17 | 1 | -1/+1 |
| | |||||
* | (mp_bases[10] values): Add versions for GMP_NUMB_BITS being 28, 60, and 63. | tege | 2002-04-16 | 1 | -4/+22 |
| | |||||
* | * gmp-h.in, gmp-impl.h (GMP_NAIL_MASK): Move to gmp.h. | Kevin Ryde | 2002-04-16 | 1 | -2/+0 |
| | |||||
* | * gmp-impl.h (SUBC_LIMB): New macro. | Kevin Ryde | 2002-04-16 | 1 | -0/+21 |
| | |||||
* | * gmp-impl.h (MPN_FIB2_SIZE): Nailify. | Kevin Ryde | 2002-04-16 | 1 | -8/+11 |
| | | | | (PP): Nailify conditionals. | ||||
* | Set various *_THRESHOLD values to be used for nails to | tege | 2002-04-15 | 1 | -1/+49 |
| | | | | | avoid not yet qualified algorithms. (MPZ_CHECK_FORMAT): Check that nail part is zero. | ||||
* | (MODLIMB_INVERSE_3): Nailify. | tege | 2002-04-11 | 1 | -1/+1 |
| | |||||
* | (GMP_NUMB_MASK): Comment out, now in gmp.h. | tege | 2002-04-10 | 1 | -8/+7 |
| | | | | | (mpn_incr_u): Don't assume `incr' is non-zero. (mpn_decr_u): Similarly. | ||||
* | Replace nail mpn_incr_u, mpn_decr_u with faster versions. | tege | 2002-04-05 | 1 | -79/+85 |
| | | | | | | (mp_bases[10] values): Check GMP_NUMB_BITS instead of BITS_PER_MP_LIMB. Add GMP_NUMB_BITS == 30 version. (__gmp_doprnt, etc): Remove parameter names. | ||||
* | Better effort for: | Kevin Ryde | 2002-04-04 | 1 | -13/+17 |
| | | | | | * gmp-impl.h (BSWAP_LIMB_FETCH, BSWAP_LIMB_STORE) [powerpc]: Corrections to constraints, | ||||
* | * gmp-impl.h (BSWAP_LIMB_FETCH, BSWAP_LIMB_STORE) [powerpc]: | Kevin Ryde | 2002-04-02 | 1 | -14/+17 |
| | | | | Corrections to constraints, and restrict to bigendian. | ||||
* | Another correction to: | Kevin Ryde | 2002-03-31 | 1 | -2/+2 |
| | | | | | * gmp-impl.h (MPN_IORD_U) [x86]: Eliminate unnecessary jiord and iord, rename "n" to incr per generic versions, restrict to nails==0. | ||||
* | Correction to: | Kevin Ryde | 2002-03-31 | 1 | -2/+2 |
| | | | | | * gmp-impl.h (MPN_IORD_U) [x86]: Eliminate unnecessary jiord and iord, rename "n" to incr per generic versions, restrict to nails==0. | ||||
* | * gmp-impl.h (MPN_IORD_U) [x86]: Eliminate unnecessary jiord and iord, | Kevin Ryde | 2002-03-31 | 1 | -39/+109 |
| | | | | | | | | | rename "n" to incr per generic versions, restrict to nails==0. (mpn_incr_u, mpn_decr_u): Add nails support. (GMP_NAIL_LOWBIT, GMP_NUMB_MAX): New macros. * gmp-impl.h, tests/refmpn.c (ASSERT_LIMB): Renamed from ASSERT_MP_LIMB_T. | ||||
* | Restrict powerpc stuff to 32-bits: | Kevin Ryde | 2002-03-28 | 1 | -9/+10 |
| | | | | | | * gmp-impl.h (BSWAP_LIMB_FETCH, BSWAP_LIMB_STORE): New macros. And more comments on modlimbs_invert. | ||||
* | * gmp-impl.h (BSWAP_LIMB_FETCH, BSWAP_LIMB_STORE): New macros. | Kevin Ryde | 2002-03-24 | 1 | -0/+42 |
| | |||||
* | * gmp-impl.h (mp_bases): Add __GMP_DECLSPEC, for the benefit of | Kevin Ryde | 2002-03-20 | 1 | -1/+1 |
| | | | | tests/t-constants.c. | ||||
* | * gmp-impl.h: Add __GMP_DECLSPEC to libgmp functions used by libgmpxx. | Kevin Ryde | 2002-03-02 | 1 | -17/+7 |
| | |||||
* | * gmp-impl.h (MPN_SIZEINBASE, MPN_SIZEINBASE_16): Correction to | Kevin Ryde | 2002-03-02 | 1 | -2/+2 |
| | | | | __totbits for nails. | ||||
* | * gmp-impl.h (JACOBI_LS0): Test size before limb, to pacify valgrind. | Kevin Ryde | 2002-03-02 | 1 | -2/+2 |
| | | | | (JACOBI_0LS): Ditto, and fix parens around arguments. | ||||
* | * gmp-impl.h (va_copy): Fall back on memcpy, not "=". | Kevin Ryde | 2002-02-27 | 1 | -4/+5 |
| | |||||
* | Clean up *_THRESHOLD names. | tege | 2002-02-19 | 1 | -75/+75 |
| | |||||
* | (__mp_bases): Remove superflous `mp_' part of name, making | tege | 2002-02-10 | 1 | -9/+10 |
| | | | | | it __gmpn_bases instead of __gmpn_mp_bases. (mp_bases): New #define. | ||||
* | * gmp-impl.h (MPN_SIZEINBASE, MPN_SIZEINBASE_16): New macros from | Kevin Ryde | 2002-02-08 | 1 | -13/+57 |
| | | | | | | mpn_sizeinbase, and use GMP_NUMB_BITS. * gmp-impl.h (MPN_GET_STR_SIZE): Remove. | ||||
* | * tune/tuneup.c, gmp-impl.h, tune/Makefile.am | Kevin Ryde | 2002-02-02 | 1 | -0/+7 |
| | | | | (GET_STR_BASECASE_THRESHOLD, GET_STR_PRECOMPUTE_THRESHOLD): Tune these. | ||||
* | * gmp-impl.h (GMP_NUMB_MASK, GMP_NAIL_MASK, GMP_NUMB_HIGHBIT, | Kevin Ryde | 2002-01-30 | 1 | -23/+49 |
| | | | | | | | | | | ASSERT_MPN, ASSERT_MP_LIMB_T): New macros. * mpn/generic/fib2_ui.c: Use GMP_NUMB_BITS, simplify the data generator program, share __gmp_fib_table initializers between bit sizes, cope with bit sizes other than those specifically setup. * gmp-impl.h (FIB_TABLE_LIMIT, FIB_TABLE_LUCNUM_LIMIT): Corresponding rearrangement of conditionals. | ||||
* | * mpn/generic/sizeinbase.c: New file, adapted from mpz/sizeinbase.c. | Kevin Ryde | 2002-01-23 | 1 | -0/+3 |
| | | | | | Use POW2_P, use __mp_bases[base].big_base for log2(base). * gmp-impl.h: Add prototype. | ||||
* | * gmp-impl.h (__GMP_REALLOCATE_FUNC_MAYBE_TYPE): New macro. | Kevin Ryde | 2002-01-17 | 1 | -1/+9 |
| | | | | * gmp-impl.h: Some fixes to compile as C++. | ||||
* | * gmp-impl.h (MPN_COPY_INCR, MPN_COPY_DECR): Remove __i, unused. | Kevin Ryde | 2002-01-16 | 1 | -2/+0 |
| | |||||
* | * gmp-impl.h (USE_PREINV_DIVREM_1, USE_PREINV_MOD_1): Ditto. | Kevin Ryde | 2002-01-14 | 1 | -59/+22 |
| | | | | | | | | | | (DIVEXACT_1_THRESHOLD, MODEXACT_1_ODD_THRESHOLD): Don't use UMUL_TIME and UDIV_TIME, make default thresholds 0. (UDIV_NORM_PREINV_TIME, UDIV_UNNORM_PREINV_TIME): Remove macros. * tests/mpz/t-inp_str.c, tests/mpq/t-inp_str.c, tests/misc/t-scanf.c: Avoid strings in ASSERT, not enjoyed by K&R. * gmp-impl.h (ASSERT): Note this. | ||||
* | * gmp-h.in, gmp-impl.h (mpn_add_nc, mpn_addmul_1c, mpn_addsub_n, | Kevin Ryde | 2002-01-11 | 1 | -3/+43 |
| | | | | | | | | mpn_addsub_nc, mpn_divrem_1c, mpn_dump, mpn_mod_1c, mpn_mul_1c, mpn_mul_basecase, mpn_sqr_n, mpn_sqr_basecase, mpn_sub_nc, mpn_submul_1c): Move to gmp-impl.h, since they're undocumented. * gmp-impl.h (mpn_reciprocal): Remove, unused. | ||||
* | * gmp-impl.h (MPN_GET_STR_SIZE): New macro. | Kevin Ryde | 2002-01-07 | 1 | -0/+12 |
| | |||||
* | * gmp-impl.h (POW2_P): New macro. | Kevin Ryde | 2002-01-07 | 1 | -0/+5 |
| | |||||
* | * gmp-impl.h (ASSERT_CODE): New macro. | Kevin Ryde | 2002-01-07 | 1 | -0/+9 |
| | |||||
* | (MPN_COPY_INCR, MPN_COPY_DECR): Rewrite generic versions. | tege | 2002-01-07 | 1 | -13/+45 |
| |