Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / mmx-1.c
blob0b31a531a41153f7efe42143991de2183a1cf2d2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Werror-implicit-function-declaration -mmmx" } */
4 /* Test that the intrinsics compile with optimization. All of them are
5 defined as inline functions in mmintrin.h that reference the proper
6 builtin functions. Defining away "extern" and "__inline" results in
7 all of them being compiled as proper functions. */
9 #define extern
10 #define __inline
12 #include <mmintrin.h>