[Interest] good-compromise compatibility setting for -march=??? option (x86)?

René J.V. Bertin rjvbertin at gmail.com
Mon Jul 20 23:56:24 CEST 2020


On Saturday July 18 2020 10:20:44 Thiago Macieira wrote:

>That's a Braswell-based Atom:
Or rather a Celeron (whatever the exact difference is)?
https://en.wikichip.org/wiki/intel/celeron/n3150

>So -march=silvermont.

Thanks, will try though [https://en.wikichip.org/wiki/intel/microarchitectures/silvermont] suggests that Silvermont has the rdrand instruction that my i7 doesn't have.
>
>Anyway, -march=native is supposed to work on any machine that runs the code it 
>compiled. If that fails,

Of course it does, and no, it doesn't.

R


More information about the Interest mailing list