PR116019: Improve tail call error message
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vabdh_f16_1.c
blob3a5efa58088b029a726374dee7bf02b48088f7a3
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_v8_2a_fp16_scalar_hw } */
3 /* { dg-add-options arm_v8_2a_fp16_scalar } */
4 /* { dg-skip-if "" { arm*-*-* } } */
6 #include <arm_fp16.h>
8 #define INFF __builtin_inf ()
10 /* Expected results.
11 Absolute difference between INPUT1 and INPUT2 in binary_scalar_op.inc. */
12 uint16_t expected[] =
14 0x3C00,
15 0x3C00,
16 0x4654,
17 0x560E,
18 0x4900,
19 0x36B8,
20 0x419a,
21 0x4848,
22 0x3d34,
23 0x4cec,
24 0x4791,
25 0x3f34,
26 0x484d,
27 0x4804,
28 0x469c,
29 0x4ceb,
30 0x7c00,
31 0x7c00
34 #define TEST_MSG "VABDH_F16"
35 #define INSN_NAME vabdh_f16
37 #define EXPECTED expected
39 #define INPUT_TYPE float16_t
40 #define OUTPUT_TYPE float16_t
41 #define OUTPUT_TYPE_SIZE 16
43 /* Include the template for binary scalar operations. */
44 #include "binary_scalar_op.inc"