On Sat, Nov 13, 2010 at 1:08 PM, Xinliang David Li <davi...@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.