summaryrefslogtreecommitdiff
path: root/tune/speed.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/speed.c
parentd2781a33c1345c01c925368ab0a27fd3834bd6d3 (diff)
downloadgmp-93b5e5590aebd70ff46905f58eda169f1f3e3ed3.tar.gz
Make tune/speed work when addlsh1_n etc are macros.
Diffstat (limited to 'tune/speed.c')
-rw-r--r--tune/speed.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tune/speed.c b/tune/speed.c
index 845bac97a..ff04b4179 100644
--- a/tune/speed.c
+++ b/tune/speed.c
@@ -413,10 +413,10 @@ const struct routine_t {
{ "mpn_copyd", speed_mpn_copyd },
#endif
{ "mpn_tabselect", speed_mpn_tabselect, FLAG_R_OPTIONAL },
-#if HAVE_NATIVE_mpn_addlsh1_n
+#if HAVE_NATIVE_mpn_addlsh1_n == 1
{ "mpn_addlsh1_n", speed_mpn_addlsh1_n, FLAG_R_OPTIONAL },
#endif
-#if HAVE_NATIVE_mpn_sublsh1_n
+#if HAVE_NATIVE_mpn_sublsh1_n == 1
{ "mpn_sublsh1_n", speed_mpn_sublsh1_n, FLAG_R_OPTIONAL },
#endif
#if HAVE_NATIVE_mpn_addlsh1_n_ip1
@@ -428,13 +428,13 @@ const struct routine_t {
#if HAVE_NATIVE_mpn_sublsh1_n_ip1
{ "mpn_sublsh1_n_ip1", speed_mpn_sublsh1_n_ip1 },
#endif
-#if HAVE_NATIVE_mpn_rsblsh1_n
+#if HAVE_NATIVE_mpn_rsblsh1_n == 1
{ "mpn_rsblsh1_n", speed_mpn_rsblsh1_n, FLAG_R_OPTIONAL },
#endif
-#if HAVE_NATIVE_mpn_addlsh2_n
+#if HAVE_NATIVE_mpn_addlsh2_n == 1
{ "mpn_addlsh2_n", speed_mpn_addlsh2_n, FLAG_R_OPTIONAL },
#endif
-#if HAVE_NATIVE_mpn_sublsh2_n
+#if HAVE_NATIVE_mpn_sublsh2_n == 1
{ "mpn_sublsh2_n", speed_mpn_sublsh2_n, FLAG_R_OPTIONAL },
#endif
#if HAVE_NATIVE_mpn_addlsh2_n_ip1
@@ -446,7 +446,7 @@ const struct routine_t {
#if HAVE_NATIVE_mpn_sublsh2_n_ip1
{ "mpn_sublsh2_n_ip1", speed_mpn_sublsh2_n_ip1 },
#endif
-#if HAVE_NATIVE_mpn_rsblsh2_n
+#if HAVE_NATIVE_mpn_rsblsh2_n == 1
{ "mpn_rsblsh2_n", speed_mpn_rsblsh2_n, FLAG_R_OPTIONAL },
#endif
#if HAVE_NATIVE_mpn_addlsh_n