graysky2 / kernel_compiler_patch

Kernel patch enables compiler optimizations for additional CPUs.
GNU General Public License v2.0
658 stars 77 forks source link

Benchmarks #87

Open FireBurn opened 2 years ago

FireBurn commented 2 years ago

I'm not sure if you noticed the phoronix article: https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.19-O3-March-Native

Which showed -march=native being much slower than just using -O2 or -O3

Has anyone else managed to verify this? Was it a fluke on that particular processor or arch? Was it a GCC 11 issue? etc etc

aliceinwire commented 2 years ago

oh this looks interesting. looks like is thanks to this patch series: https://lore.kernel.org/lkml/20220621133526.29662-1-mikoxyzzz@gmail.com/