gcc/testsuite/gcc.target/x86_64/abi/bf16/bf16-check.h
raw| 1 | #include <stdlib.h> |
| 2 | #include "bf16-helper.h" |
| 3 | |
| 4 | static void do_test (void); |
| 5 | |
| 6 | int |
| 7 | main () |
| 8 | { |
| 9 | |
| 10 | if (__builtin_cpu_supports ("sse2")) |
| 11 | { |
| 12 | do_test (); |
| 13 | #ifdef DEBUG |
| 14 | __builtin_printf ("PASSED\n"); |
| 15 | #endif |
| 16 | return 0; |
| 17 | } |
| 18 | |
| 19 | #ifdef DEBUG |
| 20 | __builtin_printf ("SKIPPED\n"); |
| 21 | #endif |
| 22 | |
| 23 | return 0; |
| 24 | } |