2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / pr68674.c
blobc8acce3b46b7d8a4fc2c808fe0a080c939058f4f
1 /* PR target/68674 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mcpu=generic+nosimd" } */
5 #include <arm_neon.h>
7 int8x8_t a;
8 extern int8x8_t b;
9 int16x8_t e;
11 void __attribute__((target("+simd")))
12 foo1(void)
14 e = (int16x8_t) vaddl_s8(a, b);
17 int8x8_t __attribute__((target("+simd")))
18 foo2(void)
20 return a;