[ARM][GCC][2/3x]: MVE intrinsics with ternary operands.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vmaxavq_p_s32.c
blob3d45852586d945d063106467dd83823816bb2511
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 uint32_t
9 foo (uint32_t a, int32x4_t b, mve_pred16_t p)
11 return vmaxavq_p_s32 (a, b, p);
14 /* { dg-final { scan-assembler "vmaxavt.s32" } } */
16 uint32_t
17 foo1 (uint32_t a, int32x4_t b, mve_pred16_t p)
19 return vmaxavq_p (a, b, p);
22 /* { dg-final { scan-assembler "vmaxavt.s32" } } */