Debian Codegraph @

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

raw
1 #define INSN_NAME vcgt
2 #define TEST_MSG "VCGT/VCGTQ"
3
4 #include "cmp_op.inc"
5
6 /* Expected results. */
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xff };
8 VECT_VAR_DECL(expected,uint,16,4) [] = { 0x0, 0x0, 0x0, 0xffff };
9 VECT_VAR_DECL(expected,uint,32,2) [] = { 0x0, 0xffffffff };
10 VECT_VAR_DECL(expected,uint,8,16) [] = { 0x0, 0x0, 0x0, 0x0,
11 0x0, 0x0, 0x0, 0x0,
12 0x0, 0x0, 0x0, 0x0,
13 0x0, 0xff, 0xff, 0xff };
14 VECT_VAR_DECL(expected,uint,16,8) [] = { 0x0, 0x0, 0x0, 0x0,
15 0x0, 0x0, 0x0, 0xffff };
16 VECT_VAR_DECL(expected,uint,32,4) [] = { 0x0, 0x0, 0x0, 0xffffffff };
17
18 VECT_VAR_DECL(expected_uint,uint,8,8) [] = { 0x0, 0x0, 0x0, 0x0,
19 0xff, 0xff, 0xff, 0xff };
20 VECT_VAR_DECL(expected_uint,uint,16,4) [] = { 0x0, 0x0, 0x0, 0xffff };
21 VECT_VAR_DECL(expected_uint,uint,32,2) [] = { 0x0, 0x0 };
22
23 VECT_VAR_DECL(expected_q_uint,uint,8,16) [] = { 0x0, 0x0, 0x0, 0x0,
24 0x0, 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 0x0, 0x0, 0x0, 0xffff };
29 VECT_VAR_DECL(expected_q_uint,uint,32,4) [] = { 0x0, 0x0, 0x0, 0xffffffff };
30
31 #if defined (__ARM_FEATURE_FP16_VECTOR_ARITHMETIC)
32 VECT_VAR_DECL (expected_float, uint, 16, 4) [] = { 0x0, 0x0, 0xffff, 0xffff };
33 VECT_VAR_DECL (expected_q_float, uint, 16, 8) [] = { 0x0, 0x0,
34 0x0, 0xffff,
35 0xffff, 0xffff,
36 0xffff, 0xffff };
37 #endif
38
39 VECT_VAR_DECL(expected_float,uint,32,2) [] = { 0x0, 0x0 };
40 VECT_VAR_DECL(expected_q_float,uint,32,4) [] = { 0x0, 0x0, 0x0, 0xffffffff };
41
42 VECT_VAR_DECL(expected_uint2,uint,32,2) [] = { 0x0, 0xffffffff };
43 VECT_VAR_DECL(expected_uint3,uint,32,2) [] = { 0x0, 0x0 };
44 VECT_VAR_DECL(expected_uint4,uint,32,2) [] = { 0x0, 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) [] = { 0x0, 0x0, 0x0, 0x0 };
57 #endif
58
59 VECT_VAR_DECL(expected_nan,uint,32,2) [] = { 0x0, 0x0 };
60 VECT_VAR_DECL(expected_mnan,uint,32,2) [] = { 0x0, 0x0 };
61 VECT_VAR_DECL(expected_nan2,uint,32,2) [] = { 0x0, 0x0 };
62
63 VECT_VAR_DECL(expected_inf,uint,32,2) [] = { 0x0, 0x0 };
64 VECT_VAR_DECL(expected_minf,uint,32,2) [] = { 0xffffffff, 0xffffffff };
65 VECT_VAR_DECL(expected_inf2,uint,32,2) [] = { 0xffffffff, 0xffffffff };
66
67 VECT_VAR_DECL(expected_mzero,uint,32,2) [] = { 0x0, 0x0 };