Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pr51968.c
blobc06da486316dfb0d3fc994fc9099a0623a7974ff
1 /* PR target/51968 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_softfp_ok } */
4 /* { dg-require-effective-target arm_neon_ok } */
5 /* { dg-options "-O2 -march=armv7-a -mfloat-abi=softfp -mfpu=neon" } */
6 #include <arm_neon.h>
8 struct T { int8x8x2_t val; };
9 int y;
11 void
12 foo (int8x8_t z, int8x8_t x, int16x8_t b, int8x8_t n)
14 if (y)
16 struct T m;
17 m.val = vuzp_s8 (z, x);
19 for (;;)
21 int8x16_t g;
22 int8x8_t h, j, k;
23 struct T m;
24 j = vqmovn_s16 (b);
25 g = vcombine_s8 (j, h);
26 k = vget_low_s8 (g);
27 m.val = vuzp_s8 (k, n);