From f32b00d850855e1ddace16898d658dfb653fa263 Mon Sep 17 00:00:00 2001 From: jasonmoxham Date: Mon, 13 Apr 2009 22:50:46 +0000 Subject: [PATCH] div update --- TODO | 17 +++-------------- mpn/generic/divrem_1.c | 2 ++ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/TODO b/TODO index 433714ac..aa76cbf6 100644 --- a/TODO +++ b/TODO @@ -1,18 +1,7 @@ -new function mpn_divexact_byBm1of generic and x86_64 versions done -done speed, tests , fat -not done try +new function mpn_divexact_byBm1of , not done try yet -new functions divrem_euclidean_qr_1 asm and c (qr,r version) -done try , fat -not done speed,tests -mpn_divrem_1 with qxn=0 now calls mpn_divrem_euclidean_qr_1 always -replace all internel calls to mpn_divrem_1 with the new euclidean -we could replace mpn_mod_1 as well !!! - -yasm'ify addmul_2.asm +yasm'ify addmul_2.asm and move to the individual dirs so that fat wont use +it as it's an optional function and remove x86_defs , why did I think I could delete this , its needed for fat - - - diff --git a/mpn/generic/divrem_1.c b/mpn/generic/divrem_1.c index 618c5017..938cf8fb 100644 --- a/mpn/generic/divrem_1.c +++ b/mpn/generic/divrem_1.c @@ -98,7 +98,9 @@ mpn_divrem_1 (mp_ptr qp, mp_size_t qxn, d <<= GMP_NAIL_BITS; + #if HAVE_NATIVE_mpn_divrem_euclidean_qr_1 if(qxn==0)return mpn_divrem_euclidean_qr_1(qp,up,un,d); + #endif qp += (n - 1); /* Make qp point at most significant quotient limb */