From: Kirill Yukhin Date: Tue, 6 Oct 2015 13:46:22 +0000 (+0000) Subject: builtin_target.c: Fix AVX-512VBMI detection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdef54425126ff1cb3c61424e5d062d8b7608dd8;p=gcc.git builtin_target.c: Fix AVX-512VBMI detection. gcc/testsuite/ * gcc.target/i386/builtin_target.c: Fix AVX-512VBMI detection. From-SVN: r228523 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8b27d2ec97f..e7d316e738d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-10-06 Kirill Yukhin + + * gcc.target/i386/builtin_target.c: Fix AVX-512VBMI detection. + 2015-10-06 Richard Biener PR tree-optimization/67859 diff --git a/gcc/testsuite/gcc.target/i386/builtin_target.c b/gcc/testsuite/gcc.target/i386/builtin_target.c index dd31108e909..8d45d83c89a 100644 --- a/gcc/testsuite/gcc.target/i386/builtin_target.c +++ b/gcc/testsuite/gcc.target/i386/builtin_target.c @@ -209,7 +209,7 @@ check_features (unsigned int ecx, unsigned int edx, assert (__builtin_cpu_supports ("avx512bw")); if (ebx & bit_AVX512DQ) assert (__builtin_cpu_supports ("avx512dq")); - if (ebx & bit_AVX512IFMA) + if (ecx & bit_AVX512IFMA) assert (__builtin_cpu_supports ("avx512ifma")); if (ecx & bit_AVX512VBMI) assert (__builtin_cpu_supports ("avx512vbmi"));