Root/tools/gmp/patches/000-OE-amd64.patch

1--- a/longlong.h
2+++ b/longlong.h
3@@ -994,8 +994,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO (
4    count is only an int. */
5 #define count_trailing_zeros(count, x) \
6   do { \
7+ UDItype __cbtmp; \
8     ASSERT ((x) != 0); \
9- __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \
10+ __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \
11+ (count) = __cbtmp; \
12   } while (0)
13 #endif /* x86_64 */
14 
15

Archive Download this file



interactive