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 (uint16_t a
, uint16x8_t b
, mve_pred16_t p
)
11 return vmaxvq_p_u16 (a
, b
, p
);
14 /* { dg-final { scan-assembler "vmaxvt.u16" } } */
17 foo1 (uint16_t a
, uint16x8_t b
, mve_pred16_t p
)
19 return vmaxvq_p (a
, b
, p
);
22 /* { dg-final { scan-assembler "vmaxvt.u16" } } */