Re: Calculator problem on ARM board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, Nov 05, 2008 at 08:13:20AM -0600, Bill Gatliff wrote:
> kartikay Malhotra wrote:
> > Is there a problem in the compiler, or is double precision arithmetic
> > incorrect? The same application complied for x86 gives no error.
> 
> Well, if both systems conform to ieee695 then the results should be identical.
> Is one machine soft-float and the other using an FPU?  Note that for ARM, the
> FPU might be emulated by kernel code, so you are actually using a different
> runtime implementation than x86.  For apples-to-apples comparisons, use
> soft-float everywhere.

Umm, that doesn't follow.

The ARM GCC soft-float implementation is an assembly code FP implementation
by Nicolas.  It isn't remotely useful on x86.  So, soft-float on x86 and
soft-float on ARM would still be two different implementations.

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter