]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.target/arm/mve/intrinsics/vqdmlahq_n_u16.c
arm: [MVE[ Add vqdmlashq intrinsics (PR target/96914)
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vqdmlahq_n_u16.c
CommitLineData
8165795c
SP
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
7uint16x8_t
8foo (uint16x8_t a, uint16x8_t b, uint16_t c)
9{
10 return vqdmlahq_n_u16 (a, b, c);
11}
12
13/* { dg-final { scan-assembler "vqdmlah.s16" } } */
14
15uint16x8_t
16foo1 (uint16x8_t a, uint16x8_t b, uint16_t c)
17{
18 return vqdmlahq (a, b, c);
19}
20
21/* { dg-final { scan-assembler "vqdmlah.s16" } } */