GCC-4.5.0 comparison with previous releases and LLVM-2.7 on SPEC2000 for x86/x86_64

Xinliang David Li davidxl@google.com
Mon Nov 15 09:29:00 GMT 2010


Thanks, this works.

gcc vs llvm

176.gcc: +3.7%
252.eon: +6.1%

David

On Sat, Nov 13, 2010 at 3:14 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Sat, Nov 13, 2010 at 1:08 PM, Xinliang David Li <davidxl@google.com> wrote:
>>
>> Though gcc leads LLVM in performance overrall, there are a couple of
>> benchmarks gcc is worse: vpr and crafty (64bit and 32bit), parser and
>> twolf (32bit), vortex (64bit).  This needs to be triaged.   gcc
>> miscompiles gcc and eon in 32bit -- is there a bug tracking the
>> problem?
>>
>
> GCC trunk compiles and runs SPEC CPU 2K correctly at
> -O2 and -O3 for both 32bit and 64bit on x86:
>
> http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg00977.html
> http://gcc.gnu.org/ml/gcc-testresults/2010-11/msg00983.html
>
> You need alternate source for eon. I use:
>
> 252.eon=default=default=default:
> CXXPORTABILITY = -DHAS_ERRLIST
> EXTRA_CXXFLAGS=-ffast-math -mpc64
> EXTRA_LDFLAGS = -ffast-math -mpc64
> srcalt=gcc43
>
> 176.gcc=default=default=default:
> CPORTABILITY  = -Dalloca=_alloca
>
>
> --
> H.J.
>



More information about the Gcc mailing list