aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr50766.c
blob: 9923de4248e9473fea5e2cb00c606e1e896ce770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/50766 */
/* { dg-do assemble } */
/* { dg-options "-mbmi2" } */
/* { dg-require-effective-target bmi2 } */

#include <x86intrin.h>

unsigned z;

void
foo ()
{
  unsigned x = 0x23593464;
  unsigned y = 0xF9494302;
  z = _pext_u32(x, y);
}