| 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 |
/* Expected results. */ |
| 10 |
#if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) |
| 11 |
VECT_VAR_DECL (expected, hfloat, 16, 4) [] = { 0xcc00, 0xcb80, |
| 12 |
0xcb00, 0xca80 }; |
| 13 |
VECT_VAR_DECL (expected, hfloat, 16, 8) [] = { 0xcc00, 0xcb80, |
| 14 |
0xcb00, 0xca80, |
| 15 |
0xca00, 0xc980, |
| 16 |
0xc900, 0xc880 }; |
| 17 |
#endif |
| 18 |
VECT_VAR_DECL (expected, hfloat, 32, 2) [] = { 0xc1800000, 0xc1700000 }; |
| 19 |
VECT_VAR_DECL (expected, hfloat, 32, 4) [] = { 0xc1800000, 0xc1700000, |
| 20 |
0xc1600000, 0xc1500000 }; |
| 21 |
|
| 22 |
#define INSN vrndm |
| 23 |
#define TEST_MSG "VRNDM" |
| 24 |
|
| 25 |
#include "vrndX.inc" |