blob: af7f32c5f4f2f970123155cf7f00c8c0209ad259 [file] [log] [blame]
#include <stdlib.h>
#include <stdio.h>
#include "cpuid.h"
#include "m256-check.h"
static void f16c_test (void);
int
main ()
{
unsigned int eax, ebx, ecx, edx;
if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
return 0;
/* Run F16C test only if host has F16C support. */
if (ecx & bit_F16C)
{
f16c_test ();
#ifdef DEBUG
printf ("PASSED\n");
#endif
}
#ifdef DEBUG
else
printf ("SKIPPED\n");
#endif
return 0;
}