[ARM][GCC][2/3x]: MVE intrinsics with ternary operands.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vdupq_m_n_u32.c
blobb1f0ef51bcdce2e32bbcf819e71caf04c4d829f9
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
3 /* { dg-add-options arm_v8_1m_mve } */
4 /* { dg-additional-options "-O2" } */
6 #include "arm_mve.h"
8 uint32x4_t
9 foo (uint32x4_t inactive, uint32_t a, mve_pred16_t p)
11 return vdupq_m_n_u32 (inactive, a, p);
14 /* { dg-final { scan-assembler "vpst" } } */
15 /* { dg-final { scan-assembler "vdupt.32" } } */
17 uint32x4_t
18 foo1 (uint32x4_t inactive, uint32_t a, mve_pred16_t p)
20 return vdupq_m (inactive, a, p);
23 /* { dg-final { scan-assembler "vpst" } } */