Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr101046.c

raw
1 /* PR target/101046 */
2 /* { dg-do compile } */
3 /* { dg-options "-ftree-ter -mavx512bw -mavx512vl" } */
4
5 typedef unsigned short __attribute__((__vector_size__(16))) U;
6 typedef unsigned int __attribute__((__vector_size__(16))) V;
7 typedef unsigned int __attribute__((__vector_size__(32))) W;
8
9 U
10 foo (void)
11 {
12 return __builtin_convertvector (__builtin_shufflevector ((V){}, (W){},
13 0, 0, 1, 0,
14 5, 5, 0, 2), U);
15 }