1/* { dg-do assemble { target i?86-*-* x86_64-*-* } } */
2/* { dg-options "-O2 -Werror-implicit-function-declaration -m3dnow" } */
3
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.  */
8
9#define static
10#define __inline
11
12#include <mm3dnow.h>
13