From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 04 May 2010 22:02:19 +0200 (CEST) Received: from mail3.caviumnetworks.com ([12.108.191.235]:11809 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1492741Ab0EDUCN (ORCPT ); Tue, 4 May 2010 22:02:13 +0200 Received: from caexch01.caveonetworks.com (Not Verified[192.168.16.9]) by mail3.caviumnetworks.com with MailMarshal (v6,7,2,8378) id ; Tue, 04 May 2010 13:02:24 -0700 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by caexch01.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 4 May 2010 13:01:28 -0700 Received: from dd1.caveonetworks.com ([12.108.191.236]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Tue, 4 May 2010 13:01:28 -0700 Message-ID: <4BE07D13.6010105@caviumnetworks.com> Date: Tue, 04 May 2010 13:01:23 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Manuel Lauss CC: Geert Uytterhoeven , Ralf Baechle , "Kevin D. Kissell" , Shane McDonald , linux-mips@linux-mips.org Subject: Re: Unexpected behaviour when catching SIGFPE on FPU-less system References: <4BDF8092.1060401@paralogos.com> <4BE00207.6030506@paralogos.com> <4BE0479E.6060506@paralogos.com> <20100504184457.GA21929@linux-mips.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 May 2010 20:01:28.0189 (UTC) FILETIME=[9525F2D0:01CAEBC4] Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 26587 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ddaney@caviumnetworks.com Precedence: bulk X-list: linux-mips On 05/04/2010 12:30 PM, Manuel Lauss wrote: > On Tue, May 4, 2010 at 9:28 PM, Geert Uytterhoeven wrote: >> On Tue, May 4, 2010 at 20:44, Ralf Baechle 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