[LLVMdev] FYI: Phoronix GCC vs. LLVM-GCC benchmarks

Anton Korobeynikov anton at korobeynikov.info
Wed Sep 16 02:14:03 PDT 2009

Hello, Oliver

> The compilation line are :
> gcc -o bin src.c -O3
> llvm-gcc -o bin src.c -O3
I'm not quite sure which target processor the compiler will optimize
code for. I'd suggest adding explicit -march=core2 here. Also, could
you please do a separate run with O2, not O3.


With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list