(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
pr68674.c
       1  /* PR target/68674 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -mcpu=generic+nosimd" } */
       4  
       5  #include <arm_neon.h>
       6  
       7  int8x8_t a;
       8  extern int8x8_t b;
       9  int16x8_t e;
      10  
      11  void __attribute__((target("+simd")))
      12  foo1(void)
      13  {
      14    e = (int16x8_t) vaddl_s8(a, b);
      15  }
      16  
      17  int8x8_t __attribute__((target("+simd")))
      18  foo2(void)
      19  {
      20    return a;
      21  }
      22