2 ms·
It's not clear that the author of that post used `-march=native -mtune=native`. And if they didn't, that could account for the odd results.
by einpoklum 6y ago
It's not clear that the author of that post used `-march=native -mtune=native`. And if they didn't, that could account for the odd results.
- my123 6y agoIn practice, you can almost never use that for desktop and tablet software. Most of your users would not be able to use the software otherwise, which is not a small problem.
- aktenlage 6y agoIf they did, the article would really need a distinction between the speedup by new hardware features (which the old compiler cannot know) and hardware-independent smarter optimizations. Since the author seems to care about the latter, I assume they did not use those flags.
- brokensegue 6y agounless they ran it on hardware from clang 2.7's era.