Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I compiled the x86 code using gcc 5.3 using mtune/march=native and -O3. It just turns out that the gcc compiler generates entirely scalar code for SPECInt!


That totally seems wrong. I'm certain it should fire on SPECint, since all compiler optimizations are pretty much invented just to improve the SPECint score - gcc's autovectorizer was made to do this for IBM's POWER processors, which are of course not x86.

Maybe it didn't detect '-march=native' properly?




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: