All the author had to to was to add '-march=native' or '-march=core-avx2' to the compiler command line: http://goo.gl/H4f62I
Clang 3.7.0 (experimental) + -march=skylake gives you AVX512. zmm all the way, baby! 256 bytes processed in the inner loop!
Re:Beating the compiler
by pantalaimon on Sunday March 22, 2015 @08:38PM
(#9248877)
But what gives me a Skylake CPU?
It's also possible that you find out that if you enable --generate-for-haswell or some other arcane compiler flag, it'll do it for you.