This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/16064] x86 fenv_t doesn't include SSE state
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 21 Oct 2013 12:23:47 +0000
- Subject: [Bug math/16064] x86 fenv_t doesn't include SSE state
- Auto-submitted: auto-generated
- References: <bug-16064-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=16064
--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The EIP hack is only used in the internal fenv inlines used within libm
functions that need to change and restore state themselves, not in the
public interface implementation.
The EIP hack would seem reasonable for avoiding new symbol versions.
Merging SSE state into x87 state seems a less good idea; as a
quality-of-implementation matter, fenv_t should include
architecture-specific floating-point status flags and control modes, and
at least the FZ and DAZ bits of MXCSR don't correspond to x87 state.
(I've filed bug 16068 for failure of fesetenv to handle some of the
architecture-specific state as it should.)
--
You are receiving this mail because:
You are on the CC list for the bug.