2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 3dnowA-2.c
blob8475094abbe0fb11992ef5a5d9a44b214521d8d0
1 /* { dg-do assemble } */
2 /* { dg-require-effective-target 3dnow } */
3 /* { dg-options "-O0 -Werror-implicit-function-declaration -march=k8 -m3dnow" } */
5 /* Test that the intrinsics compile without optimization. All of them are
6 defined as inline functions in mmintrin.h that reference the proper
7 builtin functions. Defining away "extern" and "__inline" results in
8 all of them being compiled as proper functions. */
10 #define extern
11 #define __inline
13 #include <mm3dnow.h>