2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / isa-9.c
blob4c01cbc8723a688e44f3cff8c613050e0e81698a
1 /* { dg-do run } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=amdfam10" } } */
3 /* { dg-options "-march=amdfam10 -mno-fma4" } */
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 __FMA4__
32 abort ();
33 #endif
34 return 0;