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


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.


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