Adjust 'libgomp.c/max_vf-*.c'
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vsubq_n_f16.c
blob3c31189e52ee0c1cc5273130e102b67183ee3bfe
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 "**" "" } } */
6 #include "arm_mve.h"
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
13 **foo:
14 ** ...
15 ** vsub.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
16 ** ...
18 float16x8_t
19 foo (float16x8_t a, float16_t b)
21 return vsubq_n_f16 (a, b);
26 **foo1:
27 ** ...
28 ** vsub.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
29 ** ...
31 float16x8_t
32 foo1 (float16x8_t a, float16_t b)
34 return vsubq (a, b);
38 **foo2:
39 ** ...
40 ** vsub.f16 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
41 ** ...
43 float16x8_t
44 foo2 (float16x8_t a)
46 return vsubq (a, 1.1);
49 #ifdef __cplusplus
51 #endif
53 /* { dg-final { scan-assembler-not "__ARM_undef" } } */