Request for update of documentation about `-mtune`

LIU Hao lh_mouse@126.com
Fri Oct 27 14:56:03 GMT 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20231027/429759b3/attachment.sig>


More information about the Gcc mailing list