blob: 06d2d114e46206a451b7486be3716b6f20a08d9b [file] [log] [blame]
/* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
/* { dg-add-options arm_v8_1m_mve_fp } */
/* { dg-additional-options "-O2" } */
#include "arm_mve.h"
float16x8_t
foo (float16x8_t a, float16x8_t b, float16_t c, mve_pred16_t p)
{
return vfmasq_m_n_f16 (a, b, c, p);
}
/* { dg-final { scan-assembler "vpst" } } */
/* { dg-final { scan-assembler "vfmast.f16" } } */
float16x8_t
foo1 (float16x8_t a, float16x8_t b, float16_t c, mve_pred16_t p)
{
return vfmasq_m (a, b, c, p);
}
/* { dg-final { scan-assembler "vpst" } } */
/* { dg-final { scan-assembler "vfmast.f16" } } */