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