2 /* { dg-require-effective-target arm_v8_2a_fp16_scalar_hw } */
3 /* { dg-add-options arm_v8_2a_fp16_scalar } */
7 /* Expected results (16-bit hexadecimal representation). */
10 0x0000 /* 0.000000 */,
11 0x8000 /* -0.000000 */,
12 0x4000 /* 2.000000 */,
13 0x4200 /* 3.000000 */,
14 0x4d00 /* 20.000000 */,
15 0x0000 /* 0.000000 */,
16 0xc000 /* -2.000000 */,
17 0x3c00 /* 1.000000 */,
18 0xc800 /* -8.000000 */,
19 0x0000 /* 0.000000 */,
20 0x0000 /* 0.000000 */,
21 0x0000 /* 0.000000 */,
22 0x3c00 /* 1.000000 */,
23 0x4a80 /* 13.000000 */,
24 0xc600 /* -6.000000 */,
25 0x4d00 /* 20.000000 */,
30 #define TEST_MSG "VRNDIH_F16"
31 #define INSN_NAME vrndih_f16
33 #define EXPECTED expected
35 #define INPUT_TYPE float16_t
36 #define OUTPUT_TYPE float16_t
37 #define OUTPUT_TYPE_SIZE 16
39 /* Include the template for unary scalar operations. */
40 #include "unary_scalar_op.inc"