Debian Codegraph @

gcc/testsuite/gcc.target/arm/simd/fp16fml_low.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_fp16fml_neon_ok } */
3 /* { dg-add-options arm_fp16fml_neon } */
4
5 #include "arm_neon.h"
6
7 float32x2_t
8 test_vfmlal_low_f16 (float32x2_t r, float16x4_t a, float16x4_t b)
9 {
10 return vfmlal_low_f16 (r, a, b);
11 }
12
13 float32x4_t
14 test_vfmlalq_low_f16 (float32x4_t r, float16x8_t a, float16x8_t b)
15 {
16 return vfmlalq_low_f16 (r, a, b);
17 }
18
19 float32x2_t
20 test_vfmlsl_low_f16 (float32x2_t r, float16x4_t a, float16x4_t b)
21 {
22 return vfmlsl_low_f16 (r, a, b);
23 }
24
25 float32x4_t
26 test_vfmlslq_low_f16 (float32x4_t r, float16x8_t a, float16x8_t b)
27 {
28 return vfmlslq_low_f16 (r, a, b);
29 }
30
31 /* { dg-final { scan-assembler-times {vfmal.f16\td[0-9]+, s[123]?[02468], s[123]?[02468]} 1 } } */
32 /* { dg-final { scan-assembler-times {vfmal.f16\tq[0-9]+, d[123]?[02468], d[123]?[02468]} 1 } } */
33 /* { dg-final { scan-assembler-times {vfmsl.f16\td[0-9]+, s[123]?[02468], s[123]?[02468]} 1 } } */
34 /* { dg-final { scan-assembler-times {vfmsl.f16\tq[0-9]+, d[123]?[02468], d[123]?[02468]} 1 } } */