3 ms·
I also enable march=native for the compile. My guess is it is mostly placebo, but I feel it helps.
by taeric 6y ago
I also enable march=native for the compile. My guess is it is mostly placebo, but I feel it helps.
- iib 6y agoI only know of this discussion[1] on Daniel Lemire's blog regarding -march=native, which seems to have the "it's complicated" conclusion. But yes, _theoretically_ that is a way to compile for better performance, for your own machine. [1] https://lemire.me/blog/2018/07/25/it-is-more-complicated-than-i-thought-mtune-march-in-gcc/ https://lemire.me/blog/2018/07/25/it-is-more-complicated-tha...
- taeric 6y agoYeah, "complicated" sums it up perfectly. I know it /should/ be faster. And, it does feel so. But, I don't have hard data to prove it, such that I have to ack it could just be placebo.