Re: [PATCH] gcc-3.1 ffs problem, kernel 2.4.18

Linus Torvalds (torvalds@transmeta.com)
Tue, 2 Apr 2002 16:04:58 -0800 (PST)


On Tue, 2 Apr 2002, Richard Henderson wrote:
>
> That said, we should probably be using __builtin_ffs
> instead. The compiler knows how to do bsfl plus the
> adjustment. Plus, it knows how to evaluate it at
> compile-time for constants.

When was __builtin_ffs introduced? I know it didn't use to exist, but
we've obviously bumped up the gcc requirements several times, so..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/