avx512vbmi-check.h (main): Fix register name while checking for AVX-512VBMI presence.
authorKirill Yukhin <kirill.yukhin@intel.com>
Thu, 24 Sep 2015 09:03:57 +0000 (09:03 +0000)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Thu, 24 Sep 2015 09:03:57 +0000 (09:03 +0000)
gcc/testsuite/
* gcc.target/i386/avx512vbmi-check.h (main): Fix register
name while checking for AVX-512VBMI presence.

From-SVN: r228079

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx512vbmi-check.h

index 68f4100e2758830f3571af99ed06c152e0930ce3..6dc9d9ea7391fc9c78afad60ff3f2492664b6426 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-24  Kirill Yukhin <kirill.yukhin@intel.com>
+
+       * gcc.target/i386/avx512vbmi-check.h (main): Fix register
+       name while checking for AVX-512VBMI presence.
+
 2015-09-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * lib/target-supports.exp (check_effective_target_pie): Check for
index 591ff0640e1f82882320116441991b6167acbd5c..97aca2772241b457d3ca69fc9715f2902a0defe8 100644 (file)
@@ -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