This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 &#8722;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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]