]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.target/arm/mve/intrinsics/vsubq_x_n_f16.c
1 /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
2 /* { dg-add-options arm_v8_1m_mve_fp } */
3 /* { dg-additional-options "-O2" } */
4 /* { dg-final { check-function-bodies "**" "" } } */
11 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
15 ** vsubt.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
19 foo (float16x8_t a
, float16_t b
, mve_pred16_t p
)
21 return vsubq_x_n_f16 (a
, b
, p
);
28 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
32 ** vsubt.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
36 foo1 (float16x8_t a
, float16_t b
, mve_pred16_t p
)
38 return vsubq_x (a
, b
, p
);
44 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
48 ** vsubt.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
52 foo2 (float16x8_t a
, mve_pred16_t p
)
54 return vsubq_x (a
, 1.1, p
);
57 /* { dg-final { scan-assembler-not "__ARM_undef" } } */
This page took 0.039055 seconds and 5 git commands to generate.