Commit 44f9fcef by Sandra Loosemore Committed by Sandra Loosemore

longlong.h [__mips__] (count_leading_zeros, [...]): Define for MIPS32 and MIPS64.

2007-08-02  Sandra Loosemore  <sandra@codesourcery.com>
	    Nigel Stephens  <nigel@mips.com>

	gcc/
	* longlong.h [__mips__] (count_leading_zeros, COUNT_LEADING_ZEROS_0):
	Define for MIPS32 and MIPS64.

Co-Authored-By: Nigel Stephens <nigel@mips.com>

From-SVN: r127159
parent e861dea3
2007-08-02 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com>
* longlong.h [__mips__] (count_leading_zeros, COUNT_LEADING_ZEROS_0):
Define for MIPS32 and MIPS64.
2007-08-02 Nick Clifton <nickc@redhat.com> 2007-08-02 Nick Clifton <nickc@redhat.com>
* config/host-hpux.c: Change copyright header to refer to version * config/host-hpux.c: Change copyright header to refer to version
......
...@@ -624,6 +624,11 @@ UDItype __umulsidi3 (USItype, USItype); ...@@ -624,6 +624,11 @@ UDItype __umulsidi3 (USItype, USItype);
"d" ((USItype) (v))) "d" ((USItype) (v)))
#define UMUL_TIME 10 #define UMUL_TIME 10
#define UDIV_TIME 100 #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__ */ #endif /* __mips__ */
#if defined (__ns32000__) && W_TYPE_SIZE == 32 #if defined (__ns32000__) && W_TYPE_SIZE == 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment