> 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 think emms is an MMX instruction; such a workaround should
probably test if MMX is available, before using the instruction.
Otherwise X would core dump on old cpus that don't support
the MMX extension.
--
This message posted from opensolaris.org