This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12420] On AMD64 linux, getcontext resets FPU exception mask.
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 18 Apr 2011 16:16:40 +0000
- Subject: [Bug libc/12420] On AMD64 linux, getcontext resets FPU exception mask.
- Auto-submitted: auto-generated
- References: <bug-12420-131@http.sourceware.org/bugzilla/>
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.