From owner-freebsd-bugs Mon Sep 23 13:40: 7 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB44D37B401 for ; Mon, 23 Sep 2002 13:40:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AACA43E6A for ; Mon, 23 Sep 2002 13:40:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8NKe5Co010788 for ; Mon, 23 Sep 2002 13:40:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8NKe5Tu010784; Mon, 23 Sep 2002 13:40:05 -0700 (PDT) Date: Mon, 23 Sep 2002 13:40:05 -0700 (PDT) Message-Id: <200209232040.g8NKe5Tu010784@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mikhail Teterin Subject: Re: bin/43299: march=pentium4 miscompiles msun/src/e_pow.c Reply-To: Mikhail Teterin Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43299; it has been noted by GNATS. From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org, kan@FreeBSD.org Cc: "David E. O'Brien" Subject: Re: bin/43299: march=pentium4 miscompiles msun/src/e_pow.c Date: Mon, 23 Sep 2002 16:32:17 -0400 This has something to do with how the function's parameters are being passed in the SSE2 case. In the debugger, when entering the function, its second argument is already corrupted: (gdb) s main () at t.c:9 9 printf("%g^%g is %g\n", 2.0, 2.1, __ieee754_pow(2.0, 2.1)); (gdb) s __ieee754_pow (x=2.1000000000000001, y=-nan(0x8000000000000)) at e_pow.c:107 107 EXTRACT_WORDS(hx,lx,x); Hope, this helps, -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message