aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sse4_1-blendvpd-1.c
blob: c25d3fbcbd432d867c923fe806d42a4652127d64 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile } */
/* { dg-options "-msse4.1 -O2 -mno-sse4.2" } */
/* { dg-final { scan-assembler-times {(?n)blendvpd[ \t]+%xmm[0-9]+} 1 } } */

#include <immintrin.h>

__m128d
foo (__m128d a, __m128d b, __m128d c)
{
  return _mm_blendv_pd (a, b, c);
}