svn merge -r102224:107263 svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-mmx-1.c
bloba658909853cce74a545c9eb15bfff6264cb510c8
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -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 "static" and "__inline" results in
7 all of them being compiled as proper functions. */
9 #define static
10 #define __inline
12 #include <mmintrin.h>