2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / isa-1.c
blob3a4406fc0e4bbe1daddc1a7a50816b66374cadbc
1 /* { dg-do run } */
2 /* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-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;