diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr102016.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr102016.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr102016.c b/gcc/testsuite/gcc.target/i386/pr102016.c new file mode 100644 index 0000000..2ff75cb --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr102016.c @@ -0,0 +1,10 @@ +/* { dg-do compile } */ +/* { dg-options "-mavx512vl -O2" } */ +typedef char v8qi __attribute__((vector_size (8))); +typedef char v16qi __attribute__((vector_size (16))); +v8qi +foo_wb_128 (v16qi x) +{ + return __builtin_shufflevector (x, x, + 0, 2, 4, 6, 8, 10, 12, 14); +} |