2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / isa-12.c
blobfde84a21aef54f0805c3ad5ca87466fe57518eec
1 /* { dg-do run } */
2 /* { dg-options "-march=x86-64 -mfma4 -mno-sse3" } */
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;