From owner-cvs-src@FreeBSD.ORG Tue Jul 15 18:18:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3321137B401; Tue, 15 Jul 2003 18:18:06 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A49BD43FA3; Tue, 15 Jul 2003 18:18:03 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3p2/8.8.7) with ESMTP id LAA11875; Wed, 16 Jul 2003 11:17:59 +1000 Date: Wed, 16 Jul 2003 11:17:58 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: David Schultz In-Reply-To: <20030715060049.GA33856@HAL9000.homeunix.com> Message-ID: <20030716110439.M13786@gamplex.bde.org> References: <200307121933.h6CJXYsP069815@repoman.freebsd.org> <20030715060049.GA33856@HAL9000.homeunix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Alexander Kabaev cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/gcc/config/i386 freebsd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 01:18:06 -0000 On Mon, 14 Jul 2003, David Schultz wrote: > On Sat, Jul 12, 2003, Alexander Kabaev wrote: > > kan 2003/07/12 12:33:34 PDT > > > > FreeBSD src repository > > > > Modified files: > > contrib/gcc/config/i386 freebsd.h > > Log: > > Do not override FP rounding options for 32bit platforms. amd64 doesn't > > need this. > > You mean for 64-bit platforms, right? Does this mean that gcc's > problems with FP precision and constant evaluation have been > fixed, at least for amd64? I understand there have been some > improvements in this area in gcc 3.3. Right. It just means that the override is broken for the TARGET_64BIT case. amd64 seems to need the code for the same reasons as i386 (the npx control word is set to round to 53-bit precision). The override informs gcc of this, but it apparently causes problems for the 64-bit case. This seems to be the only improvement in this area. i386.md still bogusly says that the i387 has non-widening FP operations (SF + SF -> SF, etc.), so casts and assignments don't narrow widened FP results on i386's. Bruce