Subject: Re: Floating point calculation in the kernel
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 02/24/2005 12:45:52
> Your options are to re-code your neural net using fixed-point
> arithmetic, or to investigate compiling it with -msoft-float.

Or to use a port on which this dance is unnecessary (VAX comes to mind;
the VAX FPU is tightly integrated with the main CPU and doesn't have
anything like FPU-disabled exceptions or context to save/restore).

Or tweak the port you're using to save/restore FPU state when your code
wants to use it.  (Though I suspect using the word "tweak" may
underestimate the work involved in this option.)

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B