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 
5 #include "arm_mve.h"
6 
7 float32x4x2_t
foo(float32_t const * addr)8 foo (float32_t const * addr)
9 {
10   return vld2q_f32 (addr);
11 }
12 
13 /* { dg-final { scan-assembler "vld20.32"  }  } */
14 /* { dg-final { scan-assembler "vld21.32"  }  } */
15 
16 float32x4x2_t
foo1(float32_t const * addr)17 foo1 (float32_t const * addr)
18 {
19   return vld2q (addr);
20 }
21 
22 /* { dg-final { scan-assembler "vld20.32"  }  } */
23