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
+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.
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.
INTEL_COREI7_HASWELL,
INTEL_COREI7_BROADWELL,
INTEL_COREI7_SKYLAKE,
+ INTEL_COREI7_SKYLAKE_AVX512,
CPU_SUBTYPE_MAX
};
__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. */