This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/16068] New: x86 and x86_64 fesetenv exclude state they should include


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.


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