Re: using gcc built-ins for bitops?

From: Linus Torvalds
Date: Thu Jun 24 2004 - 10:33:10 EST




On Thu, 24 Jun 2004, Arjan van de Ven wrote:
>
> It's actually fine; the architecture first needs to include this file and
> there it can use the proper ifdefs; the functions themselves don't matter,
> only when they can be used, and the arch still controls that.

And my argument is: what the hell does this _buy_ us, except for extra
complexity, and even more code dependence on different versions of gcc.

I don't want the extra code-paths and magic #ifdef's unless there's a
clear improvement somewhere. And quite frankly, I don't see that being the
case for something like ffs.

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