* config/i386/mm3dnow.h: New.
[official-gcc.git] / gcc / testsuite / gcc.dg / i386-3dnow-1.c
bloba8dcb419c7e9fde20275de0cabdd03f0e30e9aa5
1 /* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow" } */
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 <mm3dnow.h>