diff --git a/TODO b/TODO index d2adee1e..066fa821 100644 --- a/TODO +++ b/TODO @@ -1,22 +1,10 @@ -some of the new fns are only visible internally , to get them visible to the user we -need to put the stuff thats in gmp-impl.h into gmp-h.in and get it to work , -need to bugger about with configure.in etc - should addsub return int or limb ? Test everything for alignment and speed on K10 should the new function be entered in the fat structure? -some of the new fn's are visible to the user , or do we want them internal? - -need proper speed tuning for redc_basecase and powm , not the hack that we -have at the mo - for K10 , check tests/try does the different alignments for the shifts -tune params +tune params on K8,K10,core2,Pentium D -test on core2 - -go thru our changes list see what merge did diff --git a/gmp-h.in b/gmp-h.in index 9f752d0b..4fccfc1f 100644 --- a/gmp-h.in +++ b/gmp-h.in @@ -1503,9 +1503,6 @@ __GMP_DECLSPEC int mpn_cmp __GMP_PROTO ((mp_srcptr, mp_srcptr, mp_size_t)) __GMP #define mpn_divexact_by3c __MPN(divexact_by3c) __GMP_DECLSPEC mp_limb_t mpn_divexact_by3c __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t)); -#define mpn_divexact_byff __MPN(divexact_byff) -__GMP_DECLSPEC mp_limb_t mpn_divexact_byff __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t)); - #define mpn_divmod_1(qp,np,nsize,dlimb) \ mpn_divrem_1 (qp, __GMP_CAST (mp_size_t, 0), np, nsize, dlimb) diff --git a/gmp-impl.h b/gmp-impl.h index cc988886..b207feef 100644 --- a/gmp-impl.h +++ b/gmp-impl.h @@ -841,6 +841,9 @@ __GMP_DECLSPEC mp_limb_t mpn_sumdiff_n __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, #define mpn_sumdiff_nc __MPN(sumdiff_nc) __GMP_DECLSPEC mp_limb_t mpn_sumdiff_nc __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t)); +#define mpn_divexact_byff __MPN(divexact_byff) +__GMP_DECLSPEC mp_limb_t mpn_divexact_byff __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t)); + #define mpn_divrem_1c __MPN(divrem_1c) __GMP_DECLSPEC mp_limb_t mpn_divrem_1c __GMP_PROTO ((mp_ptr, mp_size_t, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t));