From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18515 invoked by alias); 23 May 2007 16:04:30 -0000 Received: (qmail 18505 invoked by uid 22791); 23 May 2007 16:04:28 -0000 X-Spam-Check-By: sourceware.org Received: from fw.cs.cas.cz (HELO fw.cs.cas.cz) (147.231.6.1) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 May 2007 16:04:25 +0000 Received: (from mailprox@localhost) by fw.cs.cas.cz (8.11.5/8.11.5) id l4NG4L813448; Wed, 23 May 2007 18:04:21 +0200 Received: from uivt1.cs.cas.cz(147.231.4.1) by fw.cs.cas.cz via smap (V2.1/2.1+anti-relay+anti-spam) id xma013443; Wed, 23 May 07 18:04:12 +0200 Received: from uivt1.cs.cas.cz (localhost.localdomain [127.0.0.1]) by uivt1.cs.cas.cz (8.12.10/8.12.8) with ESMTP id l4NG4C0a025780; Wed, 23 May 2007 18:04:12 +0200 Received: (from savicky@localhost) by uivt1.cs.cas.cz (8.12.10/8.12.10/Submit) id l4NG4CKp025778; Wed, 23 May 2007 18:04:12 +0200 Date: Wed, 23 May 2007 17:23:00 -0000 From: Petr Savicky To: tprince@computer.org Cc: gcc-help@gcc.gnu.org Subject: Re: where to discuss problems with IEEE 754 standard on x86 architecture? Message-ID: <20070523160411.GA8623@cs.cas.cz> References: <20070523070851.GA2951@cs.cas.cz> <4654395D.307@myrealbox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4654395D.307@myrealbox.com> User-Agent: Mutt/1.4.1i Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00226.txt.bz2 > Why didn't you follow the advice you quoted? > gcc -march=pentium4 -mfpmath=sse > When you compile code for pentium2, of course SSE is not available to > the compiler. Thank you very much. gcc -march=pentium4 -mfpmath=sse seems to work correctly. The threshold is now 1.5*2^{-52} as it should be. I did not try -march=pentium4 before, since man gcc contains several descriptions of -march for each architecture class separately and I did not reach the right one. Thanks to all of you, who send me advice. Petr.