1/* { dg-do assemble } */
2/* { dg-require-effective-target 3dnow } */
3/* { dg-options "-O0 -Werror-implicit-function-declaration -march=k8 -m3dnow" } */
4/* { dg-add-options bind_pic_locally } */
5
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.  */
10
11#define extern
12#define __inline
13
14#include <mm3dnow.h>
15