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

/* 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 "static" and "__inline" results in
   all of them being compiled as proper functions.  */

#define static
#define __inline

#include <mm3dnow.h>