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 int16x8_t
foo(int16x8_t inactive,int16x8_t a,int16x8_t b,mve_pred16_t p)8 foo (int16x8_t inactive, int16x8_t a, int16x8_t b, mve_pred16_t p)
9 {
10   return vqdmlsdhxq_m_s16 (inactive, a, b, p);
11 }
12 
13 /* { dg-final { scan-assembler "vpst" } } */
14 /* { dg-final { scan-assembler "vqdmlsdhxt.s16"  }  } */
15 
16 int16x8_t
foo1(int16x8_t inactive,int16x8_t a,int16x8_t b,mve_pred16_t p)17 foo1 (int16x8_t inactive, int16x8_t a, int16x8_t b, mve_pred16_t p)
18 {
19   return vqdmlsdhxq_m (inactive, a, b, p);
20 }
21 
22 /* { dg-final { scan-assembler "vpst" } } */
23 /* { dg-final { scan-assembler "vqdmlsdhxt.s16"  }  } */
24