On Thu, 21 Nov 2002, Andrew Morton wrote:
> Dave Jones wrote:
> We'd buy a bit by arranging for the in-kernel copy of the fp state
> to have the same layout as the hardware. That way it can be done in
> a single big, fast, well-aligned slurp. But for some reason that code has
> to convert into and out of a different representation.
>
> But the real low-hanging fruit here is the observation that the
> test application doesn't use floating point!!!
>
> Maybe we need to take an fp trap now and then to "poll" the application
> to see if it is still using float.
I thought we used to do that and someone (Linus??) thought the complexity
didn't justify the saving. Always seemed like a good idea to me, but with
the various types of processor we have today, it's harder to say what wins
until benchmarks are done.
Hopefully someone has a better memory than I about this.
-- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979.- 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 : Sat Nov 23 2002 - 22:00:37 EST