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 float16x8_t
foo(float16x8_t a,float16x8_t b,float16x8_t c)8 foo (float16x8_t a, float16x8_t b, float16x8_t c)
9 {
10   return vfmaq_f16 (a, b, c);
11 }
12 
13 /* { dg-final { scan-assembler "vfma.f16"  }  } */
14 
15 float16x8_t
foo1(float16x8_t a,float16x8_t b,float16x8_t c)16 foo1 (float16x8_t a, float16x8_t b, float16x8_t c)
17 {
18   return vfmaq (a, b, c);
19 }
20 
21 /* { dg-final { scan-assembler "vfma.f16"  }  } */
22