RFC: using clz for comparing to zero on the tree level.
David Edelsohn
dje@watson.ibm.com
Thu May 8 14:23:00 GMT 2003
>>>>> 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
More information about the Gcc
mailing list