1 /* { dg-require-effective-target arm_v8_neon_hw } */
2 /* { dg-add-options arm_v8_neon } */
3 
4 #include <arm_neon.h>
5 #include "arm-neon-ref.h"
6 #include "compute-ref-data.h"
7 
8 /* Expected results.  */
9 #if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC)
10 VECT_VAR_DECL (expected, hfloat, 16, 4) [] = { 0xcc00, 0xcb80,
11 					       0xcb00, 0xca80 };
12 VECT_VAR_DECL (expected, hfloat, 16, 8) [] = { 0xcc00, 0xcb80,
13 					       0xcb00, 0xca80,
14 					       0xca00, 0xc980,
15 					       0xc900, 0xc880 };
16 #endif
17 VECT_VAR_DECL (expected, hfloat, 32, 2) [] = { 0xc1800000, 0xc1700000 };
18 VECT_VAR_DECL (expected, hfloat, 32, 4) [] = { 0xc1800000, 0xc1700000,
19 					       0xc1600000, 0xc1500000 };
20 
21 #define INSN vrndp
22 #define TEST_MSG "VRNDP"
23 
24 #include "vrndX.inc"
25