summaryrefslogtreecommitdiff
path: root/tune/common.c
diff options
context:
space:
mode:
authorDavid S. Miller <devnull@localhost>2013-05-04 11:48:08 +0200
committerDavid S. Miller <devnull@localhost>2013-05-04 11:48:08 +0200
commit93b5e5590aebd70ff46905f58eda169f1f3e3ed3 (patch)
treef80932b45955a6953e81526e430462f59fafa53d /tune/common.c
parentd2781a33c1345c01c925368ab0a27fd3834bd6d3 (diff)
downloadgmp-93b5e5590aebd70ff46905f58eda169f1f3e3ed3.tar.gz
Make tune/speed work when addlsh1_n etc are macros.
Diffstat (limited to 'tune/common.c')
-rw-r--r--tune/common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tune/common.c b/tune/common.c
index c7ccc2811..59cab7996 100644
--- a/tune/common.c
+++ b/tune/common.c
@@ -989,14 +989,14 @@ speed_mpn_add_n_sub_n (struct speed_params *s)
}
#endif
-#if HAVE_NATIVE_mpn_addlsh1_n
+#if HAVE_NATIVE_mpn_addlsh1_n == 1
double
speed_mpn_addlsh1_n (struct speed_params *s)
{
SPEED_ROUTINE_MPN_BINARY_N (mpn_addlsh1_n);
}
#endif
-#if HAVE_NATIVE_mpn_sublsh1_n
+#if HAVE_NATIVE_mpn_sublsh1_n == 1
double
speed_mpn_sublsh1_n (struct speed_params *s)
{
@@ -1024,21 +1024,21 @@ speed_mpn_sublsh1_n_ip1 (struct speed_params *s)
SPEED_ROUTINE_MPN_COPY (mpn_sublsh1_n_ip1);
}
#endif
-#if HAVE_NATIVE_mpn_rsblsh1_n
+#if HAVE_NATIVE_mpn_rsblsh1_n == 1
double
speed_mpn_rsblsh1_n (struct speed_params *s)
{
SPEED_ROUTINE_MPN_BINARY_N (mpn_rsblsh1_n);
}
#endif
-#if HAVE_NATIVE_mpn_addlsh2_n
+#if HAVE_NATIVE_mpn_addlsh2_n == 1
double
speed_mpn_addlsh2_n (struct speed_params *s)
{
SPEED_ROUTINE_MPN_BINARY_N (mpn_addlsh2_n);
}
#endif
-#if HAVE_NATIVE_mpn_sublsh2_n
+#if HAVE_NATIVE_mpn_sublsh2_n == 1
double
speed_mpn_sublsh2_n (struct speed_params *s)
{
@@ -1066,7 +1066,7 @@ speed_mpn_sublsh2_n_ip1 (struct speed_params *s)
SPEED_ROUTINE_MPN_COPY (mpn_sublsh2_n_ip1);
}
#endif
-#if HAVE_NATIVE_mpn_rsblsh2_n
+#if HAVE_NATIVE_mpn_rsblsh2_n == 1
double
speed_mpn_rsblsh2_n (struct speed_params *s)
{