From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: floating exception
Date: Wed, 14 Jan 1998 09:00:25 -0700 (MST) [thread overview]
Message-ID: <ac2a39e1edc55be6a4ad5767bd6d9331.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.SOL.3.91.980114105358.14105A-100000@greco2>
>
> > Kernel provides ieee_set_fp_control() (see <asm/fph.h>)
> ....
>
> I did a grep ieee_set_fp_control on my whole kernel tree and the
> /usr/include tree on my system :
Very good. :-)
> I just found this comment
>
> "
> include/asm/fpu.h: * ieee_set_fp_control() etc. can be implemented
> easily and .....
> "
Right! You found the famous "documentation". :-) If somebody will
tell me that I missed a detailed description in some other place
I am all ears.
> do you mean that it is not yet implemented(at least on my system)?
Why? This is, obviously, a user space function and kernel only provides
hooks to implement it. If you want to see if you really have it you
should try something like that:
$ nm /lib/libc.so.6 | grep ieee
00000000000878e0 T __ieee_get_fp_control
0000000000087920 T __ieee_set_fp_control
00000000000878e0 W ieee_get_fp_control
0000000000087920 W ieee_set_fp_control
So it is there. Beyond that it is trivial to write a two line C program
which uses the function and try to see if it links. Faster and more
reliable than bothering the whole world. And apart of that I wrote
explicitely that the function is available and even provided, guessed,
prototype for it.
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1998-01-14 16:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SOL.3.91.980114105358.14105A-100000@greco2>
1998-01-14 16:00 ` Michal Jaegermann [this message]
[not found] <199801132125.WAA03288@stefan.sime.com>
1998-01-13 22:42 ` floating exception Michal Jaegermann
1998-01-14 13:29 ` Jerry Feldman
[not found] <199801132242.PAA03608@ellpspace.math.ualberta.ca>
1998-01-14 9:58 ` Alessandro Mirone
1998-01-13 21:25 Stefan Traby
-- strict thread matches above, loose matches on Subject: below --
1998-01-13 20:11 Richard Hadsell
1998-01-13 16:03 David Gilbert
1998-01-13 17:18 ` Jerry Feldman
[not found] <34BB6FB0.1092A7A0@cogency.co.uk>
1998-01-13 15:24 ` Jerry Feldman
1998-01-13 15:09 Richard Hadsell
1998-01-13 13:44 David Alan Gilbert
[not found] <Pine.SOL.3.91.980113105530.27582E-100000@greco2>
1998-01-13 13:25 ` Jerry Feldman
1998-01-13 11:00 Alessandro Mirone
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox