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

Thiago Macieira thiago.macieira at intel.com
Tue Jul 21 07:55:37 CEST 2020


On Monday, 20 July 2020 22:46:36 PDT Thiago Macieira wrote:
> So the common denominator of SLM and SNB is the WSM (Westmere).
> 
> Not coincidentally, it's the default -march= for GCC and Clang on Clear
> Linux, as well as what all binaries in /usr/bin and /usr/lib64 are compiled
> towards.

BTW, you may want to also add the -mtune option to either of the two 
processors. Leaving it at the default (matching -march) may not produce the 
best code for either.

YMMV.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering





More information about the Interest mailing list