Re: sunffb

Martin Husemann <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Tue, May 31, 2005 at 08:23:39AM -0600, Marc Aurele La France wrote:
> What does NetBSD do with the trap?

Re-enable the FPU, restore old FPU state, and retry. No signal to userland
is generated.

This is the standard lazy fpu saving game - it just did not occur to us
that userland code would try the trick played here. We are now investigating
and might special case this too. The current trap handling for this case
in NetBSD definitively is suboptimal.

> Another option would be to export something like xf86{En,Dis}ableFPU() from 
> os-support/ and have OS-specific implementations there.

I'm not sure this is worth it.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.