summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-09-07 00:53:00 +0200
committerKevin Ryde <user42@zip.com.au>2002-09-07 00:53:00 +0200
commit63cea340cf00dbc83b4cbe459ef1b1d86b65c46f (patch)
treedf8af43f8f40395393b2f6ed246020e0078931d5 /longlong.h
parentfddcb15608126d52dc272e21a1816ae03ecd623f (diff)
downloadgmp-63cea340cf00dbc83b4cbe459ef1b1d86b65c46f.tar.gz
Less of:
* longlong.h: Define COUNT_LEADING_ZEROS_NEED_CLZ_TAB for all alphas, since mpn/alpha/cntlz.asm always goes into libgmp.so, even for ev67 and ev68 which don't need it. Oops, didn't mean to check in that ia64 bit.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/longlong.h b/longlong.h
index 7b00ed4ba..bec700e5f 100644
--- a/longlong.h
+++ b/longlong.h
@@ -220,15 +220,6 @@ long __MPN(count_leading_zeros) _PROTO ((UDItype));
_c += _x >> 1; \
(count) = W_TYPE_SIZE - 1 - _c; \
} while (0)
-/* similar to what gcc does for __builtin_ffs, but 0 based rather than 1
- based, and we don't need a special case for x==0 here */
-#define count_trailing_zeros(count, x) \
- do { \
- UWtype __ctz_x = (x); \
- __asm__ ("popcnt %0 = %1" \
- : "=r" (count) \
- : "r" ((__ctz_x-1) & ~__ctz_x)); \
- } while (0)
#endif
#ifndef LONGLONG_STANDALONE
#define udiv_qrnnd(q, r, n1, n0, d) \