This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: fpucw setting: Test and Question


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   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]