blob: 78e80511c3c40301dc87e472aee83ffa5d256147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include <stdio.h>
#include <stdlib.h>
#include "../auto-host.h"
#include "../../gcc.dg/i386-cpuid.h"
static void sse4_1_test (void);
int
main ()
{
unsigned long cpu_facilities;
cpu_facilities = i386_cpuid_ecx ();
/* Run SSE4.1 test only if host has SSE4.1 support. */
if ((cpu_facilities & bit_SSE4_1))
sse4_1_test ();
exit (0);
}
|