1 /* THIS FILE IS GENERATED. -*- buffer-read-only: t -*- vi:set ro:
2 Original: aarch64.xml */
6 #include "target-descriptions.h"
8 struct target_desc
*tdesc_aarch64
;
10 initialize_tdesc_aarch64 (void)
12 struct target_desc
*result
= allocate_target_description ();
13 struct tdesc_feature
*feature
;
14 struct tdesc_type
*field_type
;
15 struct tdesc_type
*type
;
17 set_tdesc_architecture (result
, bfd_scan_arch ("aarch64"));
19 feature
= tdesc_create_feature (result
, "org.gnu.gdb.aarch64.core");
20 tdesc_create_reg (feature
, "x0", 0, 1, NULL
, 64, "int");
21 tdesc_create_reg (feature
, "x1", 1, 1, NULL
, 64, "int");
22 tdesc_create_reg (feature
, "x2", 2, 1, NULL
, 64, "int");
23 tdesc_create_reg (feature
, "x3", 3, 1, NULL
, 64, "int");
24 tdesc_create_reg (feature
, "x4", 4, 1, NULL
, 64, "int");
25 tdesc_create_reg (feature
, "x5", 5, 1, NULL
, 64, "int");
26 tdesc_create_reg (feature
, "x6", 6, 1, NULL
, 64, "int");
27 tdesc_create_reg (feature
, "x7", 7, 1, NULL
, 64, "int");
28 tdesc_create_reg (feature
, "x8", 8, 1, NULL
, 64, "int");
29 tdesc_create_reg (feature
, "x9", 9, 1, NULL
, 64, "int");
30 tdesc_create_reg (feature
, "x10", 10, 1, NULL
, 64, "int");
31 tdesc_create_reg (feature
, "x11", 11, 1, NULL
, 64, "int");
32 tdesc_create_reg (feature
, "x12", 12, 1, NULL
, 64, "int");
33 tdesc_create_reg (feature
, "x13", 13, 1, NULL
, 64, "int");
34 tdesc_create_reg (feature
, "x14", 14, 1, NULL
, 64, "int");
35 tdesc_create_reg (feature
, "x15", 15, 1, NULL
, 64, "int");
36 tdesc_create_reg (feature
, "x16", 16, 1, NULL
, 64, "int");
37 tdesc_create_reg (feature
, "x17", 17, 1, NULL
, 64, "int");
38 tdesc_create_reg (feature
, "x18", 18, 1, NULL
, 64, "int");
39 tdesc_create_reg (feature
, "x19", 19, 1, NULL
, 64, "int");
40 tdesc_create_reg (feature
, "x20", 20, 1, NULL
, 64, "int");
41 tdesc_create_reg (feature
, "x21", 21, 1, NULL
, 64, "int");
42 tdesc_create_reg (feature
, "x22", 22, 1, NULL
, 64, "int");
43 tdesc_create_reg (feature
, "x23", 23, 1, NULL
, 64, "int");
44 tdesc_create_reg (feature
, "x24", 24, 1, NULL
, 64, "int");
45 tdesc_create_reg (feature
, "x25", 25, 1, NULL
, 64, "int");
46 tdesc_create_reg (feature
, "x26", 26, 1, NULL
, 64, "int");
47 tdesc_create_reg (feature
, "x27", 27, 1, NULL
, 64, "int");
48 tdesc_create_reg (feature
, "x28", 28, 1, NULL
, 64, "int");
49 tdesc_create_reg (feature
, "x29", 29, 1, NULL
, 64, "int");
50 tdesc_create_reg (feature
, "x30", 30, 1, NULL
, 64, "int");
51 tdesc_create_reg (feature
, "sp", 31, 1, NULL
, 64, "data_ptr");
52 tdesc_create_reg (feature
, "pc", 32, 1, NULL
, 64, "code_ptr");
53 tdesc_create_reg (feature
, "cpsr", 33, 1, NULL
, 32, "int");
55 feature
= tdesc_create_feature (result
, "org.gnu.gdb.aarch64.fpu");
56 field_type
= tdesc_named_type (feature
, "ieee_double");
57 tdesc_create_vector (feature
, "v2d", field_type
, 2);
59 field_type
= tdesc_named_type (feature
, "uint64");
60 tdesc_create_vector (feature
, "v2u", field_type
, 2);
62 field_type
= tdesc_named_type (feature
, "int64");
63 tdesc_create_vector (feature
, "v2i", field_type
, 2);
65 field_type
= tdesc_named_type (feature
, "ieee_single");
66 tdesc_create_vector (feature
, "v4f", field_type
, 4);
68 field_type
= tdesc_named_type (feature
, "uint32");
69 tdesc_create_vector (feature
, "v4u", field_type
, 4);
71 field_type
= tdesc_named_type (feature
, "int32");
72 tdesc_create_vector (feature
, "v4i", field_type
, 4);
74 field_type
= tdesc_named_type (feature
, "uint16");
75 tdesc_create_vector (feature
, "v8u", field_type
, 8);
77 field_type
= tdesc_named_type (feature
, "int16");
78 tdesc_create_vector (feature
, "v8i", field_type
, 8);
80 field_type
= tdesc_named_type (feature
, "uint8");
81 tdesc_create_vector (feature
, "v16u", field_type
, 16);
83 field_type
= tdesc_named_type (feature
, "int8");
84 tdesc_create_vector (feature
, "v16i", field_type
, 16);
86 field_type
= tdesc_named_type (feature
, "uint128");
87 tdesc_create_vector (feature
, "v1u", field_type
, 1);
89 field_type
= tdesc_named_type (feature
, "int128");
90 tdesc_create_vector (feature
, "v1i", field_type
, 1);
92 type
= tdesc_create_union (feature
, "vnd");
93 field_type
= tdesc_named_type (feature
, "v2d");
94 tdesc_add_field (type
, "f", field_type
);
95 field_type
= tdesc_named_type (feature
, "v2u");
96 tdesc_add_field (type
, "u", field_type
);
97 field_type
= tdesc_named_type (feature
, "v2i");
98 tdesc_add_field (type
, "s", field_type
);
100 type
= tdesc_create_union (feature
, "vns");
101 field_type
= tdesc_named_type (feature
, "v4f");
102 tdesc_add_field (type
, "f", field_type
);
103 field_type
= tdesc_named_type (feature
, "v4u");
104 tdesc_add_field (type
, "u", field_type
);
105 field_type
= tdesc_named_type (feature
, "v4i");
106 tdesc_add_field (type
, "s", field_type
);
108 type
= tdesc_create_union (feature
, "vnh");
109 field_type
= tdesc_named_type (feature
, "v8u");
110 tdesc_add_field (type
, "u", field_type
);
111 field_type
= tdesc_named_type (feature
, "v8i");
112 tdesc_add_field (type
, "s", field_type
);
114 type
= tdesc_create_union (feature
, "vnb");
115 field_type
= tdesc_named_type (feature
, "v16u");
116 tdesc_add_field (type
, "u", field_type
);
117 field_type
= tdesc_named_type (feature
, "v16i");
118 tdesc_add_field (type
, "s", field_type
);
120 type
= tdesc_create_union (feature
, "vnq");
121 field_type
= tdesc_named_type (feature
, "v1u");
122 tdesc_add_field (type
, "u", field_type
);
123 field_type
= tdesc_named_type (feature
, "v1i");
124 tdesc_add_field (type
, "s", field_type
);
126 type
= tdesc_create_union (feature
, "aarch64v");
127 field_type
= tdesc_named_type (feature
, "vnd");
128 tdesc_add_field (type
, "d", field_type
);
129 field_type
= tdesc_named_type (feature
, "vns");
130 tdesc_add_field (type
, "s", field_type
);
131 field_type
= tdesc_named_type (feature
, "vnh");
132 tdesc_add_field (type
, "h", field_type
);
133 field_type
= tdesc_named_type (feature
, "vnb");
134 tdesc_add_field (type
, "b", field_type
);
135 field_type
= tdesc_named_type (feature
, "vnq");
136 tdesc_add_field (type
, "q", field_type
);
138 tdesc_create_reg (feature
, "v0", 34, 1, NULL
, 128, "aarch64v");
139 tdesc_create_reg (feature
, "v1", 35, 1, NULL
, 128, "aarch64v");
140 tdesc_create_reg (feature
, "v2", 36, 1, NULL
, 128, "aarch64v");
141 tdesc_create_reg (feature
, "v3", 37, 1, NULL
, 128, "aarch64v");
142 tdesc_create_reg (feature
, "v4", 38, 1, NULL
, 128, "aarch64v");
143 tdesc_create_reg (feature
, "v5", 39, 1, NULL
, 128, "aarch64v");
144 tdesc_create_reg (feature
, "v6", 40, 1, NULL
, 128, "aarch64v");
145 tdesc_create_reg (feature
, "v7", 41, 1, NULL
, 128, "aarch64v");
146 tdesc_create_reg (feature
, "v8", 42, 1, NULL
, 128, "aarch64v");
147 tdesc_create_reg (feature
, "v9", 43, 1, NULL
, 128, "aarch64v");
148 tdesc_create_reg (feature
, "v10", 44, 1, NULL
, 128, "aarch64v");
149 tdesc_create_reg (feature
, "v11", 45, 1, NULL
, 128, "aarch64v");
150 tdesc_create_reg (feature
, "v12", 46, 1, NULL
, 128, "aarch64v");
151 tdesc_create_reg (feature
, "v13", 47, 1, NULL
, 128, "aarch64v");
152 tdesc_create_reg (feature
, "v14", 48, 1, NULL
, 128, "aarch64v");
153 tdesc_create_reg (feature
, "v15", 49, 1, NULL
, 128, "aarch64v");
154 tdesc_create_reg (feature
, "v16", 50, 1, NULL
, 128, "aarch64v");
155 tdesc_create_reg (feature
, "v17", 51, 1, NULL
, 128, "aarch64v");
156 tdesc_create_reg (feature
, "v18", 52, 1, NULL
, 128, "aarch64v");
157 tdesc_create_reg (feature
, "v19", 53, 1, NULL
, 128, "aarch64v");
158 tdesc_create_reg (feature
, "v20", 54, 1, NULL
, 128, "aarch64v");
159 tdesc_create_reg (feature
, "v21", 55, 1, NULL
, 128, "aarch64v");
160 tdesc_create_reg (feature
, "v22", 56, 1, NULL
, 128, "aarch64v");
161 tdesc_create_reg (feature
, "v23", 57, 1, NULL
, 128, "aarch64v");
162 tdesc_create_reg (feature
, "v24", 58, 1, NULL
, 128, "aarch64v");
163 tdesc_create_reg (feature
, "v25", 59, 1, NULL
, 128, "aarch64v");
164 tdesc_create_reg (feature
, "v26", 60, 1, NULL
, 128, "aarch64v");
165 tdesc_create_reg (feature
, "v27", 61, 1, NULL
, 128, "aarch64v");
166 tdesc_create_reg (feature
, "v28", 62, 1, NULL
, 128, "aarch64v");
167 tdesc_create_reg (feature
, "v29", 63, 1, NULL
, 128, "aarch64v");
168 tdesc_create_reg (feature
, "v30", 64, 1, NULL
, 128, "aarch64v");
169 tdesc_create_reg (feature
, "v31", 65, 1, NULL
, 128, "aarch64v");
170 tdesc_create_reg (feature
, "fpsr", 66, 1, NULL
, 32, "int");
171 tdesc_create_reg (feature
, "fpcr", 67, 1, NULL
, 32, "int");
173 tdesc_aarch64
= result
;
This page took 0.036786 seconds and 4 git commands to generate.