Re: Kernel area libmish stuff (Cordic algorithm)

2001-03-15 Thread Joachim Strömbergson
Aloha! Peter Jeremy wrote: For a totally different approach, try Cordic algorithms. Cordic algorithms let you implement circular and hyperbolic functions (including exponential, log and sqrt) using add, subtract, shift and table lookup. (An n-bit result needs an n-entry x n-bit table, 2n

Re: Kernel area libmish stuff

2001-03-11 Thread Peter Jeremy
On Sat, 10 Mar 2001 21:37:28 -0800, Farooq Mela [EMAIL PROTECTED] wrote: Jordan DeLong wrote: I was thinking of just getting a sintable array and making a few simple functions, so the whole of libm doesn't need to be statically linked into the module (from my understanding, once loaded, this

Re: Kernel area libmish stuff

2001-03-10 Thread Farooq Mela
Jordan DeLong wrote: I was thinking of just getting a sintable array and making a few simple functions, so the whole of libm doesn't need to be statically linked into the module (from my understanding, once loaded, this module wont ever get paged out, and thus it'd be _bad_ for it to be big).

Kernel area libmish stuff

2001-03-09 Thread Jordan DeLong
Well here's the story: a few days ago my video card broke, so I'm without X and such, and using a spare 486 box on the freebsd console. Out of lack of other things to do, I did most of the porting of one of the screensavers in the xscreensaver collection to the freebsd syscons. The problem I'm

Re: Kernel area libmish stuff

2001-03-09 Thread Matthew Emmerton
Well here's the story: a few days ago my video card broke, so I'm without X and such, and using a spare 486 box on the freebsd console. Out of lack of other things to do, I did most of the porting of one of the screensavers in the xscreensaver collection to the freebsd syscons. The

Re: Kernel area libmish stuff

2001-03-09 Thread Matt Dillon
You can't safely do FP instructions in the kernel. I do not believe the FP context is saved/restored between processes in kernel mode, only from user mode. The kernel saves and restores the fp state in the few places it uses FP instructions (for memory copying). In anycase,

Re: Kernel area libmish stuff

2001-03-09 Thread Richard Hodges
On Fri, 9 Mar 2001, Matt Dillon wrote: You can't safely do FP instructions in the kernel. I do not believe the FP context is saved/restored between processes in kernel mode, only from user mode. The kernel saves and restores the fp state in the few places it uses FP

Re: Kernel area libmish stuff

2001-03-09 Thread Matthew Emmerton
On Fri, 9 Mar 2001, Matt Dillon wrote: You can't safely do FP instructions in the kernel. I do not believe the FP context is saved/restored between processes in kernel mode, only from user mode. The kernel saves and restores the fp state in the few places it uses FP