This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: MD_FALLBACK_FRAME_STATE_FOR and floating point...


On Tue, Oct 21, 2003 at 09:34:15AM -0700, David Daney wrote:
> 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?

You need to restore registers that are call-saved, so that they'll
be correct when you get to the final destination.  On x86, there 
are no call-saved floating point registers, so none are restored.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]