(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
mve/
intrinsics/
vcreateq_s32.c
       1  /* { dg-require-effective-target arm_v8_1m_mve_ok } */
       2  /* { dg-add-options arm_v8_1m_mve } */
       3  /* { dg-additional-options "-O2" } */
       4  /* { dg-final { check-function-bodies "**" "" } } */
       5  
       6  #include "arm_mve.h"
       7  
       8  #ifdef __cplusplus
       9  extern "C" {
      10  #endif
      11  
      12  /*
      13  **foo:
      14  **	...
      15  **	vmov q[0-9+]\[2\], q[0-9+]\[0\], r0, r2
      16  **	vmov q[0-9+]\[3\], q[0-9+]\[1\], r1, r3
      17  **	...
      18  */
      19  int32x4_t
      20  foo (uint64_t a, uint64_t b)
      21  {
      22    return vcreateq_s32 (a, b);
      23  }
      24  
      25  /*
      26  **foo1:
      27  **	...
      28  **	vmov q[0-9+]\[2\], q[0-9+]\[0\], r[0-9+], r[0-9+]
      29  **	vmov q[0-9+]\[3\], q[0-9+]\[1\], r[0-9+], r[0-9+]
      30  **	...
      31  */
      32  int32x4_t
      33  foo1 ()
      34  {
      35    return vcreateq_s32 (1, 1);
      36  }
      37  
      38  #ifdef __cplusplus
      39  }
      40  #endif
      41  
      42  /* { dg-final { scan-assembler-not "__ARM_undef" } } */