rt_gccstream/gcc/testsuite/gcc.target/i386/3dnow-2.c

13 lines
427 B
C

/* { dg-do assemble } */
/* { dg-options "-O0 -Werror-implicit-function-declaration -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>