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~