This is the mail archive of the gcc-patches@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: [PING][PATCH/RFT] Fix PR middle-end/PR28690, modify swap_commutative_operands_p


On Sat, 2007-04-28 at 08:31 -0700, H. J. Lu wrote:
> I tried your patch on gcc 4.3 revision 123850. But eon in SPEC
> CPU 2K failed on Linux/ia32 at -O2. I have
> 
> 252.eon=default=default=default:
> CXXPORTABILITY = -DHAS_ERRLIST
> srcalt=fmax_errno
> 
> and got
> 
>   Running 252.eon ref base o2 default
> *** Miscompare of pixels_out.kajiya, see
> /export/spec/src/2000/spec/benchspec/CINT2000/252.eon/run/00000002/pixels_out.kajiya.mis
> Invalid run; unable to continue.  If you wish to ignore errors please
> use '-I' or ignore_errors
> 
> There is no problem with gcc 4.3 revision 123850 without your patch.
> Does gcc 4.3 revision 123850 plus your patch work with SPEC CPU 2K
> on Linux/ia32? What is your config on eon?

Well when we ran SPEC2000 (only used -O2), eon passed with our patch and
failed without.  However, given what Paolo said in this post:

    http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01153.html

Without -ffast-math, it's probably just luck that is passes with or
without the patch.  So the short answer is, for eon, use -ffast-math.

Peter




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