summaryrefslogtreecommitdiff
path: root/tune/common.c
diff options
context:
space:
mode:
authorNiels M?ller <nisse@lysator.liu.se>2019-08-16 08:21:42 +0200
committerNiels M?ller <nisse@lysator.liu.se>2019-08-16 08:21:42 +0200
commit5638f7afc35f4d04fa748d261213be67f3cf28d3 (patch)
tree15640fc0636346ea92ffd9aed8610a2fc46591db /tune/common.c
parentc6fa69d38787f4b2dbfcf89ed46c133f87c87728 (diff)
downloadgmp-5638f7afc35f4d04fa748d261213be67f3cf28d3.tar.gz
Speed support for gcd_22.
Calls mpn_gcd_22(al, al, bl, bl), so that B+1 is a common factor. * tune/speed.h (SPEED_ROUTINE_MPN_GCD_22): New macro. * tune/speed.c (routine): Add mpn_gcd_22. * tune/common.c (speed_mpn_gcd_22): New function.
Diffstat (limited to 'tune/common.c')
-rw-r--r--tune/common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tune/common.c b/tune/common.c
index 1291f5dc9..0b3f491b7 100644
--- a/tune/common.c
+++ b/tune/common.c
@@ -1726,6 +1726,11 @@ speed_mpn_gcd_1N (struct speed_params *s)
{
SPEED_ROUTINE_MPN_GCD_1N (mpn_gcd_1);
}
+double
+speed_mpn_gcd_22 (struct speed_params *s)
+{
+ SPEED_ROUTINE_MPN_GCD_22 (mpn_gcd_22);
+}
double