I compared gcc and llvm-gcc with the -O3 option on hmmer and mcf in the spec cpu2006 test. Surprisingly, I found gcc beat llvm-gcc for both cases. Is this because -O3 has different meanings? How do I set up experiments to get a fair comparison?
By the way, I did an experiment ONLY modifying cc in the makefile.
Thanks Bo
source
share