Alan Coopersmith wrote:
>
>
> Would the fix be to insert an asm("emms") into the signal handler
>
I realize I never weighed in on the proper way to deliver the fix.
I don't believe a Studio compiler fix is the correct solution. The test
code
in OSOL bug 9862 fails under gcc also.
Inserting the asm("emms") in routine invoked in the signal handler would
be the quickest fix since it is encapsulated in the X bit.
I believe the Solaris signal delivery code for 32-bit apps is broken for
handlers which will execute x87 instructions when the signal is taken
running mmx code. I'm still reading through the ABI and system docs,
but this appears to be a gray area that has not been discussed.