Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / isa-9.c
blobb312be11e6324235b002a47e06255582e48258a0
1 /* { dg-do run } */
2 /* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-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;