2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / 3dnow-2.c
bloba89cb0bf541b0ee69ba025faf1e875674a945730
1 /* { dg-do assemble } */
2 /* { dg-require-effective-target 3dnow } */
3 /* { dg-options "-O0 -Werror-implicit-function-declaration -m3dnow" } */
4 /* { dg-add-options bind_pic_locally } */
6 /* Test that the intrinsics compile without optimization. All of them are
7 defined as inline functions in mmintrin.h that reference the proper
8 builtin functions. Defining away "extern" and "__inline" results in
9 all of them being compiled as proper functions. */
11 #define extern
12 #define __inline
14 #include <mm3dnow.h>