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

Rich Felker <bugdal at aerifal dot cx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugdal at aerifal dot cx

--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> ---
No, fixing it is much easier. The best way, in my opinion, is simply to merge
the SSE exception flags into the x87 registers when saving the context, and
clear them when restoring. However, if I'm not mistaken glibc already solves
this problem in a different way, reusing one of the "unimportant" fields in the
x87 structure (EIP of last fault, I believe) to store the SSE state. This of
course works too.

-- 
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]