public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Request for update of documentation about `-mtune`
@ 2023-10-27 14:56 LIU Hao
  0 siblings, 0 replies; only message in thread
From: LIU Hao @ 2023-10-27 14:56 UTC (permalink / raw)
  To: gcc


[-- Attachment #1.1: Type: text/plain, Size: 657 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-10-27 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-27 14:56 Request for update of documentation about `-mtune` LIU Hao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).