Chris Lattner wrote:
On Apr 21, 2010, at 9:53 AM, Vladimir Makarov wrote:

Only SPECIn2000 for x86_64 has been compiled fully successfully by
dragonegg.  There were a few compiler crashes including some in LLVM
itself for SPECFP2000 and for SPECINT2000 for x86.

So here is SPECInt2000 for x86_64 comparison:

dragonegg: -O3 (with LLVM release build)
gcc4.5: -O3 -flto (--enable-checking=release)

        Compilation Time  SPECINT2000
Dragonegg 122.85user         2572
gcc-4.5   283.49user         2841

On integer benchmarks, dragonegg generates about 11% slower code.
One interesting thing is that dragonegg is a really fast compiler.  It
is 2.3 times faster than gcc.

This is definitely interesting, but you're also comparing apples and oranges 
here (for both compile time and performance).  Can you get numbers showing GCC 
-O3 and dragonegg with LTO to get a better comparison?

Dragonegg does not work with -flto. It generates assembler code on which gas complaints (a lot of non-assembler code like target data-layout which are not in comments).

So I'll do gcc -O3 without -flto. I don't think it will change average SPECINT2000 rate significantly (although it can change separte benchmark significantly) but it will make gcc compiler much faster (may be 2 times because I did not use -fwhole-program). I'll post the results in an hour.


Reply via email to