floating point

From: jyliuZeroZero(replace_with_2_0s) (_at_yahoo.com)
Date: 12/01/04

  • Next message: guanglei li: "HardDisk crash after hpmount"
    Date: Wed, 01 Dec 2004 06:42:02 GMT
    
    

    Hi all,

    I am working on an embedded powerpc system and found that floating point
    computation doesn't work. I enabled kernel math emulator when building
    kernel image. I also tried to compile glibc with either --with-fp or
    --without-fp, and compile applications with either -msoft-float or
    without it. But none of combination (--w/o-fp vs. -msoft-float) works,
    the floating computation result is just not right. Does anybody know the
    what else I may do, either in kernel, toolchains or application?

    Thanks.

    Regards,

    Jingyu Liu


  • Next message: guanglei li: "HardDisk crash after hpmount"

    Relevant Pages

    • Re: unresoved symbol _gp_disp
      ... NO FLOATING POINT in the kernel PERIOD. ... save the FP context explicitely and disable preemption. ... designed to support userspace. ...
      (Linux-Kernel)
    • Re: floating point support
      ... I am not allowed using floating point in kernel. ... Do you mean "I turned on FPU ... I think Hagit is going for development speed over raw performance. ...
      (comp.os.linux.hardware)
    • Re: Using math.h in driver
      ... but there is rarely a good reason to use a floating point value. ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... > a ceilfunction in kernel? ... >> Don Burn (MVP, Windows DDK) ...
      (microsoft.public.win32.programmer.kernel)
    • Re: floating point emulation in 2.6 driver module
      ... restrictions on what the floating point can do. ... Without reading i387 datasheets, I can't tell you what guarantees that produces. ... gcc will then work "happily". ... > To all intents and purposes, there is no floating point in the kernel - ...
      (comp.os.linux.development.system)
    • Re: floating point support
      ... Wiseguy wrote: ... I am not allowed using floating point in kernel. ... Are you really certain that you need to use the FPU ...
      (comp.os.linux.hardware)