4 static void adx_test (void);
6 static void __attribute__ ((noinline
)) do_test (void)
14 unsigned int eax
, ebx
, ecx
, edx
;
16 if (!__get_cpuid (1, &eax
, &ebx
, &ecx
, &edx
))
19 /* Run ADX test only if host has ADX support. */
21 if (__get_cpuid_max (0, NULL
) < 7)
24 __cpuid_count (7, 0, eax
, ebx
, ecx
, edx
);
26 if ((ebx
& bit_ADX
) == bit_ADX
)