fpucw setting: Test and Question

Ulrich Drepper drepper@redhat.com
Wed Jul 5 15:17:00 GMT 2000


Andreas Jaeger <aj@suse.de> writes:

> On i686 the program outputs:
> 
> $ cat math/test-fpucw.out 
> control word is 0x37f but should be 0x137f.
> 
> What's the right value?  The kernel uses 0x37f but glibc also sets
> 0x1000 which seems to be a reserved bit.  Why do we set this?

It doesn't matter.  The 0x1000 bit is only interesting for 8087 and
80287.  We can go to 0x37f.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list