gcc/testsuite/gcc.target/i386/mmx-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -Werror-implicit-function-declaration -mmmx" } */ |
| 3 | /* { dg-add-options bind_pic_locally } */ |
| 4 | |
| 5 | /* Test that the intrinsics compile with optimization. All of them are |
| 6 | defined as inline functions in mmintrin.h that reference the proper |
| 7 | builtin functions. Defining away "extern" and "__inline" results in |
| 8 | all of them being compiled as proper functions. */ |
| 9 | |
| 10 | #define extern |
| 11 | #define __inline |
| 12 | |
| 13 | #include <mmintrin.h> |