PATCH: ffs/ctz expansions using clz

Mark Mitchell mark@codesourcery.com
Wed Aug 8 20:51:00 GMT 2007


Daniel Jacobowitz wrote:
> On Wed, Aug 08, 2007 at 01:41:30PM -0700, Andrew Pinski wrote:
>>> All right.  Let's do the following for CLZ_DEFINED_VALUE_DEFINED_AT_ZERO:
> 
>> #define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \
> 
> Aren't those different macros?

Only because I misspelled mine.  Andrew's right; I misinterpreted what
the rs6000/rs6000.h macro is doing.  So, Sandra, you will also need to
modify that implementation of the macro to return 1, in the same way
that, for example, ARM does.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list