summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr70355.c
blob: b55f6fc52600c0007e24f6d13f04c9c6e20f23b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-require-effective-target int128 } */
/* { dg-options "-O2 -fno-tree-ter -funroll-loops -mavx512f -g" } */

typedef unsigned __int128 v2ti __attribute__ ((vector_size (32)));

unsigned
foo (unsigned i, v2ti v)
{
  do {
    i--;
    v %= ~v;
  } while (i);
  return v[0] + v[1];
}