This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SPEC2000 252.eon generates invalid results when compiled -O3 with g++ 3.3
- From: Casey Leedom <casey_leedom at yahoo dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Joe Buck <jbuck at synopsys dot com>, dann at godzilla dot ics dot uci dot edu, mark at codesourcery dot com, gcc at gcc dot gnu dot org, dan at dberlin dot org, jh at suse dot cz, aj at suse dot de
- Date: Thu, 27 Mar 2003 15:29:31 -0800 (PST)
- Subject: Re: SPEC2000 252.eon generates invalid results when compiled -O3 with g++ 3.3
--- Jan Hubicka <jh at suse dot cz> wrote:
>
> The problem actually is that 386 uses x87 for FP operations that does
> use 80bit values for temporaries. The eon depends on roundoff errors
> and thus get slightly different results.
> The way to fix it is to ldpreload simple constructor that does set
> control word to 64bits like windows does.
Ah! I'll try specifying −mfpmath=sse2. The default compile
environment on this box is "-m64 -cpu=k8". When I specified "-m32" that
probably caused gcc to default to "-mcpu=i386". My bad. Thanks. As soon as I
get a good run out I'll reply with a confirmation. Sorry for the bogus email.
Casey
__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com