GDBserver
amd64-avx512-linux.c
Go to the documentation of this file.
1 /* *INDENT-OFF* */ /* THIS FILE IS GENERATED */
2 
3 /* A register protocol for GDB, the GNU debugger.
4  Copyright (C) 2001-2013 Free Software Foundation, Inc.
5 
6  This file is part of GDB.
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 3 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 
21 /* This file was created with the aid of ``regdat.sh'' and ``./../regformats/i386/amd64-avx512-linux.dat''. */
22 
23 #include "server.h"
24 #include "regdef.h"
25 #include "tdesc.h"
26 
27 static struct reg regs_amd64_avx512_linux[] = {
28  { "rax", 0, 64 },
29  { "rbx", 64, 64 },
30  { "rcx", 128, 64 },
31  { "rdx", 192, 64 },
32  { "rsi", 256, 64 },
33  { "rdi", 320, 64 },
34  { "rbp", 384, 64 },
35  { "rsp", 448, 64 },
36  { "r8", 512, 64 },
37  { "r9", 576, 64 },
38  { "r10", 640, 64 },
39  { "r11", 704, 64 },
40  { "r12", 768, 64 },
41  { "r13", 832, 64 },
42  { "r14", 896, 64 },
43  { "r15", 960, 64 },
44  { "rip", 1024, 64 },
45  { "eflags", 1088, 32 },
46  { "cs", 1120, 32 },
47  { "ss", 1152, 32 },
48  { "ds", 1184, 32 },
49  { "es", 1216, 32 },
50  { "fs", 1248, 32 },
51  { "gs", 1280, 32 },
52  { "st0", 1312, 80 },
53  { "st1", 1392, 80 },
54  { "st2", 1472, 80 },
55  { "st3", 1552, 80 },
56  { "st4", 1632, 80 },
57  { "st5", 1712, 80 },
58  { "st6", 1792, 80 },
59  { "st7", 1872, 80 },
60  { "fctrl", 1952, 32 },
61  { "fstat", 1984, 32 },
62  { "ftag", 2016, 32 },
63  { "fiseg", 2048, 32 },
64  { "fioff", 2080, 32 },
65  { "foseg", 2112, 32 },
66  { "fooff", 2144, 32 },
67  { "fop", 2176, 32 },
68  { "xmm0", 2208, 128 },
69  { "xmm1", 2336, 128 },
70  { "xmm2", 2464, 128 },
71  { "xmm3", 2592, 128 },
72  { "xmm4", 2720, 128 },
73  { "xmm5", 2848, 128 },
74  { "xmm6", 2976, 128 },
75  { "xmm7", 3104, 128 },
76  { "xmm8", 3232, 128 },
77  { "xmm9", 3360, 128 },
78  { "xmm10", 3488, 128 },
79  { "xmm11", 3616, 128 },
80  { "xmm12", 3744, 128 },
81  { "xmm13", 3872, 128 },
82  { "xmm14", 4000, 128 },
83  { "xmm15", 4128, 128 },
84  { "mxcsr", 4256, 32 },
85  { "orig_rax", 4288, 64 },
86  { "ymm0h", 4352, 128 },
87  { "ymm1h", 4480, 128 },
88  { "ymm2h", 4608, 128 },
89  { "ymm3h", 4736, 128 },
90  { "ymm4h", 4864, 128 },
91  { "ymm5h", 4992, 128 },
92  { "ymm6h", 5120, 128 },
93  { "ymm7h", 5248, 128 },
94  { "ymm8h", 5376, 128 },
95  { "ymm9h", 5504, 128 },
96  { "ymm10h", 5632, 128 },
97  { "ymm11h", 5760, 128 },
98  { "ymm12h", 5888, 128 },
99  { "ymm13h", 6016, 128 },
100  { "ymm14h", 6144, 128 },
101  { "ymm15h", 6272, 128 },
102  { "bnd0raw", 6400, 128 },
103  { "bnd1raw", 6528, 128 },
104  { "bnd2raw", 6656, 128 },
105  { "bnd3raw", 6784, 128 },
106  { "bndcfgu", 6912, 64 },
107  { "bndstatus", 6976, 64 },
108  { "xmm16", 7040, 128 },
109  { "xmm17", 7168, 128 },
110  { "xmm18", 7296, 128 },
111  { "xmm19", 7424, 128 },
112  { "xmm20", 7552, 128 },
113  { "xmm21", 7680, 128 },
114  { "xmm22", 7808, 128 },
115  { "xmm23", 7936, 128 },
116  { "xmm24", 8064, 128 },
117  { "xmm25", 8192, 128 },
118  { "xmm26", 8320, 128 },
119  { "xmm27", 8448, 128 },
120  { "xmm28", 8576, 128 },
121  { "xmm29", 8704, 128 },
122  { "xmm30", 8832, 128 },
123  { "xmm31", 8960, 128 },
124  { "ymm16h", 9088, 128 },
125  { "ymm17h", 9216, 128 },
126  { "ymm18h", 9344, 128 },
127  { "ymm19h", 9472, 128 },
128  { "ymm20h", 9600, 128 },
129  { "ymm21h", 9728, 128 },
130  { "ymm22h", 9856, 128 },
131  { "ymm23h", 9984, 128 },
132  { "ymm24h", 10112, 128 },
133  { "ymm25h", 10240, 128 },
134  { "ymm26h", 10368, 128 },
135  { "ymm27h", 10496, 128 },
136  { "ymm28h", 10624, 128 },
137  { "ymm29h", 10752, 128 },
138  { "ymm30h", 10880, 128 },
139  { "ymm31h", 11008, 128 },
140  { "k0", 11136, 64 },
141  { "k1", 11200, 64 },
142  { "k2", 11264, 64 },
143  { "k3", 11328, 64 },
144  { "k4", 11392, 64 },
145  { "k5", 11456, 64 },
146  { "k6", 11520, 64 },
147  { "k7", 11584, 64 },
148  { "zmm0h", 11648, 256 },
149  { "zmm1h", 11904, 256 },
150  { "zmm2h", 12160, 256 },
151  { "zmm3h", 12416, 256 },
152  { "zmm4h", 12672, 256 },
153  { "zmm5h", 12928, 256 },
154  { "zmm6h", 13184, 256 },
155  { "zmm7h", 13440, 256 },
156  { "zmm8h", 13696, 256 },
157  { "zmm9h", 13952, 256 },
158  { "zmm10h", 14208, 256 },
159  { "zmm11h", 14464, 256 },
160  { "zmm12h", 14720, 256 },
161  { "zmm13h", 14976, 256 },
162  { "zmm14h", 15232, 256 },
163  { "zmm15h", 15488, 256 },
164  { "zmm16h", 15744, 256 },
165  { "zmm17h", 16000, 256 },
166  { "zmm18h", 16256, 256 },
167  { "zmm19h", 16512, 256 },
168  { "zmm20h", 16768, 256 },
169  { "zmm21h", 17024, 256 },
170  { "zmm22h", 17280, 256 },
171  { "zmm23h", 17536, 256 },
172  { "zmm24h", 17792, 256 },
173  { "zmm25h", 18048, 256 },
174  { "zmm26h", 18304, 256 },
175  { "zmm27h", 18560, 256 },
176  { "zmm28h", 18816, 256 },
177  { "zmm29h", 19072, 256 },
178  { "zmm30h", 19328, 256 },
179  { "zmm31h", 19584, 256 },
180 };
181 
182 static const char *expedite_regs_amd64_avx512_linux[] = { "rbp", "rsp", "rip", 0 };
183 static const char *xmltarget_amd64_avx512_linux = "amd64-avx512-linux.xml";
184 
186 
187 void
189 {
190  static struct target_desc tdesc_amd64_avx512_linux_s;
191  struct target_desc *result = &tdesc_amd64_avx512_linux_s;
192 
194  result->num_registers = sizeof (regs_amd64_avx512_linux) / sizeof (regs_amd64_avx512_linux[0]);
197 
198  init_target_desc (result);
199 
200  tdesc_amd64_avx512_linux = result;
201 }
static const char * expedite_regs_amd64_avx512_linux[]
const char ** expedite_regs
Definition: tdesc.h:41
void init_registers_amd64_avx512_linux(void)
const char * xmltarget
Definition: tdesc.h:47
static const char * xmltarget_amd64_avx512_linux
int num_registers
Definition: tdesc.h:34
static struct reg regs_amd64_avx512_linux[]
const struct target_desc * tdesc_amd64_avx512_linux
void init_target_desc(struct target_desc *tdesc)
Definition: tdesc.c:23
struct reg * reg_defs
Definition: tdesc.h:30