[Gmp-commit] /home/hgfiles/gmp: Add mpn_binvert.

mercurial at gmplib.org mercurial at gmplib.org
Wed Dec 2 13:21:04 CET 2009


details:   /home/hgfiles/gmp/rev/ee9ad3199449
changeset: 12958:ee9ad3199449
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed Dec 02 13:21:01 2009 +0100
description:
Add mpn_binvert.

diffstat:

 ChangeLog    |  2 ++
 tune/speed.c |  2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 5f90c2d6de53 -r ee9ad3199449 ChangeLog
--- a/ChangeLog	Wed Dec 02 13:19:35 2009 +0100
+++ b/ChangeLog	Wed Dec 02 13:21:01 2009 +0100
@@ -1,5 +1,7 @@
 2009-12-02  Torbjorn Granlund  <tege at gmplib.org>
 
+	* tune/speed.c (routine): Add mpn_binvert.
+
 	* tune/tuneup.c: Tune BINV_NEWTON_THRESHOLD.
 	(tune_binvert): New function.
 	* tune/speed.h (SPEED_ROUTINE_MPN_BINVERT): New macros.
diff -r 5f90c2d6de53 -r ee9ad3199449 tune/speed.c
--- a/tune/speed.c	Wed Dec 02 13:19:35 2009 +0100
+++ b/tune/speed.c	Wed Dec 02 13:21:01 2009 +0100
@@ -310,6 +310,8 @@
 
   { "mpn_mulmod_bnm1",   speed_mpn_mulmod_bnm1      },
 
+  { "mpn_binvert",       speed_mpn_binvert          },
+
   { "mpn_get_str",       speed_mpn_get_str,  FLAG_R_OPTIONAL },
 
   { "mpn_set_str",         speed_mpn_set_str,     FLAG_R_OPTIONAL },


More information about the gmp-commit mailing list