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