1  /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
       2  /* { dg-add-options arm_v8_1m_mve_fp } */
       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  **	vst40.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      16  **	vst41.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      17  **	vst42.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      18  **	vst43.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      19  **	...
      20  */
      21  void
      22  foo (float32_t *addr, float32x4x4_t value)
      23  {
      24    return vst4q_f32 (addr, value);
      25  }
      26  
      27  
      28  /*
      29  **foo1:
      30  **	...
      31  **	vst40.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      32  **	vst41.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      33  **	vst42.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      34  **	vst43.32	{q[0-9+], q[0-9+], q[0-9+], q[0-9+]}, \[r[0-9+]\]
      35  **	...
      36  */
      37  void
      38  foo1 (float32_t *addr, float32x4x4_t value)
      39  {
      40    return vst4q (addr, value);
      41  }
      42  
      43  #ifdef __cplusplus
      44  }
      45  #endif
      46  
      47  /* { dg-final { scan-assembler-not "__ARM_undef" } } */