summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr50202.c
blob: 2023ec86d8d4fb8cec6ed5b85cf0b25c3158a140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile } */
/* { dg-options "-O -fno-tree-dse -fno-dce -msse4" } */
/* { dg-require-effective-target sse4 } */

typedef char __v16qi __attribute__ ((__vector_size__ (16)));

__v16qi v;
int i;

void
foo (void)
{
  i = __builtin_ia32_pcmpistri128 (v, v, 255);
  i = 255;
}