Commit 6a192b5a by Kirill Yukhin Committed by Kirill Yukhin

cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".

libgcc/
	* config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
gcc/testsuite/
	* gcc.target/i386/builtin_target.c: Add check for "skylake-avx512".

From-SVN: r228481
parent 4fbf5c4e
2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
* gcc.target/i386/builtin_target.c: Add check for "skylake-avx512".
2015-10-05 Christian Bruel <christian.bruel@st.com>
* gcc.target/arm/attr_thumb-static2.c: Cleanup directives.
......
......@@ -91,6 +91,11 @@ check_intel_cpu_model (unsigned int family, unsigned int model,
assert (__builtin_cpu_is ("corei7"));
assert (__builtin_cpu_is ("skylake"));
break;
case 0x55:
/* Skylake with AVX-512 support. */
assert (__builtin_cpu_is ("corei7"));
assert (__builtin_cpu_is ("skylake-avx512"));
break;
case 0x17:
case 0x1d:
/* Penryn. */
......
2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
* config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
* config.host (xtensa*-*-uclinux*): New configuration.
......
......@@ -78,6 +78,7 @@ enum processor_subtypes
INTEL_COREI7_HASWELL,
INTEL_COREI7_BROADWELL,
INTEL_COREI7_SKYLAKE,
INTEL_COREI7_SKYLAKE_AVX512,
CPU_SUBTYPE_MAX
};
......@@ -260,6 +261,11 @@ get_intel_cpu (unsigned int family, unsigned int model, unsigned int brand_id)
__cpu_model.__cpu_type = INTEL_COREI7;
__cpu_model.__cpu_subtype = INTEL_COREI7_SKYLAKE;
break;
case 0x55:
/* Skylake with AVX-512 support. */
__cpu_model.__cpu_type = INTEL_COREI7;
__cpu_model.__cpu_subtype = INTEL_COREI7_SKYLAKE_AVX512;
break;
case 0x17:
case 0x1d:
/* Penryn. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment