mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			576 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			576 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Index: gmp-5.0.1/longlong.h
 | |
| ===================================================================
 | |
| --- gmp-5.0.1.orig/longlong.h
 | |
| +++ gmp-5.0.1/longlong.h
 | |
| @@ -849,8 +849,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO (
 | |
|     count is only an int. */
 | |
|  #define count_trailing_zeros(count, x)					\
 | |
|    do {									\
 | |
| +    UDItype __cbtmp;							\
 | |
|      ASSERT ((x) != 0);							\
 | |
| -    __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x)));	\
 | |
| +    __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x)));	\
 | |
| +    (count) = __cbtmp;						\
 | |
|    } while (0)
 | |
|  #endif /* x86_64 */
 | |
|  
 |