Debian Codegraph @

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

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