[ARM][GCC][2/3x]: MVE intrinsics with ternary operands.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vcmpeqq_m_u16.c
blob3484f3b48de97f7c483d7cd97248d870b4444379
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 mve_pred16_t
9 foo (uint16x8_t a, uint16x8_t b, mve_pred16_t p)
11 return vcmpeqq_m_u16 (a, b, p);
14 /* { dg-final { scan-assembler "vpst" } } */
15 /* { dg-final { scan-assembler "vcmpt.i16" } } */
17 mve_pred16_t
18 foo1 (uint16x8_t a, uint16x8_t b, mve_pred16_t p)
20 return vcmpeqq_m (a, b, p);
23 /* { dg-final { scan-assembler "vpst" } } */