This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: using clz for comparing to zero on the tree level.
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Richard Henderson <rth at redhat dot com>, Andrew Pinski <pinskia at physics dot uc dot edu>, gcc at gcc dot gnu dot org
- Date: Thu, 08 May 2003 10:22:23 -0400
- Subject: Re: RFC: using clz for comparing to zero on the tree level.
>>>>> Richard Henderson writes:
Richard> On Wed, May 07, 2003 at 09:35:30PM -0400, Andrew Pinski wrote:
>> Would it be okay for a patch which transforms some comparisons to
>> use clz if clz is defined at 0 for SImode or DImode and the target
>> wants it (these are all are wins for PPC in terms of size and speed).
Richard> If it's specific for PowerPC, but not otherwise.
Shouldn't this be based on the rtx_cost of CLZ?
David