diff options
author | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2015-10-06 07:55:09 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2015-10-06 07:55:09 +0000 |
commit | 4a2fc4d45e40980f75fd8c9936cda1ecf9ae2241 (patch) | |
tree | 06a9d9539bf2b9013edf77a0944882efc10b890d /gcc | |
parent | 310213d49e368bd3cce0d20febe2666d0262d859 (diff) | |
download | gcc-4a2fc4d45e40980f75fd8c9936cda1ecf9ae2241.zip gcc-4a2fc4d45e40980f75fd8c9936cda1ecf9ae2241.tar.gz gcc-4a2fc4d45e40980f75fd8c9936cda1ecf9ae2241.tar.bz2 |
builtin_target.c: Fix AVX-512VBMI detection.
gcc/testsuite/
* gcc.target/i386/builtin_target.c: Fix AVX-512VBMI detection.
From-SVN: r228515
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/builtin_target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/builtin_target.c b/gcc/testsuite/gcc.target/i386/builtin_target.c index de494aa..dd31108 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")); } } |