OSDN Git Service

de5a2c3f9357393fd70e9ceba3afe1900ea9ebca
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / 3dnow-1.c
1 /* { dg-do assemble } */
2 /* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow" } */
3
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.  */
8
9 #define extern
10 #define __inline
11
12 #include <mm3dnow.h>