[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / sse2-check.h
blobf46ba359406dabbdbd0a47548f2f2489fb0b970c
1 #include <stdlib.h>
3 /* Define this to enable the combination of VSX vector double and
4 SSE2 data types. */
5 #define __VSX_SSE2__ 1
7 #include "m128-check.h"
9 /* define DEBUG replace abort with printf on error. */
10 //#define DEBUG 1
12 #define TEST sse2_test
14 static void sse2_test (void);
16 static void
17 __attribute__ ((noinline))
18 do_test (void)
20 sse2_test ();
23 int
24 main ()
26 do_test ();
27 #ifdef DEBUG
28 printf ("PASSED\n");
29 #endif
30 return 0;