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 int32x4_t
foo(int32x4_t inactive,int32x4_t a,int32x4_t b)8 foo (int32x4_t inactive, int32x4_t a, int32x4_t b)
9 {
10 return vqdmlsdhq_s32 (inactive, a, b);
11 }
12
13 /* { dg-final { scan-assembler "vqdmlsdh.s32" } } */
14
15 int32x4_t
foo1(int32x4_t inactive,int32x4_t a,int32x4_t b)16 foo1 (int32x4_t inactive, int32x4_t a, int32x4_t b)
17 {
18 return vqdmlsdhq (inactive, a, b);
19 }
20
21 /* { dg-final { scan-assembler "vqdmlsdh.s32" } } */
22