* cfghooks.c (verify_flow_info): Disable check that all probabilities
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / sse-check.h
blob7e9ebdf0e032361ad037aaee6cec7865c7528633
1 #include <stdlib.h>
2 #include "m128-check.h"
4 #define DEBUG 1
6 #define TEST sse_test
8 static void sse_test (void);
10 static void
11 __attribute__ ((noinline))
12 do_test (void)
14 sse_test ();
17 int
18 main ()
20 #ifdef __BUILTIN_CPU_SUPPORTS__
21 /* Most SSE intrinsic operations can be implemented via VMX
22 instructions, but some operations may be faster / simpler
23 using the POWER8 VSX instructions. This is especially true
24 when we are transferring / converting to / from __m64 types.
25 The direct register transfer instructions from POWER8 are
26 especially important. So we test for arch_2_07. */
27 if ( __builtin_cpu_supports ("arch_2_07") )
29 do_test ();
30 #ifdef DEBUG
31 printf ("PASSED\n");
32 #endif
34 #ifdef DEBUG
35 else
36 printf ("SKIPPED\n");
37 #endif
38 #endif /* __BUILTIN_CPU_SUPPORTS__ */
39 return 0;