diff options
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r-- | gcc/longlong.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h index 87021d0ebb9..0d8e01d3bf2 100644 --- a/gcc/longlong.h +++ b/gcc/longlong.h @@ -624,6 +624,11 @@ UDItype __umulsidi3 (USItype, USItype); "d" ((USItype) (v))) #define UMUL_TIME 10 #define UDIV_TIME 100 + +#if (__mips == 32 || __mips == 64) && ! __mips16 +#define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clz (X)) +#define COUNT_LEADING_ZEROS_0 32 +#endif #endif /* __mips__ */ #if defined (__ns32000__) && W_TYPE_SIZE == 32 |