Re: Linux 2.4.10-pre11 -- __builtin_expect

From: Richard Henderson (rth@twiddle.net)
Date: Thu Oct 04 2001 - 13:52:04 EST


On Thu, Sep 27, 2001 at 06:28:08PM +0200, Andreas Schwab wrote:
> You're right, seems like __builtin_expect is really only defined for pure
> boolean values.

I think the documentation mentions the current deficiency in that area.
It is _supposed_ to be defined for all integral and pointer types, but
that is hard with the current built-in infrastructure in the C front end.

r~
-
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/



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:33 EST