[ARM][GCC][2/3x]: MVE intrinsics with ternary operands.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vqdmladhq_s8.c
blob32d2eb860445884eb01efc85d1fba6a300c0c625
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 int8x16_t
9 foo (int8x16_t inactive, int8x16_t a, int8x16_t b)
11 return vqdmladhq_s8 (inactive, a, b);
14 /* { dg-final { scan-assembler "vqdmladh.s8" } } */
16 int8x16_t
17 foo1 (int8x16_t inactive, int8x16_t a, int8x16_t b)
19 return vqdmladhq (inactive, a, b);
22 /* { dg-final { scan-assembler "vqdmladh.s8" } } */