summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/3dnowA-2.c
blob: 8475094abbe0fb11992ef5a5d9a44b214521d8d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do assemble } */
/* { dg-require-effective-target 3dnow } */
/* { dg-options "-O0 -Werror-implicit-function-declaration -march=k8 -m3dnow" } */

/* Test that the intrinsics compile without optimization.  All of them are
   defined as inline functions in mmintrin.h that reference the proper
   builtin functions.  Defining away "extern" and "__inline" results in
   all of them being compiled as proper functions.  */

#define extern
#define __inline

#include <mm3dnow.h>