3 #include "m256-check.h"
4 #include "avx-os-support.h"
6 static void avx_test (void);
9 __attribute__ ((noinline))
18 unsigned int eax, ebx, ecx, edx;
20 if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
23 /* Run AVX test only if host has AVX support. */
24 if (((ecx & (bit_AVX | bit_OSXSAVE)) == (bit_AVX | bit_OSXSAVE))