[Gmp-commit] /home/hgfiles/gmp: Compile redc_1_sec.

mercurial at gmplib.org mercurial at gmplib.org
Sun Dec 6 11:13:25 CET 2009


details:   /home/hgfiles/gmp/rev/894d77269797
changeset: 12995:894d77269797
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Dec 06 11:13:22 2009 +0100
description:
Compile redc_1_sec.

diffstat:

 ChangeLog    |  5 +++++
 configure.in |  2 +-
 gmp-impl.h   |  4 +++-
 3 files changed, 9 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 55d8a68760d9 -r 894d77269797 ChangeLog
--- a/ChangeLog	Sun Dec 06 07:46:32 2009 +0100
+++ b/ChangeLog	Sun Dec 06 11:13:22 2009 +0100
@@ -1,3 +1,8 @@
+2009-12-06  Torbjorn Granlund  <tege at gmplib.org>
+
+	* gmp-impl.h (mpn_redc_1_sec): Declare.
+	* configure.in (gmp_mpn_functions): Add redc_1_sec.
+
 2009-12-06  Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* tests/devel/try.c(try_one): DATA_SRC0_HIGHBIT sets the high bit.
diff -r 55d8a68760d9 -r 894d77269797 configure.in
--- a/configure.in	Sun Dec 06 07:46:32 2009 +0100
+++ b/configure.in	Sun Dec 06 11:13:22 2009 +0100
@@ -2494,7 +2494,7 @@
   mu_bdiv_q mu_bdiv_qr							   \
   bdiv_q bdiv_qr							   \
   divexact bdiv_dbm1c redc_1 redc_2 redc_n powm powlo powm_sec subcnd_n	   \
-  trialdiv remove							   \
+  redc_1_sec trialdiv remove						   \
   and_n andn_n nand_n ior_n iorn_n nior_n xor_n xnor_n			   \
   copyi copyd zero							   \
   $gmp_mpn_functions_optional"
diff -r 55d8a68760d9 -r 894d77269797 gmp-impl.h
--- a/gmp-impl.h	Sun Dec 06 07:46:32 2009 +0100
+++ b/gmp-impl.h	Sun Dec 06 11:13:22 2009 +0100
@@ -919,7 +919,7 @@
 __GMP_DECLSPEC mp_limb_t mpn_submul_1c __GMP_PROTO ((mp_ptr, mp_srcptr, mp_size_t, mp_limb_t, mp_limb_t));
 
 #define mpn_redc_1 __MPN(redc_1)
-__GMP_DECLSPEC void mpn_redc_1 __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t);)
+__GMP_DECLSPEC void mpn_redc_1 __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t));
 
 #define mpn_redc_2 __MPN(redc_2)
 __GMP_DECLSPEC void mpn_redc_2 __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_srcptr));
@@ -1242,6 +1242,8 @@
 __GMP_DECLSPEC mp_limb_t mpn_subcnd_n __GMP_PROTO ((mp_ptr, mp_srcptr, mp_srcptr, mp_size_t, mp_limb_t));
 #define   mpn_tabselect __MPN(tabselect)
 __GMP_DECLSPEC void      mpn_tabselect __GMP_PROTO ((volatile mp_limb_t *, volatile mp_limb_t *, mp_size_t, mp_size_t, mp_size_t));
+#define mpn_redc_1_sec __MPN(redc_1_sec)
+__GMP_DECLSPEC void mpn_redc_1_sec __GMP_PROTO ((mp_ptr, mp_ptr, mp_srcptr, mp_size_t, mp_limb_t));
 
 #ifndef DIVEXACT_BY3_METHOD
 #if GMP_NUMB_BITS % 2 == 0 && ! defined (HAVE_NATIVE_mpn_divexact_by3c)


More information about the gmp-commit mailing list