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: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 21 Oct 2013 14:07:15 +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/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16064
--- Comment #3 from Rich Felker <bugdal at aerifal dot cx> ---
I'm fairly indifferent on which solution is used (among the two options that
don't require a new symbol version), but I disagree that merging the states is
bad from a QoI standpoint. The saved floating point environment needs only
preserve the state visible to a correct application, and separate x87 and SSE
states are not visible (the functions to set the modes set both, and the
functions to read exception flags already read and merge both). In my mind, the
only reason the x87 hardware structure is mimicked in fenv is for the sake of
simplifying/optimizing the code to save/restore state. Otherwise, fenv_t could
just be an arch-independent structure containing the rounding mode and
exception flags.
--
You are receiving this mail because:
You are on the CC list for the bug.