OSDN Git Service

* gcc.dg/altivec-21.c: Use dg-error only for ilp32.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / i386-mmx-2.c
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O0 -mmmx" } */
3
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.  */
8
9 #define static
10 #define __inline
11
12 #include <mmintrin.h>