Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2003 11:10:09 -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:  <200305121810.h4CIA9gI040006@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, mi@aldan.algebra.com
Cc: das@FreeBSD.org, ura@euro-bill.net, re@FreeBSD.org
Subject: Re: bin/43299: march=pentium4 miscompiles msun/src/e_pow.c
Date: Mon, 12 May 2003 14:02:49 -0400

 My most recent encounter with this bug is the failure of the selftest of
 ports/graphics/lcms.
 
 I recompiled the libm (lib/msun) with -march=pentium3 and reinstalled
 it. After that the lcms passed its own self-test. Note, that lcms did
 NOT require recompiling -- using the pentium3 version of libm it had no
 problems.
 
 Linux, where most of the gcc's development is going on, does not appear
 to suffer. gallatin says, icc does not have this problem. Could it be,
 that our own i387 implementation of some of the functions fail on
 pentium4 and its SSE2?
 
 May be, the -march setting should be forced down to pentium3 in the
 lib/msun subdirectory in case CPUTYPE is set to p4 -- for the time
 being?
 
 	-mi
 
 P.S. The i386/51210 appears to document the same bug:
 
 	http://www.FreeBSD.org/cgi/query-pr.cgi?pr=i386/51210
 
 
 



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