diff options
author | Steve Ellcey <sellcey@mips.com> | 2014-05-01 10:09:04 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@mips.com> | 2014-05-01 10:09:04 -0700 |
commit | 6426d77e47f011086dea324801e5c0a612455831 (patch) | |
tree | b65b38f706b0a9c8d80a6599efaffdeaf6b57e27 | |
parent | 7470db0c8e41bb22c2769f889fb1845e42b84cb7 (diff) | |
download | glibc-6426d77e47f011086dea324801e5c0a612455831.tar.gz glibc-6426d77e47f011086dea324801e5c0a612455831.tar.xz glibc-6426d77e47f011086dea324801e5c0a612455831.zip |
2014-05-01 Steve Ellcey <sellcey@mips.com>
* stdlib/longlong.h: Updated from GCC.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | stdlib/longlong.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 8e8582c6d9..4a13b22599 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-01 Steve Ellcey <sellcey@mips.com> + + * stdlib/longlong.h: Updated from GCC. + 2014-05-01 Will Newton <will.newton@linaro.org> Bernard Ogden <bernie.ogden@linaro.org> diff --git a/stdlib/longlong.h b/stdlib/longlong.h index d45dbe2b73..31f88cb3f5 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -483,7 +483,7 @@ extern UDItype __umulsidi3 (USItype, USItype); #define UDIV_TIME 40 #endif /* 80x86 */ -#if (defined (__x86_64__) || defined (__i386__)) && W_TYPE_SIZE == 64 +#if defined (__x86_64__) && W_TYPE_SIZE == 64 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ __asm__ ("add{q} {%5,%1|%1,%5}\n\tadc{q} {%3,%0|%0,%3}" \ : "=r" ((UDItype) (sh)), \ @@ -848,7 +848,7 @@ extern UDItype __umulsidi3 (USItype, USItype); #define UMUL_TIME 10 #define UDIV_TIME 100 -#if (__mips == 32 || __mips == 64) && ! __mips16 +#if (__mips == 32 || __mips == 64) && ! defined (__mips16) #define count_leading_zeros(COUNT,X) ((COUNT) = __builtin_clz (X)) #define COUNT_LEADING_ZEROS_0 32 #endif |