summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr64393.c
blob: 37a0e48a4cc555d6aa34e17373e5e5ac2ec97c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O -mavx512vbmi" } */

int a[1024];

void
foo (int i)
{
  for (;; i++)
    if (a[i] != (i ^ (i * 3) ^ (i * 7)))
      return;
}