summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2008-09-22 22:55:36 +0200
committerTorbjorn Granlund <tege@gmplib.org>2008-09-22 22:55:36 +0200
commit83b3f7fde5ccc86f6040b578268b66ff10c95c44 (patch)
treee66b3084f63333b0904ec5b8e484a32dc1b726ca /tune
parentdd94d055d2be8271ca6b290b449b857b706c3f7a (diff)
downloadgmp-83b3f7fde5ccc86f6040b578268b66ff10c95c44.tar.gz
Amend last changes.
Diffstat (limited to 'tune')
-rw-r--r--tune/common.c7
-rw-r--r--tune/speed.c4
-rw-r--r--tune/speed.h1
3 files changed, 9 insertions, 3 deletions
diff --git a/tune/common.c b/tune/common.c
index bd7edc8db..21c6f8807 100644
--- a/tune/common.c
+++ b/tune/common.c
@@ -877,11 +877,16 @@ speed_mpn_mul_n_sqr (struct speed_params *s)
}
double
-speed_mpn_mul (struct speed_params *s)
+speed_mpn_mul_basecase (struct speed_params *s)
{
SPEED_ROUTINE_MPN_MUL(mpn_mul_basecase);
}
double
+speed_mpn_mul (struct speed_params *s)
+{
+ SPEED_ROUTINE_MPN_MUL(mpn_mul);
+}
+double
speed_mpn_sqr_basecase (struct speed_params *s)
{
/* FIXME: size restrictions on some versions of sqr_basecase */
diff --git a/tune/speed.c b/tune/speed.c
index f50411ed7..14d0ec71e 100644
--- a/tune/speed.c
+++ b/tune/speed.c
@@ -283,8 +283,8 @@ const struct routine_t {
{ "mpn_jacobi_base_2", speed_mpn_jacobi_base_2 },
{ "mpn_jacobi_base_3", speed_mpn_jacobi_base_3 },
- { "mpn_mul", speed_mpn_mul, FLAG_R_OPTIONAL },
- { "mpn_mul_basecase", speed_mpn_mul, FLAG_R_OPTIONAL },
+ { "mpn_mul", speed_mpn_mul, FLAG_R_OPTIONAL },
+ { "mpn_mul_basecase", speed_mpn_mul_basecase,FLAG_R_OPTIONAL },
{ "mpn_sqr_basecase", speed_mpn_sqr_basecase },
#if HAVE_NATIVE_mpn_sqr_diagonal
{ "mpn_sqr_diagonal", speed_mpn_sqr_diagonal },
diff --git a/tune/speed.h b/tune/speed.h
index 4f38cba04..fa0121568 100644
--- a/tune/speed.h
+++ b/tune/speed.h
@@ -219,6 +219,7 @@ double speed_mpn_mul_2 _PROTO ((struct speed_params *s));
double speed_mpn_mul_3 _PROTO ((struct speed_params *s));
double speed_mpn_mul_4 _PROTO ((struct speed_params *s));
double speed_mpn_mul _PROTO ((struct speed_params *s));
+double speed_mpn_mul_basecase _PROTO ((struct speed_params *s));
double speed_mpn_mul_fft _PROTO ((struct speed_params *s));
double speed_mpn_mul_fft_sqr _PROTO ((struct speed_params *s));
double speed_mpn_mul_fft_full _PROTO ((struct speed_params *s));