From bc6e483f764f561e6d10e112e7a352c12695609e Mon Sep 17 00:00:00 2001 From: Kirill Yukhin Date: Thu, 24 Sep 2015 09:03:57 +0000 Subject: [PATCH] avx512vbmi-check.h (main): Fix register name while checking for AVX-512VBMI presence. gcc/testsuite/ * gcc.target/i386/avx512vbmi-check.h (main): Fix register name while checking for AVX-512VBMI presence. From-SVN: r228079 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/i386/avx512vbmi-check.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 68f4100e275..6dc9d9ea739 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-09-24 Kirill Yukhin + + * gcc.target/i386/avx512vbmi-check.h (main): Fix register + name while checking for AVX-512VBMI presence. + 2015-09-24 Rainer Orth * lib/target-supports.exp (check_effective_target_pie): Check for diff --git a/gcc/testsuite/gcc.target/i386/avx512vbmi-check.h b/gcc/testsuite/gcc.target/i386/avx512vbmi-check.h index 591ff0640e1..97aca277224 100644 --- a/gcc/testsuite/gcc.target/i386/avx512vbmi-check.h +++ b/gcc/testsuite/gcc.target/i386/avx512vbmi-check.h @@ -25,7 +25,7 @@ main () __cpuid_count (7, 0, eax, ebx, ecx, edx); - if ((avx512f_os_support ()) && ((ebx & bit_AVX512VBMI) == bit_AVX512VBMI)) + if ((avx512f_os_support ()) && ((ecx & bit_AVX512VBMI) == bit_AVX512VBMI)) { do_test (); #ifdef DEBUG -- 2.30.2