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]

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.



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