HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by oconnor663 | Hacker News Reader
Parent
Full thread
oconnor663
·
Why not use -march=native?
View on HN
inopinatus
·
Surprisingly, -march=native doesn’t always expand to the locally optimal build flags we might expect, particularly with gcc on non-Linux platforms.
oconnor663
·
Oh interesting. Is this one of those things where backwards compatibility eventually got in the way of the intended purpose?
mattst88
·
I actually do. I just said -march=tigerlake to make it clear what CPU family the compiler was targeting.
aew4ytasghe5
·
Why not use -march=snark?
Reply on news.ycombinator.com