6 #include "avx-os-support.h"
8 static void pclmul_avx_test (void);
11 __attribute__ ((noinline
))
20 unsigned int eax
, ebx
, ecx
, edx
;
22 if (!__get_cpuid (1, &eax
, &ebx
, &ecx
, &edx
))
25 /* Run PCLMUL + AVX test only if host has PCLMUL + AVX support. */
26 if (((ecx
& (bit_AVX
| bit_OSXSAVE
| bit_PCLMUL
))
27 == (bit_AVX
| bit_OSXSAVE
| bit_PCLMUL
))