Re: Unexpected behaviour when catching SIGFPE on FPU-less system

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

 



On 05/04/2010 12:30 PM, Manuel Lauss wrote:
On Tue, May 4, 2010 at 9:28 PM, Geert Uytterhoeven<geert@xxxxxxxxxxxxxx>  wrote:
On Tue, May 4, 2010 at 20:44, Ralf Baechle<ralf@xxxxxxxxxxxxxx>  wrote:
On Tue, May 04, 2010 at 09:13:18AM -0700, Kevin D. Kissell wrote:

What we used to use was what I *thought* was an old public domain
program whose name was an English word that had something to do with
being exacting.  Googling with obvious keywords didn't turn it up.

Is it paranoia by any chance?  Paranoia is available as single files at:

  http://www.math.utah.edu/~beebe/software/ieee/paranoia.c
  http://www.math.utah.edu/~beebe/software/ieee/paranoia.h

You also need

http://www.math.utah.edu/~beebe/software/ieee/args.h

Ran fine on:
  - Toshiba RBTX4927 (with FPU :-)
  - Mikrotik RouterBOARD 150 (without FPU), using an older 2.6.x OpenWRT kernel

and runs into an endless loop around line 806 when built with
a softfloat toolchain (gcc-4.4.3).


From the point of view of this specific problem, using a softfloat toolchain isn't what you want to do.

The question is if the kernel's FP emulator is operating correctly, if you never execute any FP instructions (due to the use of a softfloat toolchain), you would not be testing the emulator.

David Daney


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux