PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr77833.c
blob8804d2e639c63981301a537322767342ce16ca4c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target int128 } */
3 /* { dg-options "-O -mavx512f" } */
5 typedef unsigned long V __attribute__((vector_size(64)));
6 typedef unsigned __int128 W __attribute__((vector_size(64)));
9 foo(int i, V v)
11 i *= ((W)(V){0, 0, 0, 0, 0, 1, v[0]})[2];
12 v[i] = 0;
13 i--;
14 return v + i;