Performance Comparison - gcc and llvm-gcc

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

+3
source share
1 answer

You seem surprised that gcc beat llvm is in your testing. Phoronix has many interesting tests in this area. For example, see:

(Lots of vibrant colors.)

, ? , -, , , , ( ), ().

-, , . (, .)

+7

Source: https://habr.com/ru/post/1785507/


All Articles