[ARM][GCC][3/2x]: MVE intrinsics with binary operands.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vcmpneq_s16.c
blob001af00878f36ca767319f1fa0ebde69010d8d57
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 (int16x8_t a, int16x8_t b)
11 return vcmpneq_s16 (a, b);
14 /* { dg-final { scan-assembler "vcmp.i16" } } */
16 mve_pred16_t
17 foo1 (int16x8_t a, int16x8_t b)
19 return vcmpneq (a, b);
22 /* { dg-final { scan-assembler "vcmp.i16" } } */