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" } */
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" } } */
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" } } */