cris.h (TARGET_HAS_LZ, [...]): Defined to describe availability and behavior of CLZ.
authorJesper Nilsson <jesper.nilsson@axis.com>
Mon, 3 Sep 2007 00:47:30 +0000 (00:47 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 3 Sep 2007 00:47:30 +0000 (00:47 +0000)
commite636e5082715d2ff61685725187c2bbc2e9860cc
treecbd027da307f29492e94fa168a16a2f7e28648bd
parentf568cd7be88adee8585a0ae4f741a9937210a8a2
cris.h (TARGET_HAS_LZ, [...]): Defined to describe availability and behavior of CLZ.

* 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.

Co-Authored-By: Hans-Peter Nilsson <hp@axis.com>
From-SVN: r128034
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