Debian Codegraph @

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

raw
1 #define INSN_NAME vclt
2 #define TEST_MSG "VCLT/VCLTQ"
3
4 #include "cmp_op.inc"
5
6 /* Expected results. */
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0xff, 0xff, 0xff, 0xff,
8 0xff, 0xff, 0x0, 0x0 };
9 VECT_VAR_DECL(expected,uint,16,4) [] = { 0xffff, 0xffff, 0x0, 0x0 };
10 VECT_VAR_DECL(expected,uint,32,2) [] = { 0x0, 0x0 };
11 VECT_VAR_DECL(expected,uint,8,16) [] = { 0xff, 0xff, 0xff, 0xff,
12 0xff, 0xff, 0xff, 0xff,
13 0xff, 0xff, 0xff, 0xff,
14 0x0, 0x0, 0x0, 0x0 };
15 VECT_VAR_DECL(expected,uint,16,8) [] = { 0xffff, 0xffff, 0xffff, 0xffff,
16 0xffff, 0xffff, 0x0, 0x0 };
17 VECT_VAR_DECL(expected,uint,32,4) [] = { 0xffffffff, 0xffffffff, 0x0, 0x0 };
18
19 VECT_VAR_DECL(expected_uint,uint,8,8) [] = { 0xff, 0xff, 0xff, 0x0,
20 0x0, 0x0, 0x0, 0x0 };
21 VECT_VAR_DECL(expected_uint,uint,16,4) [] = { 0xffff, 0xffff, 0x0, 0x0 };
22 VECT_VAR_DECL(expected_uint,uint,32,2) [] = { 0xffffffff, 0x0 };
23
24 VECT_VAR_DECL(expected_q_uint,uint,8,16) [] = { 0xff, 0xff, 0xff, 0xff,
25 0x0, 0x0, 0x0, 0x0,
26 0x0, 0x0, 0x0, 0x0,
27 0x0, 0x0, 0x0, 0x0 };
28 VECT_VAR_DECL(expected_q_uint,uint,16,8) [] = { 0xffff, 0xffff, 0xffff, 0xffff,
29 0xffff, 0xffff, 0x0, 0x0 };
30 VECT_VAR_DECL(expected_q_uint,uint,32,4) [] = { 0xffffffff, 0xffffffff,
31 0x0, 0x0 };
32
33 #if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC)
34 VECT_VAR_DECL (expected_float, uint, 16, 4) [] = { 0xffff, 0x0, 0x0, 0x0 };
35 VECT_VAR_DECL (expected_q_float, uint, 16, 8) [] = { 0xffff, 0xffff,
36 0x0, 0x0,
37 0x0, 0x0,
38 0x0, 0x0 };
39 #endif
40
41 VECT_VAR_DECL(expected_float,uint,32,2) [] = { 0xffffffff, 0x0 };
42 VECT_VAR_DECL(expected_q_float,uint,32,4) [] = { 0xffffffff, 0xffffffff,
43 0x0, 0x0 };
44
45 VECT_VAR_DECL(expected_uint2,uint,32,2) [] = { 0x0, 0x0 };
46 VECT_VAR_DECL(expected_uint3,uint,32,2) [] = { 0xffffffff, 0x0 };
47 VECT_VAR_DECL(expected_uint4,uint,32,2) [] = { 0x0, 0x0 };
48
49 #if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC)
50 VECT_VAR_DECL (expected_nan, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
51 VECT_VAR_DECL (expected_mnan, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
52 VECT_VAR_DECL (expected_nan2, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
53
54 VECT_VAR_DECL (expected_inf, uint, 16, 4) [] = { 0xffff, 0xffff,
55 0xffff, 0xffff };
56 VECT_VAR_DECL (expected_minf, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
57 VECT_VAR_DECL (expected_inf2, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
58
59 VECT_VAR_DECL (expected_mzero, uint, 16, 4) [] = { 0x0, 0x0, 0x0, 0x0 };
60 #endif
61
62 VECT_VAR_DECL(expected_nan,uint,32,2) [] = { 0x0, 0x0 };
63 VECT_VAR_DECL(expected_mnan,uint,32,2) [] = { 0x0, 0x0 };
64 VECT_VAR_DECL(expected_nan2,uint,32,2) [] = { 0x0, 0x0 };
65
66 VECT_VAR_DECL(expected_inf,uint,32,2) [] = { 0xffffffff, 0xffffffff };
67 VECT_VAR_DECL(expected_minf,uint,32,2) [] = { 0x0, 0x0 };
68 VECT_VAR_DECL(expected_inf2,uint,32,2) [] = { 0x0, 0x0 };
69
70 VECT_VAR_DECL(expected_mzero,uint,32,2) [] = { 0x0, 0x0 };