Convert PowerPC MD to use CLZ

Richard Henderson rth@redhat.com
Sat Feb 8 02:18:00 GMT 2003


On Fri, Feb 07, 2003 at 08:52:50PM -0500, David Edelsohn wrote:
> 	(ffsdi2): Use clz instead of unspec.

You should consider implementing ctz[sd]i2 as well, since libstdc++
now uses this in its bit scanning routines.  In your case I think
it's just ffs-1, since you need no test for zero in ffs.


r~



More information about the Gcc-patches mailing list