blob: 5b914d18b984331e3cc4ce19b2d982739a5321bb [file] [log] [blame]
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-add-options arm_v8_1m_mve } */
/* { dg-additional-options "-O2" } */
#include "arm_mve.h"
int32x4_t
foo (int32x4_t a, int32_t b)
{
return vqaddq_n_s32 (a, b);
}
/* { dg-final { scan-assembler "vqadd.s32" } } */
int32x4_t
foo1 (int32x4_t a, int32_t b)
{
return vqaddq (a, b);
}
/* { dg-final { scan-assembler "vqadd.s32" } } */