OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / isa-1.c
1 /* { dg-do run } */
2 /* { dg-options "-msse4" } */
3
4 extern void abort (void);
5
6 int
7 main ()
8 {
9 #if !defined __SSE__
10   abort ();
11 #endif
12 #if !defined __SSE2__
13   abort ();
14 #endif
15 #if !defined __SSE3__
16   abort ();
17 #endif
18 #if !defined __SSSE3__
19   abort ();
20 #endif
21 #if !defined __SSE4_1__
22   abort ();
23 #endif
24 #if !defined __SSE4_2__
25   abort ();
26 #endif
27 #if defined __SSE4A__
28   abort ();
29 #endif
30 #if defined __SSE5__
31   abort ();
32 #endif
33   return 0;
34 }