2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-mmx-2.c
blob0c38579f89341762f071feae82bf7fdbdbb54c14
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O0 -mmmx" } */
4 /* Test that the intrinsics compile without 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>