aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sse-14.c
blob: 8214075c6874055ec0d1cf88a93a326331eb4ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
/* { dg-options "-O0 -msse4.1 -msse4a" } */

/* Test that the intrinsics compile without optimization.  All of them are
   defined as inline functions in {,x,e,p,t,s,a}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 <ammintrin.h>
#include <smmintrin.h>