Y
Hacker News
new
|
ask
|
show
|
jobs
by
oconnor663
1102 days ago
Why not use -march=native?
3 comments
inopinatus
1101 days ago
Surprisingly, -march=native doesn’t always expand to the locally optimal build flags we might expect, particularly with gcc on non-Linux platforms.
link
oconnor663
1101 days ago
Oh interesting. Is this one of those things where backwards compatibility eventually got in the way of the intended purpose?
link
mattst88
1101 days ago
I actually do. I just said -march=tigerlake to make it clear what CPU family the compiler was targeting.
link
aew4ytasghe5
1102 days ago
Why not use -march=snark?
link