1 /* PR target/68674 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_neon_ok } */
4 /* { dg-require-effective-target arm_fp_ok } */
5 /* { dg-options "-O2" } */
6 /* { dg-add-options arm_fp } */
7 
8 #pragma GCC target ("fpu=vfp")
9 
10 #include <arm_neon.h>
11 
12 int8x8_t a;
13 extern int8x8_t b;
14 int16x8_t e;
15 
16 void __attribute__((target("fpu=neon")))
foo1(void)17 foo1(void)
18 {
19   e = (int16x8_t) vaddl_s8(a, b);
20 }
21 
22 int8x8_t __attribute__((target("fpu=neon")))
foo2(void)23 foo2(void)
24 {
25   return b;
26 }
27 
28 
29