summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorMarc Glisse <marc.glisse@inria.fr>2014-12-08 20:19:37 +0100
committerMarc Glisse <marc.glisse@inria.fr>2014-12-08 20:19:37 +0100
commitf698e108b1ea73b86c119d0789ff3116df0ba772 (patch)
treee4dcc24e057bbbbd3b56633d324e471213dc02fc /longlong.h
parentb588ad13e52ca0df16b3a6595579dbbdde653f9e (diff)
downloadgmp-f698e108b1ea73b86c119d0789ff3116df0ba772.tar.gz
Provide __clz_tab even with sparc64 vis3.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/longlong.h b/longlong.h
index c04fc75c7..d2b967f08 100644
--- a/longlong.h
+++ b/longlong.h
@@ -1790,6 +1790,8 @@ extern UWtype __MPN(udiv_qrnnd) (UWtype *, UWtype, UWtype, UWtype);
} while (0)
#define count_leading_zeros(count, x) \
__asm__ ("lzd\t%1,%0" : "=r" (count) : "r" (x))
+/* Needed by count_leading_zeros_32 in sparc64.h. */
+#define COUNT_LEADING_ZEROS_NEED_CLZ_TAB
#endif
#endif