(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
vec-init-8.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O" } */
       3  
       4  #include <arm_neon.h>
       5  
       6  int64x2_t f1(int64_t *ptr) {
       7    int64_t x = *ptr;
       8    asm volatile ("" ::: "memory");
       9    if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
      10      return (int64x2_t) { 0, x };
      11    else
      12      return (int64x2_t) { x, 0 };
      13  }
      14  
      15  /* { dg-final { scan-assembler {\tldr\td0, \[x0\]\n} } } */