I assume we're talking about x86 architecture.  What you
want to do is to read the status register of the FPU.  IIRC
there are FPU-instructions for doing just that.
Unfortunately I don't know the linux assembler well enough
to come up with a Q&D means of doing that but hopefully one
of the gurus will jump in and save the day.

    Norm

----- Original Message -----
From: Estabridis, Janet P <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 02, 2001 4:49 PM
Subject: [rtl] More questions about floating point


> Hi,
>
> Can you check for a floating point overflow if you are
using floating point
> in a kernel thread ?
>
> Janet Estabridis
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail
[EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to