1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
3 /* { dg-additional-options "-O2" } */
4 /* { dg-final { check-function-bodies "**" "" } } */
15 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
19 ** vhaddt.s16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
23 foo (int16x8_t inactive
, int16x8_t a
, int16_t b
, mve_pred16_t p
)
25 return vhaddq_m_n_s16 (inactive
, a
, b
, p
);
32 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
36 ** vhaddt.s16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
40 foo1 (int16x8_t inactive
, int16x8_t a
, int16_t b
, mve_pred16_t p
)
42 return vhaddq_m (inactive
, a
, b
, p
);
49 /* { dg-final { scan-assembler-not "__ARM_undef" } } */