From owner-freebsd-java Sat Feb 15 11:10:54 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FA0437B405 for ; Sat, 15 Feb 2003 11:10:53 -0800 (PST) Received: from ms-smtp-01.texas.rr.com (ms-smtp-01.texas.rr.com [24.93.36.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7953F43F3F for ; Sat, 15 Feb 2003 11:10:52 -0800 (PST) (envelope-from wbooth@austin.rr.com) Received: from wdbnb.boothscientific.com (cs24243209-38.austin.rr.com [24.243.209.38]) by ms-smtp-01.texas.rr.com (8.12.5/8.12.2) with ESMTP id h1FJ5Nbm014157 for ; Sat, 15 Feb 2003 14:05:23 -0500 (EST) From: David Booth To: java@FreeBSD.ORG Subject: Re: Math.pow bug for jdk1.3.1-p8 ? Date: Sat, 15 Feb 2003 13:10:50 -0600 User-Agent: KMail/1.5 References: <3E4C9DDD.4040204@gddsn.org.cn> <20030216.005020.894433699.shudo@localhost> <20030215174554.GA97285@moo.holy.cow> In-Reply-To: <20030215174554.GA97285@moo.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302151310.51070.wbooth@austin.rr.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday 15 February 2003 11:45 am, parv wrote: > in message <20030216.005020.894433699.shudo@localhost>, wrote > shudo@computer.org thusly... > > > From: Greg Lewis > > > > > On Sat, Feb 15, 2003 at 05:54:21PM +0900, shudo@computer.org > > > wrote: > > ... > > > > > It is certain that there is a problem around fdlibm, FreeBSD's > > > > gcc 2.95.4 or how the fdlibm compiled (compiler flags?). > > > > > > Sounds like its quite possibly due to problems with > > > optimisation. Obviously, java_g uses no optimisation when > > > compiling, > > ... > > > Next thing we can do to track the cause down is to compile > > e_pow.c, w_sqrt.c, e_sqrt.c, s_fabs.c, s_scalbn.c and s_copysign.c > > with different compiler options (-O0, -O2 and so on) and see the > > result of the ieee754_pow() function. > > I have only -O option set. I would love to test all the variations, > but my computer is too slow for me to wait the two-three iterations > to test. > A few of more data points: 1.3.1p7 built on 5.0 release gcc3.2.1 -O2 TestPow works (i=512); 1.3.1p8 built on 5.0 release gcc3.2.1 -O2 TestPow fails (i=17); 1.3.1p7 built on 4.7 stable gcc3.2.2 -O2 TestPow works (i=512); 1.3.1p8 built on 4.7 stable gcc3.2.1 -O2 TestPow fails (i=17); 1.3.1p8 built on 4.7 stable gcc3.2.2 -O2 TestPow fials (i=17); > > - Parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message