Re: floating point support
From: Clive Dove (chdove_at_rogers.com)
Date: 09/13/03
- Next message: Dances With Crows: "Re: Mouting Digital Camera / USB"
- Previous message: B. Joshua Rosen: "Re: Linux on Apple LCIII"
- In reply to: Wiseguy: "Re: floating point support"
- Next in thread: André Janz: "Re: floating point support"
- Reply: André Janz: "Re: floating point support"
- Reply: John-Paul Stewart: "Re: floating point support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 12 Sep 2003 23:29:07 GMT
Wiseguy wrote:
> On the wall of the virtual bathroom stall, hagit_guy@hotmail.com
> (Hagit) scratches:
>> noone@celeron.local (Wiseguy) wrote in message
>> news:<3f5c2aa3_2@127.0.0.1>...
>>> On the wall of the virtual bathroom stall, hagit_guy@hotmail.com
>>> (Hagit) scratches: Could you elaborate on this "lack of proper
>>> floating point support?"
>>
>> as I understood, I am not allowed using floating point in kernel. I
>> have written a module which have a double variable. I succeded to
>> compile it, but when I have inserted the module, the message
>>:"floating point used in kernel (task=... pc=...)" appeared. I must
>> use the double type. do you know how can I deal that problem? (p.s -
>> I am not using any floating point register. the compiler does the
>> floating emulation).
>
> Ah...now I understand...
>
> First question: Are you really certain that you need to use the FPU
> in
> your driver? I am having a hard time envisioning any driver math that
> would require an FPU for reasonable performance.
>
> I can only think of two reasons why module programming would not allow
> the
> use of the FPU. 1) since not all platforms support an FPU it would
> make
> the kernel source less generic. and 2) simple laziness on the part of
> kernel developers who don't want to deal with handling of floating
> point exceptions/interrupts
>
> Only suggestion I have is to go to the linux kernel development site
> and sign up on the kernel developers mail list, then post your
> question there. The esoteric nature of kernel programming and FPU is
> probably a bit beyond this group.
OT, but how about BCD arithmatic? I want to convert a mortgage am jig
from OS/2 and BCD is more appropriate than floating point for money
calculations.
- Next message: Dances With Crows: "Re: Mouting Digital Camera / USB"
- Previous message: B. Joshua Rosen: "Re: Linux on Apple LCIII"
- In reply to: Wiseguy: "Re: floating point support"
- Next in thread: André Janz: "Re: floating point support"
- Reply: André Janz: "Re: floating point support"
- Reply: John-Paul Stewart: "Re: floating point support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|