* config/cris/cris.h (TARGET_HAS_LZ, CLZ_DEFINED_VALUE_AT_ZERO):
commit746062bcd4d3d72207bd707abc7309029222f822
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Sep 2007 00:47:30 +0000 (3 00:47 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Sep 2007 00:47:30 +0000 (3 00:47 +0000)
treecbd027da307f29492e94fa168a16a2f7e28648bd
parent78747de29011f2957a7a5e267d45620890df5212
* config/cris/cris.h (TARGET_HAS_LZ, CLZ_DEFINED_VALUE_AT_ZERO):
Defined to describe availability and behavior of CLZ.
* config/cris/cris.md (clzsi2): Implement using lz instruction.
* config/cris/cris.opt: Tweak comment for "-metrax4".
* config/cris/arit.c (LZ): When defined, define as __builtin_clz.
* longlong.h [__CRIS__ && __CRIS_arch_version >= 3]
(count_leading_zeros): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128034 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/cris/arit.c
gcc/config/cris/cris.h
gcc/config/cris/cris.md
gcc/config/cris/cris.opt
gcc/longlong.h