OSDN Git Service

Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]".
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / sse-check.h
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include "m128-check.h"
4
5 #include "cpuid.h"
6
7 static void sse_test (void);
8
9 int
10 main ()
11 {
12   unsigned int eax, ebx, ecx, edx;
13  
14   if (!__get_cpuid (1, &eax, &ebx, &ecx, &edx))
15     return 0;
16
17   /* Run SSE test only if host has SSE support.  */
18   if (edx & bit_SSE)
19     sse_test ();
20
21   return 0;
22 }