From: Kirill Yukhin Date: Tue, 6 Oct 2015 07:55:09 +0000 (+0000) Subject: builtin_target.c: Fix AVX-512VBMI detection. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a2fc4d45e40980f75fd8c9936cda1ecf9ae2241;p=gcc.git builtin_target.c: Fix AVX-512VBMI detection. gcc/testsuite/ * gcc.target/i386/builtin_target.c: Fix AVX-512VBMI detection. From-SVN: r228515 --- diff --git a/gcc/testsuite/gcc.target/i386/builtin_target.c b/gcc/testsuite/gcc.target/i386/builtin_target.c index de494aa67b9..dd31108e909 100644 --- a/gcc/testsuite/gcc.target/i386/builtin_target.c +++ b/gcc/testsuite/gcc.target/i386/builtin_target.c @@ -211,7 +211,7 @@ check_features (unsigned int ecx, unsigned int edx, assert (__builtin_cpu_supports ("avx512dq")); if (ebx & bit_AVX512IFMA) assert (__builtin_cpu_supports ("avx512ifma")); - if (ebx & bit_AVX512VBMI) + if (ecx & bit_AVX512VBMI) assert (__builtin_cpu_supports ("avx512vbmi")); } }