[Gmp-commit] /home/hgfiles/gmp: Add more division functions measuring.
mercurial at gmplib.org
mercurial at gmplib.org
Wed Dec 16 15:32:52 CET 2009
details: /home/hgfiles/gmp/rev/016e9203102f
changeset: 13089:016e9203102f
user: Torbjorn Granlund <tege at gmplib.org>
date: Wed Dec 16 15:32:44 2009 +0100
description:
Add more division functions measuring.
diffstat:
ChangeLog | 6 +++++-
tune/speed.c | 18 ++++++++++++++----
2 files changed, 19 insertions(+), 5 deletions(-)
diffs (50 lines):
diff -r 96b2298822a8 -r 016e9203102f ChangeLog
--- a/ChangeLog Wed Dec 16 12:31:55 2009 +0100
+++ b/ChangeLog Wed Dec 16 15:32:44 2009 +0100
@@ -1,5 +1,9 @@
2009-12-16 Torbjorn Granlund <tege at gmplib.org>
+ * tune/speed.c (routine): Measure speed_mpn_{sb,dc}pi1_div_qr,
+ mpn_{sb,dc}pi1_divappr_q, mpn_{sb,dc}pi1_bdiv_qr, and
+ mpn_{sb,dc}pi1_bdiv_q.
+
* mpn/generic/invertappr.c: New file, meat from invert.c.
* mpn/generic/invert.c: Leave just mpn_invert.c.
* configure.in (gmp_mpn_functions): Add invertappr.
@@ -52,7 +56,7 @@
overrun.
* mpn/generic/mul_fft.c (mpn_mul_fft_full): Handle carry-out from 2nd
- mpn_mul_fft, add an ASSERT for the 1sd mpn_mul_fft. Replace some
+ mpn_mul_fft, add an ASSERT for the 1st mpn_mul_fft. Replace some
comments on cc's range with ASSERTs.
* mpn/generic/gcdext.c (compute_v): Normalize tp[] after mpn_mul.
diff -r 96b2298822a8 -r 016e9203102f tune/speed.c
--- a/tune/speed.c Wed Dec 16 12:31:55 2009 +0100
+++ b/tune/speed.c Wed Dec 16 15:32:44 2009 +0100
@@ -312,10 +312,20 @@
{ "mpn_mulmod_bnm1", speed_mpn_mulmod_bnm1 },
{ "mpn_mulmod_bnm1_rounded", speed_mpn_mulmod_bnm1_rounded },
- { "mpn_invert", speed_mpn_invert },
- { "mpn_invertappr", speed_mpn_invertappr },
- { "mpn_ni_invertappr", speed_mpn_ni_invertappr },
- { "mpn_binvert", speed_mpn_binvert },
+ { "mpn_invert", speed_mpn_invert },
+ { "mpn_invertappr", speed_mpn_invertappr },
+ { "mpn_ni_invertappr", speed_mpn_ni_invertappr },
+ { "mpn_binvert", speed_mpn_binvert },
+
+ { "mpn_sbpi1_div_qr", speed_mpn_sbpi1_div_qr },
+ { "mpn_dcpi1_div_qr", speed_mpn_dcpi1_div_qr },
+ { "mpn_sbpi1_divappr_q", speed_mpn_sbpi1_divappr_q },
+ { "mpn_dcpi1_divappr_q", speed_mpn_dcpi1_divappr_q },
+
+ { "mpn_sbpi1_bdiv_qr", speed_mpn_sbpi1_bdiv_qr },
+ { "mpn_dcpi1_bdiv_qr", speed_mpn_dcpi1_bdiv_qr },
+ { "mpn_sbpi1_bdiv_q", speed_mpn_sbpi1_bdiv_q },
+ { "mpn_dcpi1_bdiv_q", speed_mpn_dcpi1_bdiv_q },
{ "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