MD_FALLBACK_FRAME_STATE_FOR and floating point...
David Daney
ddaney@avtrex.com
Tue Oct 21 17:24:00 GMT 2003
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.
More information about the Gcc
mailing list