Debian Codegraph @

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

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