Commit 5097195f by Kirill Yukhin Committed by Kirill Yukhin

builtin_target.c: Add check for AES and PCLMUL.

gcc/testsuite/
	* gcc.target/i386/builtin_target.c: Add check for AES and PCLMUL.

From-SVN: r228513
parent 5d51afce
2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
* gcc.target/i386/builtin_target.c: Add check for AES and PCLMUL.
2015-10-05 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53856
......
......@@ -173,6 +173,10 @@ check_features (unsigned int ecx, unsigned int edx,
assert (__builtin_cpu_supports ("sse2"));
if (ecx & bit_POPCNT)
assert (__builtin_cpu_supports ("popcnt"));
if (ecx & bit_AES)
assert (__builtin_cpu_supports ("aes"));
if (ecx & bit_PCLMUL)
assert (__builtin_cpu_supports ("pclmul"));
if (ecx & bit_SSE3)
assert (__builtin_cpu_supports ("sse3"));
if (ecx & bit_SSSE3)
......
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