aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/mve/intrinsics/vclsq_m_s32.c
blob: b6d7088a8e78380173dd9f7bcb3462c6ab5bdf8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { 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 inactive, int32x4_t a, mve_pred16_t p)
{
  return vclsq_m_s32 (inactive, a, p);
}

/* { dg-final { scan-assembler "vpst" } } */
/* { dg-final { scan-assembler "vclst.s32"  }  } */

int32x4_t
foo1 (int32x4_t inactive, int32x4_t a, mve_pred16_t p)
{
  return vclsq_m (inactive, a, p);
}

/* { dg-final { scan-assembler "vpst" } } */