Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vraddhn_high.c

raw
1 /* { dg-skip-if "" { arm*-*-* } } */
2
3 #include <arm_neon.h>
4 #include "arm-neon-ref.h"
5 #include "compute-ref-data.h"
6
7 #if defined(__cplusplus)
8 #include <cstdint>
9 #else
10 #include <stdint.h>
11 #endif
12
13 #define INSN_NAME vraddhn_high
14 #define TEST_MSG "VRADDHN_HIGH"
15
16 /* Expected results. */
17 VECT_VAR_DECL(expected, int, 8, 16) [] = { 0x5, 0x5, 0x5, 0x5,
18 0x5, 0x5, 0x5, 0x5,
19 0x33, 0x33, 0x33, 0x33,
20 0x33, 0x33, 0x33, 0x33 };
21 VECT_VAR_DECL(expected, int, 16, 8) [] = { 0x5, 0x5, 0x5, 0x5,
22 0x33, 0x33, 0x33, 0x33 };
23 VECT_VAR_DECL(expected, int, 32, 4) [] = { 0x5, 0x5, 0x19, 0x19 };
24 VECT_VAR_DECL(expected, uint, 8, 16) [] = { 0x5, 0x5, 0x5, 0x5,
25 0x5, 0x5, 0x5, 0x5,
26 0x4, 0x4, 0x4, 0x4,
27 0x4, 0x4, 0x4, 0x4 };
28 VECT_VAR_DECL(expected, uint, 16, 8) [] = { 0x5, 0x5, 0x5, 0x5,
29 0x38, 0x38, 0x38, 0x38 };
30 VECT_VAR_DECL(expected, uint, 32, 4) [] = { 0x5, 0x5, 0x4, 0x4 };
31
32 #include "vXXXhn_high.inc"