This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16068] New: x86 and x86_64 fesetenv exclude state they should include
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 21 Oct 2013 12:22:45 +0000
- Subject: [Bug math/16068] New: x86 and x86_64 fesetenv exclude state they should include
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16068
Bug ID: 16068
Summary: x86 and x86_64 fesetenv exclude state they should
include
Product: glibc
Version: 2.18
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
Host: i?86-*-* x86_64-*-*
fenv_t should include architecture-specific floating-point modes and status
flags. x86 and x86_64 fesetenv limit which bits they use from the status and
control words, when using saved state, and limit which parts of the state they
set to fixed values, when using FE_DFL_ENV / FE_NOMASK_ENV. At least the
following should be included but are excluded in at least some cases: status
and masking for the "denormal operand" exception (which isn't part of
FE_ALL_EXCEPT); precision control (explicitly mentioned in Annex F as something
that counts as part of the floating-point environment); MXCSR FZ and DAZ bits.
--
You are receiving this mail because:
You are on the CC list for the bug.