2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / isa-1.c
blobae292fcc5c98c0f4f2281c968e3ef07fbd11c63f
1 /* { dg-do run } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=x86-64" } } */
3 /* { dg-options "-march=x86-64 -msse4" } */
5 extern void abort (void);
7 int
8 main ()
10 #if !defined __SSE__
11 abort ();
12 #endif
13 #if !defined __SSE2__
14 abort ();
15 #endif
16 #if !defined __SSE3__
17 abort ();
18 #endif
19 #if !defined __SSSE3__
20 abort ();
21 #endif
22 #if !defined __SSE4_1__
23 abort ();
24 #endif
25 #if !defined __SSE4_2__
26 abort ();
27 #endif
28 #if defined __SSE4A__
29 abort ();
30 #endif
31 #if defined __AVX__
32 abort ();
33 #endif
34 #if defined __FMA4__
35 abort ();
36 #endif
37 return 0;