Commit 4a2fc4d4 by Kirill Yukhin

builtin_target.c: Fix AVX-512VBMI detection.

gcc/testsuite/
	* gcc.target/i386/builtin_target.c: Fix AVX-512VBMI detection.

From-SVN: r228515
parent 310213d4
......@@ -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"));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment