public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: hongtao Liu <liuhongt@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-2726] Adjust issue_rate for latest Intel processors. Date: Tue, 20 Sep 2022 02:23:33 +0000 (GMT) [thread overview] Message-ID: <20220920022334.0A8693858D28@sourceware.org> (raw) https://gcc.gnu.org/g:041812f584a1c82f1255bd96f3503493bd9fb127 commit r13-2726-g041812f584a1c82f1255bd96f3503493bd9fb127 Author: liuhongt <hongtao.liu@intel.com> Date: Tue Sep 6 11:04:40 2022 +0800 Adjust issue_rate for latest Intel processors. For Skylake based processor, decoder is 4-way. For Sunny Cove and Willow Cove, decoder is 5-way. For Golden cove, decoder is 6-way. gcc/ChangeLog: * config/i386/x86-tune-sched.cc (ix86_issue_rate): Adjust for latest Intel processors. Diff: --- gcc/config/i386/x86-tune-sched.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gcc/config/i386/x86-tune-sched.cc b/gcc/config/i386/x86-tune-sched.cc index 1ffaeef037c..e2765f81902 100644 --- a/gcc/config/i386/x86-tune-sched.cc +++ b/gcc/config/i386/x86-tune-sched.cc @@ -73,10 +73,24 @@ ix86_issue_rate (void) case PROCESSOR_SANDYBRIDGE: case PROCESSOR_HASWELL: case PROCESSOR_TREMONT: + case PROCESSOR_SKYLAKE: + case PROCESSOR_SKYLAKE_AVX512: + case PROCESSOR_CASCADELAKE: + case PROCESSOR_CANNONLAKE: case PROCESSOR_ALDERLAKE: case PROCESSOR_GENERIC: return 4; + case PROCESSOR_ICELAKE_CLIENT: + case PROCESSOR_ICELAKE_SERVER: + case PROCESSOR_TIGERLAKE: + case PROCESSOR_COOPERLAKE: + case PROCESSOR_ROCKETLAKE: + return 5; + + case PROCESSOR_SAPPHIRERAPIDS: + return 6; + default: return 1; }
reply other threads:[~2022-09-20 2:23 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220920022334.0A8693858D28@sourceware.org \ --to=liuhongt@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).