Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 13:40:05 -0700 (PDT)
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/43299: march=pentium4 miscompiles msun/src/e_pow.c
Message-ID:  <200209232040.g8NKe5Tu010784@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/43299; it has been noted by GNATS.

From: Mikhail Teterin <mi+mx@aldan.algebra.com>
To: FreeBSD-gnats-submit@FreeBSD.org, kan@FreeBSD.org
Cc: "David E. O'Brien" <obrien@FreeBSD.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209232040.g8NKe5Tu010784>