aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorCui,Lili <lili.cui@intel.com>2021-04-12 09:59:25 +0800
committerliuhongt <hongtao.liu@intel.com>2021-04-12 15:39:52 +0800
commitf2be08339b77d3495e210d6b5d9cea927f437720 (patch)
treee85ec8e50827a315e712055ce13bef627b1646be /gcc/common
parenta0ecde220da1edf7062ec429aa2c7a5b4103e92f (diff)
downloadgcc-f2be08339b77d3495e210d6b5d9cea927f437720.zip
gcc-f2be08339b77d3495e210d6b5d9cea927f437720.tar.gz
gcc-f2be08339b77d3495e210d6b5d9cea927f437720.tar.bz2
Change march=alderlake ISA list and add m_ALDERLAKE to m_CORE_AVX2
Alder Lake Intel Hybrid Technology will not support Intel® AVX-512. ISA features such as Intel® AVX, AVX-VNNI, Intel® AVX2, and UMONITOR/UMWAIT/TPAUSE are supported. gcc/ChangeLog * config/i386/i386.h (PTA_ALDERLAKE): Change alderlake ISA list. * config/i386/i386-options.c (m_CORE_AVX2): Add m_ALDERLAKE. * common/config/i386/cpuinfo.h (get_intel_cpu): Add AlderLake model. * doc/invoke.texi: Change alderlake ISA list.
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/i386/cpuinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/common/config/i386/cpuinfo.h b/gcc/common/config/i386/cpuinfo.h
index dbce022..c1ee7a1 100644
--- a/gcc/common/config/i386/cpuinfo.h
+++ b/gcc/common/config/i386/cpuinfo.h
@@ -476,6 +476,7 @@ get_intel_cpu (struct __processor_model *cpu_model,
cpu_model->__cpu_subtype = INTEL_COREI7_TIGERLAKE;
break;
case 0x97:
+ case 0x9a:
/* Alder Lake. */
cpu = "alderlake";
CHECK___builtin_cpu_is ("corei7");