2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / isa-8.c
blob2ffd80fbad22e850a1e83f675071dc52dbfa5554
1 /* { dg-do run } */
2 /* { dg-options "-march=amdfam10 -mfma4 -mno-sse4a" } */
4 extern void abort (void);
6 int
7 main ()
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 __FMA4__
31 abort ();
32 #endif
33 return 0;