summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/mve/intrinsics/vmlaldavq_u16.c
blob: e4c1f3201cb76a52d87d41cedd13addf18a6266b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do compile  } */
/* { dg-require-effective-target arm_v8_1m_mve_ok } */
/* { dg-add-options arm_v8_1m_mve } */
/* { dg-additional-options "-O2" } */

#include "arm_mve.h"

uint64_t
foo (uint16x8_t a, uint16x8_t b)
{
  return vmlaldavq_u16 (a, b);
}

/* { dg-final { scan-assembler "vmlaldav.u16"  }  } */

uint64_t
foo1 (uint16x8_t a, uint16x8_t b)
{
  return vmlaldavq (a, b);
}

/* { dg-final { scan-assembler "vmlaldav.u16"  }  } */