1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
3 /* { dg-additional-options "-O2" } */
4 
5 #include "arm_mve.h"
6 
7 int8x16x4_t
foo(int8_t const * addr)8 foo (int8_t const * addr)
9 {
10   return vld4q_s8 (addr);
11 }
12 
13 /* { dg-final { scan-assembler "vld40.8"  }  } */
14 /* { dg-final { scan-assembler "vld41.8"  }  } */
15 /* { dg-final { scan-assembler "vld42.8"  }  } */
16 /* { dg-final { scan-assembler "vld43.8"  }  } */
17 
18 int8x16x4_t
foo1(int8_t const * addr)19 foo1 (int8_t const * addr)
20 {
21   return vld4q (addr);
22 }
23 
24 /* { dg-final { scan-assembler "vld40.8"  }  } */
25