1  /* { dg-do assemble } */
       2  /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */
       3  /* { dg-add-options arm_v8_2a_bf16_neon } */
       4  /* { dg-additional-options "-save-temps -O2 -mfloat-abi=hard" }  */
       5  /* { dg-final { check-function-bodies "**" "" } } */
       6  
       7  #include "arm_neon.h"
       8  
       9  /*
      10  **test_vst2_lane_bf16:
      11  **	vst2.16	{d0\[2\], d1\[2\]}, \[r0\]
      12  **	bx	lr
      13  */
      14  void
      15  test_vst2_lane_bf16 (bfloat16_t *a, bfloat16x4x2_t b)
      16  {
      17    return vst2_lane_bf16 (a, b, 2);
      18  }
      19  
      20  /*
      21  **test_vst2q_lane_bf16:
      22  **	vst2.16	{d0\[2\], d2\[2\]}, \[r0\]
      23  **	bx	lr
      24  */
      25  void
      26  test_vst2q_lane_bf16 (bfloat16_t *a, bfloat16x8x2_t b)
      27  {
      28    return vst2q_lane_bf16 (a, b, 2);
      29  }
      30  
      31  /*
      32  **test_vst3_lane_bf16:
      33  **	vst3.16	{d0\[2\], d1\[2\], d2\[2\]}, \[r0\]
      34  **	bx	lr
      35  */
      36  void
      37  test_vst3_lane_bf16 (bfloat16_t *a, bfloat16x4x3_t b)
      38  {
      39    return vst3_lane_bf16 (a, b, 2);
      40  }
      41  
      42  /*
      43  **test_vst3q_lane_bf16:
      44  **	vst3.16	{d0\[2\], d2\[2\], d4\[2\]}, \[r0\]
      45  **	bx	lr
      46  */
      47  void
      48  test_vst3q_lane_bf16 (bfloat16_t *a, bfloat16x8x3_t b)
      49  {
      50    return vst3q_lane_bf16 (a, b, 2);
      51  }
      52  
      53  /*
      54  **test_vst4_lane_bf16:
      55  **	vst4.16	{d0\[2\], d1\[2\], d2\[2\], d3\[2\]}, \[r0\]
      56  **	bx	lr
      57  */
      58  void
      59  test_vst4_lane_bf16 (bfloat16_t *a, bfloat16x4x4_t b)
      60  {
      61    return vst4_lane_bf16 (a, b, 2);
      62  }
      63  
      64  /*
      65  **test_vst4q_lane_bf16:
      66  **	vst4.16	{d0\[2\], d2\[2\], d4\[2\], d6\[2\]}, \[r0\]
      67  **	bx	lr
      68  */
      69  void
      70  test_vst4q_lane_bf16 (bfloat16_t *a, bfloat16x8x4_t b)
      71  {
      72    return vst4q_lane_bf16 (a, b, 2);
      73  }