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 libc/12420] On AMD64 linux, getcontext resets FPU exception mask.


http://sourceware.org/bugzilla/show_bug.cgi?id=12420

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-04-18 16:16:05 UTC ---
>From Intel64 SDM:

These instructions are often used by exception handlers because they provide
access to the FPU instruction and data pointers. The environment is typically
saved in the stack. Masking all exceptions after saving the environment
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
prevents floating-point exceptions from interrupting the exception handler.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]