1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target aarch64_little_endian } */
4
5 #define vector __attribute__((vector_size(4*sizeof(float))))
6
7 vector float f(vector float a, vector float b)
8 {
9 /* This is the same as zip1 v.2d as {0, 1, 4, 5} can be converted to {0, 2}. */
10 return __builtin_shuffle (a, b, (vector int){0, 1, 4, 5});
11 }
12
13 /* { dg-final { scan-assembler-times {[ \t]*zip1[ \t]+v[0-9]+\.2d} 1 } } */