Re: sunffb

Marc Aurele La France <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
On Tue, 31 May 2005, Martin Husemann wrote:
> 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.

So you're suggesting this should/will be fixed in NetBSD's kernel?

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [email protected]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
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.