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/16064] x86 fenv_t doesn't include SSE state


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.


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