gcc/testsuite/gcc.target/powerpc/sse3-check.h
raw| 1 | #include <stdio.h> |
| 2 | #include <stdlib.h> |
| 3 | |
| 4 | #include "m128-check.h" |
| 5 | |
| 6 | /* define DEBUG replace abort with printf on error. */ |
| 7 | //#define DEBUG 1 |
| 8 | |
| 9 | #define TEST sse3_test |
| 10 | |
| 11 | static void sse3_test (void); |
| 12 | |
| 13 | static void |
| 14 | __attribute__ ((noinline)) |
| 15 | do_test (void) |
| 16 | { |
| 17 | sse3_test (); |
| 18 | } |
| 19 | |
| 20 | int |
| 21 | main () |
| 22 | { |
| 23 | do_test (); |
| 24 | #ifdef DEBUG |
| 25 | printf ("PASSED\n"); |
| 26 | #endif |
| 27 | return 0; |
| 28 | } |