Hello,

Today I have noticed that latest GCC documentation still has
(https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#index-mtune-17)

-mtune=cpu-type
... ...

‘intel’
Produce code optimized for the most current Intel processors, which are Haswell 
and Silvermont for this version of GCC. ...

Is this choice still the case, or is it just that the documentation hasn't been 
updated?

Haswell and Silvermont were released about a decade ago and shouldn't be considered 'the most current Intel processors'. `-march=haswell` actually generates code that runs ~15% slower on my TigerLake CPU.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to