summaryrefslogtreecommitdiff
path: root/tests/devel
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2013-05-03 02:22:13 +0200
committerTorbjorn Granlund <tege@gmplib.org>2013-05-03 02:22:13 +0200
commit33b96798d86647da627032ad306e271eaa6c0fab (patch)
treebec9fb64ca99e2dcc1a1ef1d5b326e9d04aac929 /tests/devel
parentb30ea0b2eef4275b79589219b1e0258b85a73e73 (diff)
downloadgmp-33b96798d86647da627032ad306e271eaa6c0fab.tar.gz
(choice_array): Don't try to table addlsh1_n etc if a macro.
Diffstat (limited to 'tests/devel')
-rw-r--r--tests/devel/try.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/devel/try.c b/tests/devel/try.c
index c74f635db..48d7f5e94 100644
--- a/tests/devel/try.c
+++ b/tests/devel/try.c
@@ -1718,10 +1718,10 @@ const struct choice_t choice_array[] = {
{ TRY(mpn_cnd_add_n), TYPE_ADDCND_N },
{ TRY(mpn_cnd_sub_n), TYPE_SUBCND_N },
-#if HAVE_NATIVE_mpn_addlsh1_n
+#if HAVE_NATIVE_mpn_addlsh1_n == 1
{ TRY(mpn_addlsh1_n), TYPE_ADDLSH1_N },
#endif
-#if HAVE_NATIVE_mpn_addlsh2_n
+#if HAVE_NATIVE_mpn_addlsh2_n == 1
{ TRY(mpn_addlsh2_n), TYPE_ADDLSH2_N },
#endif
#if HAVE_NATIVE_mpn_addlsh_n
@@ -1745,10 +1745,10 @@ const struct choice_t choice_array[] = {
#if HAVE_NATIVE_mpn_addlsh_n_ip2
{ TRY_FUNFUN(mpn_addlsh_n_ip2), TYPE_ADDLSH_N_IP2 },
#endif
-#if HAVE_NATIVE_mpn_sublsh1_n
+#if HAVE_NATIVE_mpn_sublsh1_n == 1
{ TRY(mpn_sublsh1_n), TYPE_SUBLSH1_N },
#endif
-#if HAVE_NATIVE_mpn_sublsh2_n
+#if HAVE_NATIVE_mpn_sublsh2_n == 1
{ TRY(mpn_sublsh2_n), TYPE_SUBLSH2_N },
#endif
#if HAVE_NATIVE_mpn_sublsh_n
@@ -1763,10 +1763,10 @@ const struct choice_t choice_array[] = {
#if HAVE_NATIVE_mpn_sublsh_n_ip1
{ TRY_FUNFUN(mpn_sublsh_n_ip1), TYPE_SUBLSH_N_IP1 },
#endif
-#if HAVE_NATIVE_mpn_rsblsh1_n
+#if HAVE_NATIVE_mpn_rsblsh1_n == 1
{ TRY(mpn_rsblsh1_n), TYPE_RSBLSH1_N },
#endif
-#if HAVE_NATIVE_mpn_rsblsh2_n
+#if HAVE_NATIVE_mpn_rsblsh2_n == 1
{ TRY(mpn_rsblsh2_n), TYPE_RSBLSH2_N },
#endif
#if HAVE_NATIVE_mpn_rsblsh_n