This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
MD_FALLBACK_FRAME_STATE_FOR and floating point...
- From: David Daney <ddaney at avtrex dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 21 Oct 2003 09:34:15 -0700
- Subject: MD_FALLBACK_FRAME_STATE_FOR and floating point...
A couple of days ago I checked in MD_FALLBACK_FRAME_STATE_FOR for
mips*-linux.
Then I got to thinking, this thing restores all the general purpose
registers, but no "special" registers like floating point and the
high/low registers. If my signal handlers did any floating point I
think I would be screwed. Well the cpu I am using uses software
floating point so I personally would not be screwed, it would be
everyone else.
With this in mind I looked at MD_FALLBACK_FRAME_STATE_FOR for
i386-linux. I cannot see that it restores floading point registers either.
Q1: Am I missing something?
Q2: Is there some unwritten rule that you should not use floating point
in signal handlers?
David Daney.