Luciano Miguel Ferreira Rocha wrote:
> On Tue, Jul 15, 2003 at 01:06:19PM -0400, Brian Gerst wrote:
>
>>Use HZ/2 instead. GCC doesn't optimize floating point constants to the
>>same degree it does integers, because it doesn't know what mode
>>(rounding, precision) the FPU is in.
>
>
> Isn't (HZ >> 1) better?
Same thing. GCC knows that division by a power of 2 is just a shift.
-- Brian Gerst- 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 : Tue Jul 15 2003 - 22:00:59 EST