Re: Question: Using floating point in the kernel

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Sep 21 2000 - 18:04:56 EDT

  • Next message: Alan Cox: "Re: [RFC] ioctl(2) return value"

    > On Wed, 20 Sep 2000, Lyle Coder wrote:
    > >You cannot use MMX registers in the kernel either, since the kernel doesen't
    > >save and restore FX state (fxsave, fxrstor) either (just like
    > >(fsave/frstor).
    >
    > You might want to tell the software RAID maintainers that... RAID5 CRC
    > calculations can be done with MMX. (I'm sure they save and restore the
    > FPU state, however. Yes, the save/restore cycle is _damned_ expensive.)

    The raid5 folks include Ingo who knows precisely what he is doing to get
    away with it. For 2.4 its a bit cleaner and there is infrastructure for it

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



    This archive was generated by hypermail 2b29 : Thu Sep 21 2000 - 18:06:37 EDT