summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/mve/intrinsics/vqmovnbq_u32.c
blob: a1e92e8f8d9bdd7f5a9ccbae9c3e98ecaf5f8ef0 (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"

uint16x8_t
foo (uint16x8_t a, uint32x4_t b)
{
  return vqmovnbq_u32 (a, b);
}

/* { dg-final { scan-assembler "vqmovnb.u32"  }  } */

uint16x8_t
foo1 (uint16x8_t a, uint32x4_t b)
{
  return vqmovnbq (a, b);
}

/* { dg-final { scan-assembler "vqmovnb.u32"  }  } */