blob: 79ea4815517f48649e940e0d53b71c3c34794df9 [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
#include "m128-check.h"
#include "cpuid.h"
static void sse_test (void);
int
main ()
{
unsigned int eax, ebx, ecx, edx;
if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
return 0;
/* Run SSE test only if host has SSE support. */
if (edx & bit_SSE)
sse_test ();
return 0;
}