diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-10-24 02:21:12 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-10-24 02:21:12 +0200 |
commit | 04fd3265453383af96de42392c4f7c465b637df3 (patch) | |
tree | de7ad88d5ca3f5240f048f332a61bad10cef1a46 /tune | |
parent | bcd113e6da3495350745d0cfaebbfb520c3d120a (diff) | |
download | gmp-04fd3265453383af96de42392c4f7c465b637df3.tar.gz |
* tune/speed.c, tune/speed.h, tune/common.c: Add mpn_mul_1_inplace.
Diffstat (limited to 'tune')
-rw-r--r-- | tune/common.c | 5 | ||||
-rw-r--r-- | tune/speed.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tune/common.c b/tune/common.c index 4d8c7578c..d572f6bee 100644 --- a/tune/common.c +++ b/tune/common.c @@ -481,6 +481,11 @@ speed_mpn_mul_1 (struct speed_params *s) { SPEED_ROUTINE_MPN_UNARY_1 (mpn_mul_1); } +double +speed_mpn_mul_1_inplace (struct speed_params *s) +{ + SPEED_ROUTINE_MPN_UNARY_1_INPLACE (mpn_mul_1); +} #if HAVE_NATIVE_mpn_mul_2 double diff --git a/tune/speed.c b/tune/speed.c index 809ca5342..409c83580 100644 --- a/tune/speed.c +++ b/tune/speed.c @@ -150,6 +150,7 @@ const struct routine_t { { "mpn_addmul_1", speed_mpn_addmul_1, FLAG_R }, { "mpn_submul_1", speed_mpn_submul_1, FLAG_R }, { "mpn_mul_1", speed_mpn_mul_1, FLAG_R }, + { "mpn_mul_1_inplace", speed_mpn_mul_1_inplace, FLAG_R }, #if HAVE_NATIVE_mpn_mul_2 { "mpn_mul_2", speed_mpn_mul_2 }, #endif |