From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 80ED039878F8; Thu, 17 Sep 2020 17:05:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80ED039878F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600362358; bh=kr4eLKXg/Qy8Tt33sQfIjD25XSWByLqJJzX4Y3Bkaz0=; h=From:To:Subject:Date:From; b=K9eiz+QM/0HpNU1M+lYPO7P7UyQvvZaS5kqFKGO184vCY8EcKjG0Ko3/hlVAIfVwH WJ3YSKCDfX8+kp3JKRH2gbiHaRX07n5hLBFFH4EfvG9RoLFT/Qlh5Ym0/CzkAFuQNF wduug7TG7bKSiATAFIIASgiybhQySsH+yS3RzGTg= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/redhat/heads/gcc-8-branch)] x86: Update Intel processor detection X-Act-Checkin: gcc X-Git-Author: H.J. Lu X-Git-Refname: refs/vendors/redhat/heads/gcc-8-branch X-Git-Oldrev: ef3e15ef0379f29bb8f97e13ac8dca5ef33025ab X-Git-Newrev: 8f000b3d172a070dfd5a9d21224dc909a1d8836f Message-Id: <20200917170558.80ED039878F8@sourceware.org> Date: Thu, 17 Sep 2020 17:05:58 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 17:05:58 -0000 https://gcc.gnu.org/g:8f000b3d172a070dfd5a9d21224dc909a1d8836f commit 8f000b3d172a070dfd5a9d21224dc909a1d8836f Author: H.J. Lu Date: Mon May 18 05:35:27 2020 -0700 x86: Update Intel processor detection Add cpu model numbers for Intel Airmont, Comet Lake and Ice Lake processor families. * config/i386/driver-i386.c (host_detect_local_cpu): Support Intel Airmont, Comet Lake and Ice Lake processor families. Diff: --- gcc/config/i386/driver-i386.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index 97eaf68442d..f9bd27bf0d7 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -752,9 +752,12 @@ const char *host_detect_local_cpu (int argc, const char **argv) case 0x37: case 0x4a: case 0x4d: - case 0x5a: case 0x5d: /* Silvermont. */ + case 0x4c: + case 0x5a: + case 0x75: + /* Airmont. */ cpu = "silvermont"; break; case 0x0f: @@ -807,12 +810,26 @@ const char *host_detect_local_cpu (int argc, const char **argv) case 0x8e: case 0x9e: /* Kaby Lake. */ + case 0xa5: + case 0xa6: + /* Comet Lake. */ cpu = "skylake"; break; case 0x55: /* Skylake with AVX-512. */ cpu = "skylake-avx512"; break; + case 0x6a: + case 0x6c: + /* Ice Lake server. */ + cpu = "icelake-server"; + break; + case 0x7e: + case 0x7d: + case 0x9d: + /* Ice Lake client. */ + cpu = "icelake-client"; + break; case 0x57: /* Knights Landing. */ cpu = "knl";