gem5  v20.1.0.0
tarmac_parser.cc
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2011,2017-2019 ARM Limited
3  * All rights reserved
4  *
5  * The license below extends only to copyright in the software and shall
6  * not be construed as granting a license to any other intellectual
7  * property including but not limited to intellectual property relating
8  * to a hardware implementation of the functionality of the software
9  * licensed hereunder. You may use the software subject to the license
10  * terms below provided that you ensure that this notice is replicated
11  * unmodified and in its entirety in all distributions of the software,
12  * modified or unmodified, in source code or in binary form.
13  *
14  * Redistribution and use in source and binary forms, with or without
15  * modification, are permitted provided that the following conditions are
16  * met: redistributions of source code must retain the above copyright
17  * notice, this list of conditions and the following disclaimer;
18  * redistributions in binary form must reproduce the above copyright
19  * notice, this list of conditions and the following disclaimer in the
20  * documentation and/or other materials provided with the distribution;
21  * neither the name of the copyright holders nor the names of its
22  * contributors may be used to endorse or promote products derived from
23  * this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  */
37 
38 #include <algorithm>
39 #include <cctype>
40 #include <cstring>
41 #include <iomanip>
42 #include <string>
43 
45 
46 #include "arch/arm/tlb.hh"
48 #include "config/the_isa.hh"
49 #include "cpu/static_inst.hh"
50 #include "cpu/thread_context.hh"
51 #include "mem/packet.hh"
52 #include "mem/port_proxy.hh"
53 #include "sim/core.hh"
54 #include "sim/faults.hh"
55 #include "sim/sim_exit.hh"
56 
57 using namespace std;
58 using namespace ArmISA;
59 
60 namespace Trace {
61 
62 // TARMAC Parser static variables
63 const int TarmacParserRecord::MaxLineLength;
64 int8_t TarmacParserRecord::maxVectorLength = 0;
65 
66 TarmacParserRecord::ParserInstEntry TarmacParserRecord::instRecord;
67 TarmacParserRecord::ParserRegEntry TarmacParserRecord::regRecord;
68 TarmacParserRecord::ParserMemEntry TarmacParserRecord::memRecord;
69 TarmacBaseRecord::TarmacRecordType TarmacParserRecord::currRecordType;
70 
71 list<TarmacParserRecord::ParserRegEntry> TarmacParserRecord::destRegRecords;
72 char TarmacParserRecord::buf[TarmacParserRecord::MaxLineLength];
73 TarmacParserRecord::MiscRegMap TarmacParserRecord::miscRegMap = {
74 
75  { "cpsr", MISCREG_CPSR },
76  { "nzcv", MISCREG_NZCV },
77 
78  // AArch32 CP14 registers
79  { "dbgdidr", MISCREG_DBGDIDR },
80  { "dbgdscrint", MISCREG_DBGDSCRint },
81  { "dbgdccint", MISCREG_DBGDCCINT },
82  { "dbgdtrtxint", MISCREG_DBGDTRTXint },
83  { "dbgdtrrxint", MISCREG_DBGDTRRXint },
84  { "dbgwfar", MISCREG_DBGWFAR },
85  { "dbgvcr", MISCREG_DBGVCR },
86  { "dbgdtrrxext", MISCREG_DBGDTRRXext },
87  { "dbgdscrext", MISCREG_DBGDSCRext },
88  { "dbgdtrtxext", MISCREG_DBGDTRTXext },
89  { "dbgoseccr", MISCREG_DBGOSECCR },
90  { "dbgbvr0", MISCREG_DBGBVR0 },
91  { "dbgbvr1", MISCREG_DBGBVR1 },
92  { "dbgbvr2", MISCREG_DBGBVR2 },
93  { "dbgbvr3", MISCREG_DBGBVR3 },
94  { "dbgbvr4", MISCREG_DBGBVR4 },
95  { "dbgbvr5", MISCREG_DBGBVR5 },
96  { "dbgbvr6", MISCREG_DBGBVR6 },
97  { "dbgbvr7", MISCREG_DBGBVR7 },
98  { "dbgbvr8", MISCREG_DBGBVR8 },
99  { "dbgbvr9", MISCREG_DBGBVR9 },
100  { "dbgbvr10", MISCREG_DBGBVR10 },
101  { "dbgbvr11", MISCREG_DBGBVR11 },
102  { "dbgbvr12", MISCREG_DBGBVR12 },
103  { "dbgbvr13", MISCREG_DBGBVR13 },
104  { "dbgbvr14", MISCREG_DBGBVR14 },
105  { "dbgbvr15", MISCREG_DBGBVR15 },
106  { "dbgbcr0", MISCREG_DBGBCR0 },
107  { "dbgbcr1", MISCREG_DBGBCR1 },
108  { "dbgbcr2", MISCREG_DBGBCR2 },
109  { "dbgbcr3", MISCREG_DBGBCR3 },
110  { "dbgbcr4", MISCREG_DBGBCR4 },
111  { "dbgbcr5", MISCREG_DBGBCR5 },
112  { "dbgbcr6", MISCREG_DBGBCR6 },
113  { "dbgbcr7", MISCREG_DBGBCR7 },
114  { "dbgbcr8", MISCREG_DBGBCR8 },
115  { "dbgbcr9", MISCREG_DBGBCR9 },
116  { "dbgbcr10", MISCREG_DBGBCR10 },
117  { "dbgbcr11", MISCREG_DBGBCR11 },
118  { "dbgbcr12", MISCREG_DBGBCR12 },
119  { "dbgbcr13", MISCREG_DBGBCR13 },
120  { "dbgbcr14", MISCREG_DBGBCR14 },
121  { "dbgbcr15", MISCREG_DBGBCR15 },
122  { "dbgwvr0", MISCREG_DBGWVR0 },
123  { "dbgwvr1", MISCREG_DBGWVR1 },
124  { "dbgwvr2", MISCREG_DBGWVR2 },
125  { "dbgwvr3", MISCREG_DBGWVR3 },
126  { "dbgwvr4", MISCREG_DBGWVR4 },
127  { "dbgwvr5", MISCREG_DBGWVR5 },
128  { "dbgwvr6", MISCREG_DBGWVR6 },
129  { "dbgwvr7", MISCREG_DBGWVR7 },
130  { "dbgwvr8", MISCREG_DBGWVR8 },
131  { "dbgwvr9", MISCREG_DBGWVR9 },
132  { "dbgwvr10", MISCREG_DBGWVR10 },
133  { "dbgwvr11", MISCREG_DBGWVR11 },
134  { "dbgwvr12", MISCREG_DBGWVR12 },
135  { "dbgwvr13", MISCREG_DBGWVR13 },
136  { "dbgwvr14", MISCREG_DBGWVR14 },
137  { "dbgwvr15", MISCREG_DBGWVR15 },
138  { "dbgwcr0", MISCREG_DBGWCR0 },
139  { "dbgwcr1", MISCREG_DBGWCR1 },
140  { "dbgwcr2", MISCREG_DBGWCR2 },
141  { "dbgwcr3", MISCREG_DBGWCR3 },
142  { "dbgwcr4", MISCREG_DBGWCR4 },
143  { "dbgwcr5", MISCREG_DBGWCR5 },
144  { "dbgwcr6", MISCREG_DBGWCR6 },
145  { "dbgwcr7", MISCREG_DBGWCR7 },
146  { "dbgwcr8", MISCREG_DBGWCR8 },
147  { "dbgwcr9", MISCREG_DBGWCR9 },
148  { "dbgwcr10", MISCREG_DBGWCR10 },
149  { "dbgwcr11", MISCREG_DBGWCR11 },
150  { "dbgwcr12", MISCREG_DBGWCR12 },
151  { "dbgwcr13", MISCREG_DBGWCR13 },
152  { "dbgwcr14", MISCREG_DBGWCR14 },
153  { "dbgwcr15", MISCREG_DBGWCR15 },
154  { "dbgdrar", MISCREG_DBGDRAR },
155  { "dbgbxvr0", MISCREG_DBGBXVR0 },
156  { "dbgbxvr1", MISCREG_DBGBXVR1 },
157  { "dbgbxvr2", MISCREG_DBGBXVR2 },
158  { "dbgbxvr3", MISCREG_DBGBXVR3 },
159  { "dbgbxvr4", MISCREG_DBGBXVR4 },
160  { "dbgbxvr5", MISCREG_DBGBXVR5 },
161  { "dbgbxvr6", MISCREG_DBGBXVR6 },
162  { "dbgbxvr7", MISCREG_DBGBXVR7 },
163  { "dbgbxvr8", MISCREG_DBGBXVR8 },
164  { "dbgbxvr9", MISCREG_DBGBXVR9 },
165  { "dbgbxvr10", MISCREG_DBGBXVR10 },
166  { "dbgbxvr11", MISCREG_DBGBXVR11 },
167  { "dbgbxvr12", MISCREG_DBGBXVR12 },
168  { "dbgbxvr13", MISCREG_DBGBXVR13 },
169  { "dbgbxvr14", MISCREG_DBGBXVR14 },
170  { "dbgbxvr15", MISCREG_DBGBXVR15 },
171  { "dbgoslar", MISCREG_DBGOSLAR },
172  { "dbgoslsr", MISCREG_DBGOSLSR },
173  { "dbgosdlr", MISCREG_DBGOSDLR },
174  { "dbgprcr", MISCREG_DBGPRCR },
175  { "dbgdsar", MISCREG_DBGDSAR },
176  { "dbgclaimset", MISCREG_DBGCLAIMSET },
177  { "dbgclaimclr", MISCREG_DBGCLAIMCLR },
178  { "dbgauthstatus", MISCREG_DBGAUTHSTATUS },
179  { "dbgdevid2", MISCREG_DBGDEVID2 },
180  { "dbgdevid1", MISCREG_DBGDEVID1 },
181  { "dbgdevid0", MISCREG_DBGDEVID0 },
182  { "teecr", MISCREG_TEECR },
183  { "jidr", MISCREG_JIDR },
184  { "teehbr", MISCREG_TEEHBR },
185  { "joscr", MISCREG_JOSCR },
186  { "jmcr", MISCREG_JMCR },
187 
188  // AArch32 CP15 registers
189  { "midr", MISCREG_MIDR },
190  { "ctr", MISCREG_CTR },
191  { "tcmtr", MISCREG_TCMTR },
192  { "tlbtr", MISCREG_TLBTR },
193  { "mpidr", MISCREG_MPIDR },
194  { "revidr", MISCREG_REVIDR },
195  { "id_pfr0", MISCREG_ID_PFR0 },
196  { "id_pfr1", MISCREG_ID_PFR1 },
197  { "id_dfr0", MISCREG_ID_DFR0 },
198  { "id_afr0", MISCREG_ID_AFR0 },
199  { "id_mmfr0", MISCREG_ID_MMFR0 },
200  { "id_mmfr1", MISCREG_ID_MMFR1 },
201  { "id_mmfr2", MISCREG_ID_MMFR2 },
202  { "id_mmfr3", MISCREG_ID_MMFR3 },
203  { "id_isar0", MISCREG_ID_ISAR0 },
204  { "id_isar1", MISCREG_ID_ISAR1 },
205  { "id_isar2", MISCREG_ID_ISAR2 },
206  { "id_isar3", MISCREG_ID_ISAR3 },
207  { "id_isar4", MISCREG_ID_ISAR4 },
208  { "id_isar5", MISCREG_ID_ISAR5 },
209  { "ccsidr", MISCREG_CCSIDR },
210  { "clidr", MISCREG_CLIDR },
211  { "aidr", MISCREG_AIDR },
212  { "csselr_ns", MISCREG_CSSELR_NS },
213  { "csselr_s", MISCREG_CSSELR_S },
214  { "vpidr", MISCREG_VPIDR },
215  { "vmpidr", MISCREG_VMPIDR },
216  { "sctlr_ns", MISCREG_SCTLR_NS },
217  { "sctlr_s", MISCREG_SCTLR_S },
218  { "actlr_ns", MISCREG_ACTLR_NS },
219  { "actlr_s", MISCREG_ACTLR_S },
220  { "cpacr", MISCREG_CPACR },
221  { "scr", MISCREG_SCR },
222  { "sder", MISCREG_SDER },
223  { "nsacr", MISCREG_NSACR },
224  { "hsctlr", MISCREG_HSCTLR },
225  { "hactlr", MISCREG_HACTLR },
226  { "hcr", MISCREG_HCR },
227  { "hcr2", MISCREG_HCR2 },
228  { "hdcr", MISCREG_HDCR },
229  { "hcptr", MISCREG_HCPTR },
230  { "hstr", MISCREG_HSTR },
231  { "hacr", MISCREG_HACR },
232  { "ttbr0_ns", MISCREG_TTBR0_NS },
233  { "ttbr0_s", MISCREG_TTBR0_S },
234  { "ttbr1_ns", MISCREG_TTBR1_NS },
235  { "ttbr1_s", MISCREG_TTBR1_S },
236  { "ttbcr_ns", MISCREG_TTBCR_NS },
237  { "ttbcr_s", MISCREG_TTBCR_S },
238  { "htcr", MISCREG_HTCR },
239  { "vtcr", MISCREG_VTCR },
240  { "dacr_ns", MISCREG_DACR_NS },
241  { "dacr_s", MISCREG_DACR_S },
242  { "dfsr_ns", MISCREG_DFSR_NS },
243  { "dfsr_s", MISCREG_DFSR_S },
244  { "ifsr_ns", MISCREG_IFSR_NS },
245  { "ifsr_s", MISCREG_IFSR_S },
246  { "adfsr_ns", MISCREG_ADFSR_NS },
247  { "adfsr_s", MISCREG_ADFSR_S },
248  { "aifsr_ns", MISCREG_AIFSR_NS },
249  { "aifsr_s", MISCREG_AIFSR_S },
250  { "hadfsr", MISCREG_HADFSR },
251  { "haifsr", MISCREG_HAIFSR },
252  { "hsr", MISCREG_HSR },
253  { "dfar_ns", MISCREG_DFAR_NS },
254  { "dfar_s", MISCREG_DFAR_S },
255  { "ifar_ns", MISCREG_IFAR_NS },
256  { "ifar_s", MISCREG_IFAR_S },
257  { "hdfar", MISCREG_HDFAR },
258  { "hifar", MISCREG_HIFAR },
259  { "hpfar", MISCREG_HPFAR },
260  { "icialluis", MISCREG_ICIALLUIS },
261  { "bpiallis", MISCREG_BPIALLIS },
262  { "par_ns", MISCREG_PAR_NS },
263  { "par_s", MISCREG_PAR_S },
264  { "iciallu", MISCREG_ICIALLU },
265  { "icimvau", MISCREG_ICIMVAU },
266  { "cp15isb", MISCREG_CP15ISB },
267  { "bpiall", MISCREG_BPIALL },
268  { "bpimva", MISCREG_BPIMVA },
269  { "dcimvac", MISCREG_DCIMVAC },
270  { "dcisw", MISCREG_DCISW },
271  { "ats1cpr", MISCREG_ATS1CPR },
272  { "ats1cpw", MISCREG_ATS1CPW },
273  { "ats1cur", MISCREG_ATS1CUR },
274  { "ats1cuw", MISCREG_ATS1CUW },
275  { "ats12nsopr", MISCREG_ATS12NSOPR },
276  { "ats12nsopw", MISCREG_ATS12NSOPW },
277  { "ats12nsour", MISCREG_ATS12NSOUR },
278  { "ats12nsouw", MISCREG_ATS12NSOUW },
279  { "dccmvac", MISCREG_DCCMVAC },
280  { "dccsw", MISCREG_DCCSW },
281  { "cp15dsb", MISCREG_CP15DSB },
282  { "cp15dmb", MISCREG_CP15DMB },
283  { "dccmvau", MISCREG_DCCMVAU },
284  { "dccimvac", MISCREG_DCCIMVAC },
285  { "dccisw", MISCREG_DCCISW },
286  { "ats1hr", MISCREG_ATS1HR },
287  { "ats1hw", MISCREG_ATS1HW },
288  { "tlbiallis", MISCREG_TLBIALLIS },
289  { "tlbimvais", MISCREG_TLBIMVAIS },
290  { "tlbiasidis", MISCREG_TLBIASIDIS },
291  { "tlbimvaais", MISCREG_TLBIMVAAIS },
292  { "tlbimvalis", MISCREG_TLBIMVALIS },
293  { "tlbimvaalis", MISCREG_TLBIMVAALIS },
294  { "itlbiall", MISCREG_ITLBIALL },
295  { "itlbimva", MISCREG_ITLBIMVA },
296  { "itlbiasid", MISCREG_ITLBIASID },
297  { "dtlbiall", MISCREG_DTLBIALL },
298  { "dtlbimva", MISCREG_DTLBIMVA },
299  { "dtlbiasid", MISCREG_DTLBIASID },
300  { "tlbiall", MISCREG_TLBIALL },
301  { "tlbimva", MISCREG_TLBIMVA },
302  { "tlbiasid", MISCREG_TLBIASID },
303  { "tlbimvaa", MISCREG_TLBIMVAA },
304  { "tlbimval", MISCREG_TLBIMVAL },
305  { "tlbimvaal", MISCREG_TLBIMVAAL },
306  { "tlbiipas2is", MISCREG_TLBIIPAS2IS },
307  { "tlbiipas2lis", MISCREG_TLBIIPAS2LIS },
308  { "tlbiallhis", MISCREG_TLBIALLHIS },
309  { "tlbimvahis", MISCREG_TLBIMVAHIS },
310  { "tlbiallnsnhis", MISCREG_TLBIALLNSNHIS },
311  { "tlbimvalhis", MISCREG_TLBIMVALHIS },
312  { "tlbiipas2", MISCREG_TLBIIPAS2 },
313  { "tlbiipas2l", MISCREG_TLBIIPAS2L },
314  { "tlbiallh", MISCREG_TLBIALLH },
315  { "tlbimvah", MISCREG_TLBIMVAH },
316  { "tlbiallnsnh", MISCREG_TLBIALLNSNH },
317  { "tlbimvalh", MISCREG_TLBIMVALH },
318  { "pmcr", MISCREG_PMCR },
319  { "pmcntenset", MISCREG_PMCNTENSET },
320  { "pmcntenclr", MISCREG_PMCNTENCLR },
321  { "pmovsr", MISCREG_PMOVSR },
322  { "pmswinc", MISCREG_PMSWINC },
323  { "pmselr", MISCREG_PMSELR },
324  { "pmceid0", MISCREG_PMCEID0 },
325  { "pmceid1", MISCREG_PMCEID1 },
326  { "pmccntr", MISCREG_PMCCNTR },
327  { "pmxevtyper", MISCREG_PMXEVTYPER },
328  { "pmccfiltr", MISCREG_PMCCFILTR },
329  { "pmxevcntr", MISCREG_PMXEVCNTR },
330  { "pmuserenr", MISCREG_PMUSERENR },
331  { "pmintenset", MISCREG_PMINTENSET },
332  { "pmintenclr", MISCREG_PMINTENCLR },
333  { "pmovsset", MISCREG_PMOVSSET },
334  { "l2ctlr", MISCREG_L2CTLR },
335  { "l2ectlr", MISCREG_L2ECTLR },
336  { "prrr_ns", MISCREG_PRRR_NS },
337  { "prrr_s", MISCREG_PRRR_S },
338  { "mair0_ns", MISCREG_MAIR0_NS },
339  { "mair0_s", MISCREG_MAIR0_S },
340  { "nmrr_ns", MISCREG_NMRR_NS },
341  { "nmrr_s", MISCREG_NMRR_S },
342  { "mair1_ns", MISCREG_MAIR1_NS },
343  { "mair1_s", MISCREG_MAIR1_S },
344  { "amair0_ns", MISCREG_AMAIR0_NS },
345  { "amair0_s", MISCREG_AMAIR0_S },
346  { "amair1_ns", MISCREG_AMAIR1_NS },
347  { "amair1_s", MISCREG_AMAIR1_S },
348  { "hmair0", MISCREG_HMAIR0 },
349  { "hmair1", MISCREG_HMAIR1 },
350  { "hamair0", MISCREG_HAMAIR0 },
351  { "hamair1", MISCREG_HAMAIR1 },
352  { "vbar_ns", MISCREG_VBAR_NS },
353  { "vbar_s", MISCREG_VBAR_S },
354  { "mvbar", MISCREG_MVBAR },
355  { "rmr", MISCREG_RMR },
356  { "isr", MISCREG_ISR },
357  { "hvbar", MISCREG_HVBAR },
358  { "fcseidr", MISCREG_FCSEIDR },
359  { "contextidr_ns", MISCREG_CONTEXTIDR_NS },
360  { "contextidr_s", MISCREG_CONTEXTIDR_S },
361  { "tpidrurw_ns", MISCREG_TPIDRURW_NS },
362  { "tpidrurw_s", MISCREG_TPIDRURW_S },
363  { "tpidruro_ns", MISCREG_TPIDRURO_NS },
364  { "tpidruro_s", MISCREG_TPIDRURO_S },
365  { "tpidrprw_ns", MISCREG_TPIDRPRW_NS },
366  { "tpidrprw_s", MISCREG_TPIDRPRW_S },
367  { "htpidr", MISCREG_HTPIDR },
368  { "cntfrq", MISCREG_CNTFRQ },
369  { "cntkctl", MISCREG_CNTKCTL },
370  { "cntp_tval_ns", MISCREG_CNTP_TVAL_NS },
371  { "cntp_tval_s", MISCREG_CNTP_TVAL_S },
372  { "cntp_ctl_ns", MISCREG_CNTP_CTL_NS },
373  { "cntp_ctl_s", MISCREG_CNTP_CTL_S },
374  { "cntv_tval", MISCREG_CNTV_TVAL },
375  { "cntv_ctl", MISCREG_CNTV_CTL },
376  { "cnthctl", MISCREG_CNTHCTL },
377  { "cnthp_tval", MISCREG_CNTHP_TVAL },
378  { "cnthp_ctl", MISCREG_CNTHP_CTL },
379  { "il1data0", MISCREG_IL1DATA0 },
380  { "il1data1", MISCREG_IL1DATA1 },
381  { "il1data2", MISCREG_IL1DATA2 },
382  { "il1data3", MISCREG_IL1DATA3 },
383  { "dl1data0", MISCREG_DL1DATA0 },
384  { "dl1data1", MISCREG_DL1DATA1 },
385  { "dl1data2", MISCREG_DL1DATA2 },
386  { "dl1data3", MISCREG_DL1DATA3 },
387  { "dl1data4", MISCREG_DL1DATA4 },
388  { "ramindex", MISCREG_RAMINDEX },
389  { "l2actlr", MISCREG_L2ACTLR },
390  { "cbar", MISCREG_CBAR },
391  { "httbr", MISCREG_HTTBR },
392  { "vttbr", MISCREG_VTTBR },
393  { "cntpct", MISCREG_CNTPCT },
394  { "cntvct", MISCREG_CNTVCT },
395  { "cntp_cval_ns", MISCREG_CNTP_CVAL_NS },
396  { "cntp_cval_s", MISCREG_CNTP_CVAL_S },
397  { "cntv_cval", MISCREG_CNTV_CVAL },
398  { "cntvoff", MISCREG_CNTVOFF },
399  { "cnthp_cval", MISCREG_CNTHP_CVAL },
400  { "cpumerrsr", MISCREG_CPUMERRSR },
401  { "l2merrsr", MISCREG_L2MERRSR },
402 
403  // AArch64 registers (Op0=2)
404  { "mdccint_el1", MISCREG_MDCCINT_EL1 },
405  { "osdtrrx_el1", MISCREG_OSDTRRX_EL1 },
406  { "mdscr_el1", MISCREG_MDSCR_EL1 },
407  { "osdtrtx_el1", MISCREG_OSDTRTX_EL1 },
408  { "oseccr_el1", MISCREG_OSECCR_EL1 },
409  { "dbgbvr0_el1", MISCREG_DBGBVR0_EL1 },
410  { "dbgbvr1_el1", MISCREG_DBGBVR1_EL1 },
411  { "dbgbvr2_el1", MISCREG_DBGBVR2_EL1 },
412  { "dbgbvr3_el1", MISCREG_DBGBVR3_EL1 },
413  { "dbgbvr4_el1", MISCREG_DBGBVR4_EL1 },
414  { "dbgbvr5_el1", MISCREG_DBGBVR5_EL1 },
415  { "dbgbvr6_el1", MISCREG_DBGBVR6_EL1 },
416  { "dbgbvr7_el1", MISCREG_DBGBVR7_EL1 },
417  { "dbgbvr8_el1", MISCREG_DBGBVR8_EL1 },
418  { "dbgbvr9_el1", MISCREG_DBGBVR9_EL1 },
419  { "dbgbvr10_el1", MISCREG_DBGBVR10_EL1 },
420  { "dbgbvr11_el1", MISCREG_DBGBVR11_EL1 },
421  { "dbgbvr12_el1", MISCREG_DBGBVR12_EL1 },
422  { "dbgbvr13_el1", MISCREG_DBGBVR13_EL1 },
423  { "dbgbvr14_el1", MISCREG_DBGBVR14_EL1 },
424  { "dbgbvr15_el1", MISCREG_DBGBVR15_EL1 },
425  { "dbgbcr0_el1", MISCREG_DBGBCR0_EL1 },
426  { "dbgbcr1_el1", MISCREG_DBGBCR1_EL1 },
427  { "dbgbcr2_el1", MISCREG_DBGBCR2_EL1 },
428  { "dbgbcr3_el1", MISCREG_DBGBCR3_EL1 },
429  { "dbgbcr4_el1", MISCREG_DBGBCR4_EL1 },
430  { "dbgbcr5_el1", MISCREG_DBGBCR5_EL1 },
431  { "dbgbcr6_el1", MISCREG_DBGBCR6_EL1 },
432  { "dbgbcr7_el1", MISCREG_DBGBCR7_EL1 },
433  { "dbgbcr8_el1", MISCREG_DBGBCR8_EL1 },
434  { "dbgbcr9_el1", MISCREG_DBGBCR9_EL1 },
435  { "dbgbcr10_el1", MISCREG_DBGBCR10_EL1 },
436  { "dbgbcr11_el1", MISCREG_DBGBCR11_EL1 },
437  { "dbgbcr12_el1", MISCREG_DBGBCR12_EL1 },
438  { "dbgbcr13_el1", MISCREG_DBGBCR13_EL1 },
439  { "dbgbcr14_el1", MISCREG_DBGBCR14_EL1 },
440  { "dbgbcr15_el1", MISCREG_DBGBCR15_EL1 },
441  { "dbgwvr0_el1", MISCREG_DBGWVR0_EL1 },
442  { "dbgwvr1_el1", MISCREG_DBGWVR1_EL1 },
443  { "dbgwvr2_el1", MISCREG_DBGWVR2_EL1 },
444  { "dbgwvr3_el1", MISCREG_DBGWVR3_EL1 },
445  { "dbgwvr4_el1", MISCREG_DBGWVR4_EL1 },
446  { "dbgwvr5_el1", MISCREG_DBGWVR5_EL1 },
447  { "dbgwvr6_el1", MISCREG_DBGWVR6_EL1 },
448  { "dbgwvr7_el1", MISCREG_DBGWVR7_EL1 },
449  { "dbgwvr8_el1", MISCREG_DBGWVR8_EL1 },
450  { "dbgwvr9_el1", MISCREG_DBGWVR9_EL1 },
451  { "dbgwvr10_el1", MISCREG_DBGWVR10_EL1 },
452  { "dbgwvr11_el1", MISCREG_DBGWVR11_EL1 },
453  { "dbgwvr12_el1", MISCREG_DBGWVR12_EL1 },
454  { "dbgwvr13_el1", MISCREG_DBGWVR13_EL1 },
455  { "dbgwvr14_el1", MISCREG_DBGWVR14_EL1 },
456  { "dbgwvr15_el1", MISCREG_DBGWVR15_EL1 },
457  { "dbgwcr0_el1", MISCREG_DBGWCR0_EL1 },
458  { "dbgwcr1_el1", MISCREG_DBGWCR1_EL1 },
459  { "dbgwcr2_el1", MISCREG_DBGWCR2_EL1 },
460  { "dbgwcr3_el1", MISCREG_DBGWCR3_EL1 },
461  { "dbgwcr4_el1", MISCREG_DBGWCR4_EL1 },
462  { "dbgwcr5_el1", MISCREG_DBGWCR5_EL1 },
463  { "dbgwcr6_el1", MISCREG_DBGWCR6_EL1 },
464  { "dbgwcr7_el1", MISCREG_DBGWCR7_EL1 },
465  { "dbgwcr8_el1", MISCREG_DBGWCR8_EL1 },
466  { "dbgwcr9_el1", MISCREG_DBGWCR9_EL1 },
467  { "dbgwcr10_el1", MISCREG_DBGWCR10_EL1 },
468  { "dbgwcr11_el1", MISCREG_DBGWCR11_EL1 },
469  { "dbgwcr12_el1", MISCREG_DBGWCR12_EL1 },
470  { "dbgwcr13_el1", MISCREG_DBGWCR13_EL1 },
471  { "dbgwcr14_el1", MISCREG_DBGWCR14_EL1 },
472  { "dbgwcr15_el1", MISCREG_DBGWCR15_EL1 },
473  { "mdccsr_el0", MISCREG_MDCCSR_EL0 },
474  { "mddtr_el0", MISCREG_MDDTR_EL0 },
475  { "mddtrtx_el0", MISCREG_MDDTRTX_EL0 },
476  { "mddtrrx_el0", MISCREG_MDDTRRX_EL0 },
477  { "dbgvcr32_el2", MISCREG_DBGVCR32_EL2 },
478  { "mdrar_el1", MISCREG_MDRAR_EL1 },
479  { "oslar_el1", MISCREG_OSLAR_EL1 },
480  { "oslsr_el1", MISCREG_OSLSR_EL1 },
481  { "osdlr_el1", MISCREG_OSDLR_EL1 },
482  { "dbgprcr_el1", MISCREG_DBGPRCR_EL1 },
483  { "dbgclaimset_el1", MISCREG_DBGCLAIMSET_EL1 },
484  { "dbgclaimclr_el1", MISCREG_DBGCLAIMCLR_EL1 },
485  { "dbgauthstatus_el1", MISCREG_DBGAUTHSTATUS_EL1 },
486  { "teecr32_el1", MISCREG_TEECR32_EL1 },
487  { "teehbr32_el1", MISCREG_TEEHBR32_EL1 },
488 
489  // AArch64 registers (Op0=1,3)
490  { "midr_el1", MISCREG_MIDR_EL1 },
491  { "mpidr_el1", MISCREG_MPIDR_EL1 },
492  { "revidr_el1", MISCREG_REVIDR_EL1 },
493  { "id_pfr0_el1", MISCREG_ID_PFR0_EL1 },
494  { "id_pfr1_el1", MISCREG_ID_PFR1_EL1 },
495  { "id_dfr0_el1", MISCREG_ID_DFR0_EL1 },
496  { "id_afr0_el1", MISCREG_ID_AFR0_EL1 },
497  { "id_mmfr0_el1", MISCREG_ID_MMFR0_EL1 },
498  { "id_mmfr1_el1", MISCREG_ID_MMFR1_EL1 },
499  { "id_mmfr2_el1", MISCREG_ID_MMFR2_EL1 },
500  { "id_mmfr3_el1", MISCREG_ID_MMFR3_EL1 },
501  { "id_isar0_el1", MISCREG_ID_ISAR0_EL1 },
502  { "id_isar1_el1", MISCREG_ID_ISAR1_EL1 },
503  { "id_isar2_el1", MISCREG_ID_ISAR2_EL1 },
504  { "id_isar3_el1", MISCREG_ID_ISAR3_EL1 },
505  { "id_isar4_el1", MISCREG_ID_ISAR4_EL1 },
506  { "id_isar5_el1", MISCREG_ID_ISAR5_EL1 },
507  { "mvfr0_el1", MISCREG_MVFR0_EL1 },
508  { "mvfr1_el1", MISCREG_MVFR1_EL1 },
509  { "mvfr2_el1", MISCREG_MVFR2_EL1 },
510  { "id_aa64pfr0_el1", MISCREG_ID_AA64PFR0_EL1 },
511  { "id_aa64pfr1_el1", MISCREG_ID_AA64PFR1_EL1 },
512  { "id_aa64dfr0_el1", MISCREG_ID_AA64DFR0_EL1 },
513  { "id_aa64dfr1_el1", MISCREG_ID_AA64DFR1_EL1 },
514  { "id_aa64afr0_el1", MISCREG_ID_AA64AFR0_EL1 },
515  { "id_aa64afr1_el1", MISCREG_ID_AA64AFR1_EL1 },
516  { "id_aa64isar0_el1", MISCREG_ID_AA64ISAR0_EL1 },
517  { "id_aa64isar1_el1", MISCREG_ID_AA64ISAR1_EL1 },
518  { "id_aa64mmfr0_el1", MISCREG_ID_AA64MMFR0_EL1 },
519  { "id_aa64mmfr1_el1", MISCREG_ID_AA64MMFR1_EL1 },
520  { "id_aa64mmfr2_el1", MISCREG_ID_AA64MMFR2_EL1 },
521  { "ccsidr_el1", MISCREG_CCSIDR_EL1 },
522  { "clidr_el1", MISCREG_CLIDR_EL1 },
523  { "aidr_el1", MISCREG_AIDR_EL1 },
524  { "csselr_el1", MISCREG_CSSELR_EL1 },
525  { "ctr_el0", MISCREG_CTR_EL0 },
526  { "dczid_el0", MISCREG_DCZID_EL0 },
527  { "vpidr_el2", MISCREG_VPIDR_EL2 },
528  { "vmpidr_el2", MISCREG_VMPIDR_EL2 },
529  { "sctlr_el1", MISCREG_SCTLR_EL1 },
530  { "actlr_el1", MISCREG_ACTLR_EL1 },
531  { "cpacr_el1", MISCREG_CPACR_EL1 },
532  { "sctlr_el2", MISCREG_SCTLR_EL2 },
533  { "actlr_el2", MISCREG_ACTLR_EL2 },
534  { "hcr_el2", MISCREG_HCR_EL2 },
535  { "mdcr_el2", MISCREG_MDCR_EL2 },
536  { "cptr_el2", MISCREG_CPTR_EL2 },
537  { "hstr_el2", MISCREG_HSTR_EL2 },
538  { "hacr_el2", MISCREG_HACR_EL2 },
539  { "sctlr_el3", MISCREG_SCTLR_EL3 },
540  { "actlr_el3", MISCREG_ACTLR_EL3 },
541  { "scr_el3", MISCREG_SCR_EL3 },
542  { "sder32_el3", MISCREG_SDER32_EL3 },
543  { "cptr_el3", MISCREG_CPTR_EL3 },
544  { "mdcr_el3", MISCREG_MDCR_EL3 },
545  { "ttbr0_el1", MISCREG_TTBR0_EL1 },
546  { "ttbr1_el1", MISCREG_TTBR1_EL1 },
547  { "tcr_el1", MISCREG_TCR_EL1 },
548  { "ttbr0_el2", MISCREG_TTBR0_EL2 },
549  { "tcr_el2", MISCREG_TCR_EL2 },
550  { "vttbr_el2", MISCREG_VTTBR_EL2 },
551  { "vtcr_el2", MISCREG_VTCR_EL2 },
552  { "ttbr0_el3", MISCREG_TTBR0_EL3 },
553  { "tcr_el3", MISCREG_TCR_EL3 },
554  { "dacr32_el2", MISCREG_DACR32_EL2 },
555  { "spsr_el1", MISCREG_SPSR_EL1 },
556  { "elr_el1", MISCREG_ELR_EL1 },
557  { "sp_el0", MISCREG_SP_EL0 },
558  { "spsel", MISCREG_SPSEL },
559  { "currentel", MISCREG_CURRENTEL },
560  { "nzcv", MISCREG_NZCV },
561  { "daif", MISCREG_DAIF },
562  { "fpcr", MISCREG_FPCR },
563  { "fpsr", MISCREG_FPSR },
564  { "dspsr_el0", MISCREG_DSPSR_EL0 },
565  { "dlr_el0", MISCREG_DLR_EL0 },
566  { "spsr_el2", MISCREG_SPSR_EL2 },
567  { "elr_el2", MISCREG_ELR_EL2 },
568  { "sp_el1", MISCREG_SP_EL1 },
569  { "spsr_irq", MISCREG_SPSR_IRQ_AA64 },
570  { "spsr_abt", MISCREG_SPSR_ABT_AA64 },
571  { "spsr_und", MISCREG_SPSR_UND_AA64 },
572  { "spsr_fiq", MISCREG_SPSR_FIQ_AA64 },
573  { "spsr_el3", MISCREG_SPSR_EL3 },
574  { "elr_el3", MISCREG_ELR_EL3 },
575  { "sp_el2", MISCREG_SP_EL2 },
576  { "afsr0_el1", MISCREG_AFSR0_EL1 },
577  { "afsr1_el1", MISCREG_AFSR1_EL1 },
578  { "esr_el1", MISCREG_ESR_EL1 },
579  { "ifsr32_el2", MISCREG_IFSR32_EL2 },
580  { "afsr0_el2", MISCREG_AFSR0_EL2 },
581  { "afsr1_el2", MISCREG_AFSR1_EL2 },
582  { "esr_el2", MISCREG_ESR_EL2 },
583  { "fpexc32_el2", MISCREG_FPEXC32_EL2 },
584  { "afsr0_el3", MISCREG_AFSR0_EL3 },
585  { "afsr1_el3", MISCREG_AFSR1_EL3 },
586  { "esr_el3", MISCREG_ESR_EL3 },
587  { "far_el1", MISCREG_FAR_EL1 },
588  { "far_el2", MISCREG_FAR_EL2 },
589  { "hpfar_el2", MISCREG_HPFAR_EL2 },
590  { "far_el3", MISCREG_FAR_EL3 },
591  { "ic_ialluis", MISCREG_IC_IALLUIS },
592  { "par_el1", MISCREG_PAR_EL1 },
593  { "ic_iallu", MISCREG_IC_IALLU },
594  { "dc_ivac_xt", MISCREG_DC_IVAC_Xt },
595  { "dc_isw_xt", MISCREG_DC_ISW_Xt },
596  { "at_s1e1r_xt", MISCREG_AT_S1E1R_Xt },
597  { "at_s1e1w_xt", MISCREG_AT_S1E1W_Xt },
598  { "at_s1e0r_xt", MISCREG_AT_S1E0R_Xt },
599  { "at_s1e0w_xt", MISCREG_AT_S1E0W_Xt },
600  { "dc_csw_xt", MISCREG_DC_CSW_Xt },
601  { "dc_cisw_xt", MISCREG_DC_CISW_Xt },
602  { "dc_zva_xt", MISCREG_DC_ZVA_Xt },
603  { "ic_ivau_xt", MISCREG_IC_IVAU_Xt },
604  { "dc_cvac_xt", MISCREG_DC_CVAC_Xt },
605  { "dc_cvau_xt", MISCREG_DC_CVAU_Xt },
606  { "dc_civac_xt", MISCREG_DC_CIVAC_Xt },
607  { "at_s1e2r_xt", MISCREG_AT_S1E2R_Xt },
608  { "at_s1e2w_xt", MISCREG_AT_S1E2W_Xt },
609  { "at_s12e1r_xt", MISCREG_AT_S12E1R_Xt },
610  { "at_s12e1w_xt", MISCREG_AT_S12E1W_Xt },
611  { "at_s12e0r_xt", MISCREG_AT_S12E0R_Xt },
612  { "at_s12e0w_xt", MISCREG_AT_S12E0W_Xt },
613  { "at_s1e3r_xt", MISCREG_AT_S1E3R_Xt },
614  { "at_s1e3w_xt", MISCREG_AT_S1E3W_Xt },
615  { "tlbi_vmalle1is", MISCREG_TLBI_VMALLE1IS },
616  { "tlbi_vae1is_xt", MISCREG_TLBI_VAE1IS_Xt },
617  { "tlbi_aside1is_xt", MISCREG_TLBI_ASIDE1IS_Xt },
618  { "tlbi_vaae1is_xt", MISCREG_TLBI_VAAE1IS_Xt },
619  { "tlbi_vale1is_xt", MISCREG_TLBI_VALE1IS_Xt },
620  { "tlbi_vaale1is_xt", MISCREG_TLBI_VAALE1IS_Xt },
621  { "tlbi_vmalle1", MISCREG_TLBI_VMALLE1 },
622  { "tlbi_vae1_xt", MISCREG_TLBI_VAE1_Xt },
623  { "tlbi_aside1_xt", MISCREG_TLBI_ASIDE1_Xt },
624  { "tlbi_vaae1_xt", MISCREG_TLBI_VAAE1_Xt },
625  { "tlbi_vale1_xt", MISCREG_TLBI_VALE1_Xt },
626  { "tlbi_vaale1_xt", MISCREG_TLBI_VAALE1_Xt },
627  { "tlbi_ipas2e1is_xt", MISCREG_TLBI_IPAS2E1IS_Xt },
628  { "tlbi_ipas2le1is_xt", MISCREG_TLBI_IPAS2LE1IS_Xt },
629  { "tlbi_alle2is", MISCREG_TLBI_ALLE2IS },
630  { "tlbi_vae2is_xt", MISCREG_TLBI_VAE2IS_Xt },
631  { "tlbi_alle1is", MISCREG_TLBI_ALLE1IS },
632  { "tlbi_vale2is_xt", MISCREG_TLBI_VALE2IS_Xt },
633  { "tlbi_vmalls12e1is", MISCREG_TLBI_VMALLS12E1IS },
634  { "tlbi_ipas2e1_xt", MISCREG_TLBI_IPAS2E1_Xt },
635  { "tlbi_ipas2le1_xt", MISCREG_TLBI_IPAS2LE1_Xt },
636  { "tlbi_alle2", MISCREG_TLBI_ALLE2 },
637  { "tlbi_vae2_xt", MISCREG_TLBI_VAE2_Xt },
638  { "tlbi_alle1", MISCREG_TLBI_ALLE1 },
639  { "tlbi_vale2_xt", MISCREG_TLBI_VALE2_Xt },
640  { "tlbi_vmalls12e1", MISCREG_TLBI_VMALLS12E1 },
641  { "tlbi_alle3is", MISCREG_TLBI_ALLE3IS },
642  { "tlbi_vae3is_xt", MISCREG_TLBI_VAE3IS_Xt },
643  { "tlbi_vale3is_xt", MISCREG_TLBI_VALE3IS_Xt },
644  { "tlbi_alle3", MISCREG_TLBI_ALLE3 },
645  { "tlbi_vae3_xt", MISCREG_TLBI_VAE3_Xt },
646  { "tlbi_vale3_xt", MISCREG_TLBI_VALE3_Xt },
647  { "pmintenset_el1", MISCREG_PMINTENSET_EL1 },
648  { "pmintenclr_el1", MISCREG_PMINTENCLR_EL1 },
649  { "pmcr_el0", MISCREG_PMCR_EL0 },
650  { "pmcntenset_el0", MISCREG_PMCNTENSET_EL0 },
651  { "pmcntenclr_el0", MISCREG_PMCNTENCLR_EL0 },
652  { "pmovsclr_el0", MISCREG_PMOVSCLR_EL0 },
653  { "pmswinc_el0", MISCREG_PMSWINC_EL0 },
654  { "pmselr_el0", MISCREG_PMSELR_EL0 },
655  { "pmceid0_el0", MISCREG_PMCEID0_EL0 },
656  { "pmceid1_el0", MISCREG_PMCEID1_EL0 },
657  { "pmccntr_el0", MISCREG_PMCCNTR_EL0 },
658  { "pmxevtyper_el0", MISCREG_PMXEVTYPER_EL0 },
659  { "pmccfiltr_el0", MISCREG_PMCCFILTR_EL0 },
660  { "pmxevcntr_el0", MISCREG_PMXEVCNTR_EL0 },
661  { "pmuserenr_el0", MISCREG_PMUSERENR_EL0 },
662  { "pmovsset_el0", MISCREG_PMOVSSET_EL0 },
663  { "mair_el1", MISCREG_MAIR_EL1 },
664  { "amair_el1", MISCREG_AMAIR_EL1 },
665  { "mair_el2", MISCREG_MAIR_EL2 },
666  { "amair_el2", MISCREG_AMAIR_EL2 },
667  { "mair_el3", MISCREG_MAIR_EL3 },
668  { "amair_el3", MISCREG_AMAIR_EL3 },
669  { "l2ctlr_el1", MISCREG_L2CTLR_EL1 },
670  { "l2ectlr_el1", MISCREG_L2ECTLR_EL1 },
671  { "vbar_el1", MISCREG_VBAR_EL1 },
672  { "rvbar_el1", MISCREG_RVBAR_EL1 },
673  { "isr_el1", MISCREG_ISR_EL1 },
674  { "vbar_el2", MISCREG_VBAR_EL2 },
675  { "rvbar_el2", MISCREG_RVBAR_EL2 },
676  { "vbar_el3", MISCREG_VBAR_EL3 },
677  { "rvbar_el3", MISCREG_RVBAR_EL3 },
678  { "rmr_el3", MISCREG_RMR_EL3 },
679  { "contextidr_el1", MISCREG_CONTEXTIDR_EL1 },
680  { "contextidr_el2", MISCREG_CONTEXTIDR_EL2 },
681  { "tpidr_el1", MISCREG_TPIDR_EL1 },
682  { "tpidr_el0", MISCREG_TPIDR_EL0 },
683  { "tpidrro_el0", MISCREG_TPIDRRO_EL0 },
684  { "tpidr_el2", MISCREG_TPIDR_EL2 },
685  { "tpidr_el3", MISCREG_TPIDR_EL3 },
686  { "cntkctl_el1", MISCREG_CNTKCTL_EL1 },
687  { "cntfrq_el0", MISCREG_CNTFRQ_EL0 },
688  { "cntpct_el0", MISCREG_CNTPCT_EL0 },
689  { "cntvct_el0", MISCREG_CNTVCT_EL0 },
690  { "cntp_tval_el0", MISCREG_CNTP_TVAL_EL0 },
691  { "cntp_ctl_el0", MISCREG_CNTP_CTL_EL0 },
692  { "cntp_cval_el0", MISCREG_CNTP_CVAL_EL0 },
693  { "cntv_tval_el0", MISCREG_CNTV_TVAL_EL0 },
694  { "cntv_ctl_el0", MISCREG_CNTV_CTL_EL0 },
695  { "cntv_cval_el0", MISCREG_CNTV_CVAL_EL0 },
696  { "pmevcntr0_el0", MISCREG_PMEVCNTR0_EL0 },
697  { "pmevcntr1_el0", MISCREG_PMEVCNTR1_EL0 },
698  { "pmevcntr2_el0", MISCREG_PMEVCNTR2_EL0 },
699  { "pmevcntr3_el0", MISCREG_PMEVCNTR3_EL0 },
700  { "pmevcntr4_el0", MISCREG_PMEVCNTR4_EL0 },
701  { "pmevcntr5_el0", MISCREG_PMEVCNTR5_EL0 },
702  { "pmevtyper0_el0", MISCREG_PMEVTYPER0_EL0 },
703  { "pmevtyper1_el0", MISCREG_PMEVTYPER1_EL0 },
704  { "pmevtyper2_el0", MISCREG_PMEVTYPER2_EL0 },
705  { "pmevtyper3_el0", MISCREG_PMEVTYPER3_EL0 },
706  { "pmevtyper4_el0", MISCREG_PMEVTYPER4_EL0 },
707  { "pmevtyper5_el0", MISCREG_PMEVTYPER5_EL0 },
708  { "cntvoff_el2", MISCREG_CNTVOFF_EL2 },
709  { "cnthctl_el2", MISCREG_CNTHCTL_EL2 },
710  { "cnthp_tval_el2", MISCREG_CNTHP_TVAL_EL2 },
711  { "cnthp_ctl_el2", MISCREG_CNTHP_CTL_EL2 },
712  { "cnthp_cval_el2", MISCREG_CNTHP_CVAL_EL2 },
713  { "cntps_tval_el1", MISCREG_CNTPS_TVAL_EL1 },
714  { "cntps_ctl_el1", MISCREG_CNTPS_CTL_EL1 },
715  { "cntps_cval_el1", MISCREG_CNTPS_CVAL_EL1 },
716  { "il1data0_el1", MISCREG_IL1DATA0_EL1 },
717  { "il1data1_el1", MISCREG_IL1DATA1_EL1 },
718  { "il1data2_el1", MISCREG_IL1DATA2_EL1 },
719  { "il1data3_el1", MISCREG_IL1DATA3_EL1 },
720  { "dl1data0_el1", MISCREG_DL1DATA0_EL1 },
721  { "dl1data1_el1", MISCREG_DL1DATA1_EL1 },
722  { "dl1data2_el1", MISCREG_DL1DATA2_EL1 },
723  { "dl1data3_el1", MISCREG_DL1DATA3_EL1 },
724  { "dl1data4_el1", MISCREG_DL1DATA4_EL1 },
725  { "l2actlr_el1", MISCREG_L2ACTLR_EL1 },
726  { "cpuactlr_el1", MISCREG_CPUACTLR_EL1 },
727  { "cpuectlr_el1", MISCREG_CPUECTLR_EL1 },
728  { "cpumerrsr_el1", MISCREG_CPUMERRSR_EL1 },
729  { "l2merrsr_el1", MISCREG_L2MERRSR_EL1 },
730  { "cbar_el1", MISCREG_CBAR_EL1 },
731 };
732 
733 void
734 TarmacParserRecord::TarmacParserRecordEvent::process()
735 {
736  ostream &outs = Trace::output();
737 
738  list<ParserRegEntry>::iterator it = destRegRecords.begin(),
739  end = destRegRecords.end();
740 
741  std::vector<uint64_t> values;
742 
743  for (; it != end; ++it) {
744  values.clear();
745  switch (it->type) {
746  case REG_R:
747  case REG_X:
748  values.push_back(thread->readIntReg(it->index));
749  break;
750  case REG_S:
751  if (instRecord.isetstate == ISET_A64) {
752  const ArmISA::VecRegContainer& vc = thread->readVecReg(
753  RegId(VecRegClass, it->index));
754  auto vv = vc.as<uint32_t>();
755  values.push_back(vv[0]);
756  } else {
757  const VecElem elem = thread->readVecElem(
759  it->index / NumVecElemPerNeonVecReg,
760  it->index % NumVecElemPerNeonVecReg));
761  values.push_back(elem);
762  }
763  break;
764  case REG_D:
765  if (instRecord.isetstate == ISET_A64) {
766  const ArmISA::VecRegContainer& vc = thread->readVecReg(
767  RegId(VecRegClass, it->index));
768  auto vv = vc.as<uint64_t>();
769  values.push_back(vv[0]);
770  } else {
771  const VecElem w0 = thread->readVecElem(
773  it->index / NumVecElemPerNeonVecReg,
774  it->index % NumVecElemPerNeonVecReg));
775  const VecElem w1 = thread->readVecElem(
777  (it->index + 1) / NumVecElemPerNeonVecReg,
778  (it->index + 1) % NumVecElemPerNeonVecReg));
779 
780  values.push_back((uint64_t)(w1) << 32 | w0);
781  }
782  break;
783  case REG_P:
784  {
786  thread->readVecPredReg(RegId(VecPredRegClass, it->index));
787  auto pv = pc.as<uint8_t>();
788  uint64_t p = 0;
789  for (int i = maxVectorLength * 8; i > 0; ) {
790  p = (p << 1) | pv[--i];
791  }
792  values.push_back(p);
793  }
794  break;
795  case REG_Q:
796  if (instRecord.isetstate == ISET_A64) {
797  const ArmISA::VecRegContainer& vc = thread->readVecReg(
798  RegId(VecRegClass, it->index));
799  auto vv = vc.as<uint64_t>();
800  values.push_back(vv[0]);
801  values.push_back(vv[1]);
802  } else {
803  const VecElem w0 = thread->readVecElem(
805  it->index / NumVecElemPerNeonVecReg,
806  it->index % NumVecElemPerNeonVecReg));
807  const VecElem w1 = thread->readVecElem(
809  (it->index + 1) / NumVecElemPerNeonVecReg,
810  (it->index + 1) % NumVecElemPerNeonVecReg));
811  const VecElem w2 = thread->readVecElem(
813  (it->index + 2) / NumVecElemPerNeonVecReg,
814  (it->index + 2) % NumVecElemPerNeonVecReg));
815  const VecElem w3 = thread->readVecElem(
817  (it->index + 3) / NumVecElemPerNeonVecReg,
818  (it->index + 3) % NumVecElemPerNeonVecReg));
819 
820  values.push_back((uint64_t)(w1) << 32 | w0);
821  values.push_back((uint64_t)(w3) << 32 | w2);
822  }
823  break;
824  case REG_Z:
825  {
826  int8_t i = maxVectorLength;
827  const TheISA::VecRegContainer& vc = thread->readVecReg(
828  RegId(VecRegClass, it->index));
829  auto vv = vc.as<uint64_t>();
830  while (i > 0) {
831  values.push_back(vv[--i]);
832  }
833  }
834  break;
835  case REG_MISC:
836  if (it->index == MISCREG_CPSR) {
837  // Read condition codes from aliased integer regs
838  CPSR cpsr = thread->readMiscRegNoEffect(it->index);
839  cpsr.nz = thread->readCCReg(CCREG_NZ);
840  cpsr.c = thread->readCCReg(CCREG_C);
841  cpsr.v = thread->readCCReg(CCREG_V);
842  cpsr.ge = thread->readCCReg(CCREG_GE);
843  values.push_back(cpsr);
844  } else if (it->index == MISCREG_NZCV) {
845  CPSR cpsr = 0;
846  cpsr.nz = thread->readCCReg(CCREG_NZ);
847  cpsr.c = thread->readCCReg(CCREG_C);
848  cpsr.v = thread->readCCReg(CCREG_V);
849  values.push_back(cpsr);
850  } else if (it->index == MISCREG_FPCR) {
851  // Read FPSCR and extract FPCR value
852  FPSCR fpscr = thread->readMiscRegNoEffect(MISCREG_FPSCR);
853  const uint32_t ones = (uint32_t)(-1);
854  FPSCR fpcrMask = 0;
855  fpcrMask.ioe = ones;
856  fpcrMask.dze = ones;
857  fpcrMask.ofe = ones;
858  fpcrMask.ufe = ones;
859  fpcrMask.ixe = ones;
860  fpcrMask.ide = ones;
861  fpcrMask.len = ones;
862  fpcrMask.stride = ones;
863  fpcrMask.rMode = ones;
864  fpcrMask.fz = ones;
865  fpcrMask.dn = ones;
866  fpcrMask.ahp = ones;
867  values.push_back(fpscr & fpcrMask);
868  } else if (it->index == MISCREG_FPSR) {
869  // Read FPSCR and extract FPSR value
870  FPSCR fpscr = thread->readMiscRegNoEffect(MISCREG_FPSCR);
871  const uint32_t ones = (uint32_t)(-1);
872  FPSCR fpsrMask = 0;
873  fpsrMask.ioc = ones;
874  fpsrMask.dzc = ones;
875  fpsrMask.ofc = ones;
876  fpsrMask.ufc = ones;
877  fpsrMask.ixc = ones;
878  fpsrMask.idc = ones;
879  fpsrMask.qc = ones;
880  fpsrMask.v = ones;
881  fpsrMask.c = ones;
882  fpsrMask.z = ones;
883  fpsrMask.n = ones;
884  values.push_back(fpscr & fpsrMask);
885  } else {
886  values.push_back(thread->readMiscRegNoEffect(it->index));
887  }
888  break;
889  default:
890  panic("Unknown TARMAC trace record type!");
891  }
892 
893  bool same = true;
894  if (values.size() != it->values.size()) same = false;
895 
896  uint32_t size = values.size();
897  if (size > it->values.size())
898  size = it->values.size();
899 
900  if (same) {
901  for (int i = 0; i < size; ++i) {
902  if (values[i] != it->values[i]) {
903  same = false;
904  break;
905  }
906  }
907  }
908 
909  if (!same) {
910  if (!mismatch) {
911  TarmacParserRecord::printMismatchHeader(inst, pc);
912  mismatch = true;
913  }
914  outs << "diff> [" << it->repr << "] gem5: 0x" << hex;
915  for (auto v : values)
916  outs << setw(16) << setfill('0') << v;
917 
918  outs << ", TARMAC: 0x" << hex;
919  for (auto v : it->values)
920  outs << setw(16) << setfill('0') << v;
921  outs << endl;
922  }
923  }
924  destRegRecords.clear();
925 
926  if (mismatchOnPcOrOpcode && (parent.exitOnDiff ||
927  parent.exitOnInsnDiff))
928  exitSimLoop("a mismatch with the TARMAC trace has been detected "
929  "on PC or opcode", 1);
930  if (mismatch && parent.exitOnDiff)
931  exitSimLoop("a mismatch with the TARMAC trace has been detected "
932  "on data value", 1);
933 }
934 
935 const char *
936 TarmacParserRecord::TarmacParserRecordEvent::description() const
937 {
938  return "TARMAC parser record event";
939 }
940 
941 
942 void
943 TarmacParserRecord::printMismatchHeader(const StaticInstPtr staticInst,
945 {
946  ostream &outs = Trace::output();
947  outs << "\nMismatch between gem5 and TARMAC trace @ " << dec << curTick()
948  << " ticks\n"
949  << "[seq_num: " << dec << instRecord.seq_num
950  << ", opcode: 0x" << hex << (staticInst->machInst & 0xffffffff)
951  << ", PC: 0x" << pc.pc()
952  << ", disasm: " << staticInst->disassemble(pc.pc()) << "]"
953  << endl;
954 }
955 
956 TarmacParserRecord::TarmacParserRecord(Tick _when, ThreadContext *_thread,
957  const StaticInstPtr _staticInst,
958  PCState _pc,
959  TarmacParser& _parent,
960  const StaticInstPtr _macroStaticInst)
961  : TarmacBaseRecord(_when, _thread, _staticInst,
962  _pc, _macroStaticInst),
963  parsingStarted(false), mismatch(false),
964  mismatchOnPcOrOpcode(false), parent(_parent)
965 {
966  memReq = std::make_shared<Request>();
967  if (maxVectorLength == 0) {
968  maxVectorLength = ArmStaticInst::getCurSveVecLen<uint64_t>(_thread);
969  }
970 }
971 
972 void
974 {
975  ostream &outs = Trace::output();
976 
977  uint64_t written_data = 0;
978  unsigned mem_flags = 3 | ArmISA::TLB::AllowUnaligned;
979 
980  ISetState isetstate;
981 
983 
985  // A microop faulted and it was not the last microop -> advance
986  // TARMAC trace to next instruction
987  advanceTrace();
988  }
989 
990  parent.macroopInProgress = false;
991 
992  auto arm_inst = static_cast<const ArmStaticInst*>(
993  staticInst.get()
994  );
995 
996  while (advanceTrace()) {
997  switch (currRecordType) {
998 
999  case TARMAC_INST:
1000  parsingStarted = true;
1001  if (pc.instAddr() != instRecord.addr) {
1002  if (!mismatch)
1004  outs << "diff> [PC] gem5: 0x" << hex << pc.instAddr()
1005  << ", TARMAC: 0x" << instRecord.addr << endl;
1006  mismatch = true;
1007  mismatchOnPcOrOpcode = true;
1008  }
1009 
1010  if (arm_inst->encoding() != instRecord.opcode) {
1011  if (!mismatch)
1013  outs << "diff> [opcode] gem5: 0x" << hex
1014  << arm_inst->encoding()
1015  << ", TARMAC: 0x" << instRecord.opcode << endl;
1016  mismatch = true;
1017  mismatchOnPcOrOpcode = true;
1018  }
1019 
1020  // Set the Instruction set state.
1021  isetstate = pcToISetState(pc);
1022 
1023  if (instRecord.isetstate != isetstate &&
1024  isetstate != ISET_UNSUPPORTED) {
1025  if (!mismatch)
1027  outs << "diff> [iset_state] gem5: "
1028  << iSetStateToStr(isetstate)
1029  << ", TARMAC: "
1030  << iSetStateToStr(instRecord.isetstate);
1031  mismatch = true;
1032  }
1033 
1034  // TODO(Giacomo): add support for predicate and mode checking
1035  break;
1036 
1037  case TARMAC_REG:
1038  destRegRecords.push_back(regRecord);
1039  break;
1040 
1041  case TARMAC_MEM:
1042  if (!readMemNoEffect(memRecord.addr, (uint8_t*) &written_data,
1043  memRecord.size, mem_flags))
1044  break;
1045  if (written_data != memRecord.data) {
1046  if (!mismatch)
1048  outs << "diff> [mem(0x" << hex << memRecord.addr
1049  << ")] gem5: 0x" << written_data
1050  << ", TARMAC: 0x" << memRecord.data
1051  << endl;
1052  }
1053  break;
1054 
1055  case TARMAC_UNSUPPORTED:
1056  break;
1057 
1058  default:
1059  panic("Unknown TARMAC trace record type!");
1060  }
1061  }
1062  // We are done with the current instruction, i.e. all the corresponding
1063  // entries in the TARMAC trace have been parsed
1064  if (destRegRecords.size()) {
1068  mainEventQueue[0]->schedule(event, curTick());
1069  } else if (mismatchOnPcOrOpcode && (parent.exitOnDiff ||
1071  exitSimLoop("a mismatch with the TARMAC trace has been detected "
1072  "on PC or opcode", 1);
1073  }
1074  } else {
1075  parent.macroopInProgress = true;
1076  }
1077 }
1078 
1079 bool
1081 {
1082  ifstream& trace = parent.trace;
1083  trace >> hex; // All integer values are in hex base
1084 
1085  if (buf[0] != 'I') {
1086  trace >> buf;
1087  if (trace.eof())
1088  return false;
1089  trace >> buf >> buf;
1090  if (parent.cpuId) {
1091  assert((buf[0] == 'c') && (buf[1] == 'p') && (buf[2] == 'u'));
1092  trace >> buf;
1093  }
1094  }
1095 
1096  if (trace.eof())
1097  return false;
1098 
1099  if (buf[0] == 'I') {
1100  // Instruction trace record
1101  if (parsingStarted)
1102  return false;
1104  instRecord.taken = (buf[1] == 'T');
1105  trace >> buf;
1106  instRecord.seq_num = atoi(&buf[1]);
1107  trace >> instRecord.addr;
1108  char c = trace.peek();
1109  if (c == ':') {
1110  // Skip phys. address and _S/_NS suffix
1111  trace >> c >> buf;
1112  }
1113  trace >> instRecord.opcode;
1114  trace >> buf;
1115  switch (buf[0]) {
1116  case 'A':
1117  instRecord.isetstate = ISET_ARM;
1118  break;
1119  case 'T':
1120  instRecord.isetstate = ISET_THUMB;
1121  break;
1122  case 'O':
1123  instRecord.isetstate = ISET_A64;
1124  break;
1125  default:
1126  warn("Invalid TARMAC trace record (seq_num: %lld)",
1128  instRecord.isetstate = ISET_UNSUPPORTED;
1130  break;
1131  }
1132  trace.ignore(MaxLineLength, '\n');
1133  buf[0] = 0;
1134  } else if (buf[0] == 'R') {
1135  // Register trace record
1137  regRecord.values.clear();
1138  trace >> buf;
1139  strcpy(regRecord.repr, buf);
1140  if (std::tolower(buf[0]) == 'r' && isdigit(buf[1])) {
1141  // R register
1142  regRecord.type = REG_R;
1143  int base_index = atoi(&buf[1]);
1144  char* pch = strchr(buf, '_');
1145  if (pch == NULL) {
1146  regRecord.index = INTREG_USR(base_index);
1147  } else {
1148  ++pch;
1149  if (strncmp(pch, "usr", 3) == 0)
1150  regRecord.index = INTREG_USR(base_index);
1151  else if (strncmp(pch, "fiq", 3) == 0)
1152  regRecord.index = INTREG_FIQ(base_index);
1153  else if (strncmp(pch, "irq", 3) == 0)
1154  regRecord.index = INTREG_IRQ(base_index);
1155  else if (strncmp(pch, "svc", 3) == 0)
1156  regRecord.index = INTREG_SVC(base_index);
1157  else if (strncmp(pch, "mon", 3) == 0)
1158  regRecord.index = INTREG_MON(base_index);
1159  else if (strncmp(pch, "abt", 3) == 0)
1160  regRecord.index = INTREG_ABT(base_index);
1161  else if (strncmp(pch, "und", 3) == 0)
1162  regRecord.index = INTREG_UND(base_index);
1163  else if (strncmp(pch, "hyp", 3) == 0)
1164  regRecord.index = INTREG_HYP(base_index);
1165  }
1166  } else if (std::tolower(buf[0]) == 'x' && isdigit(buf[1])) {
1167  // X register (A64)
1168  regRecord.type = REG_X;
1169  regRecord.index = atoi(&buf[1]);
1170  } else if (std::tolower(buf[0]) == 's' && isdigit(buf[1])) {
1171  // S register
1172  regRecord.type = REG_S;
1173  regRecord.index = atoi(&buf[1]);
1174  } else if (std::tolower(buf[0]) == 'd' && isdigit(buf[1])) {
1175  // D register
1176  regRecord.type = REG_D;
1177  regRecord.index = atoi(&buf[1]);
1178  } else if (std::tolower(buf[0]) == 'q' && isdigit(buf[1])) {
1179  // Q register
1180  regRecord.type = REG_Q;
1181  regRecord.index = atoi(&buf[1]);
1182  } else if (std::tolower(buf[0]) == 'z' && isdigit(buf[1])) {
1183  // Z (SVE vector) register
1184  regRecord.type = REG_Z;
1185  regRecord.index = atoi(&buf[1]);
1186  } else if (std::tolower(buf[0]) == 'p' && isdigit(buf[1])) {
1187  // P (SVE predicate) register
1188  regRecord.type = REG_P;
1189  regRecord.index = atoi(&buf[1]);
1190  } else if (strncmp(buf, "SP_EL", 5) == 0) {
1191  // A64 stack pointer
1192  regRecord.type = REG_X;
1193  regRecord.index = INTREG_SP0 + atoi(&buf[5]);
1194  } else if (miscRegMap.count(buf)) {
1195  // Misc. register
1198  } else {
1199  // Try match with upper case name (misc. register)
1200  string reg_name = buf;
1201  transform(reg_name.begin(), reg_name.end(), reg_name.begin(),
1202  ::tolower);
1203  if (miscRegMap.count(reg_name.c_str())) {
1205  regRecord.index = miscRegMap[reg_name.c_str()];
1206  } else {
1207  warn("Unknown register in TARMAC trace (%s).\n", buf);
1209  trace.ignore(MaxLineLength, '\n');
1210  buf[0] = 0;
1211  return true;
1212  }
1213  }
1214  if (regRecord.type == REG_Q) {
1215  trace.ignore();
1216  trace.get(buf, 17);
1217  uint64_t hi = strtoull(buf, NULL, 16);
1218  trace.get(buf, 17);
1219  uint64_t lo = strtoull(buf, NULL, 16);
1220  regRecord.values.push_back(lo);
1221  regRecord.values.push_back(hi);
1222  } else if (regRecord.type == REG_Z) {
1224  for (uint8_t i = 0; i < maxVectorLength; ++i) {
1225  uint64_t v;
1226  trace >> v;
1227  char c;
1228  trace >> c;
1229  assert(c == '_');
1230 
1231  uint64_t lsw = 0;
1232  trace >> lsw;
1233  v = (v << 32) | lsw;
1234  if (i < maxVectorLength - 1) trace >> c;
1235  regRecord.values[i] = v;
1236  }
1237  } else {
1238  // REG_P values are also parsed here
1239  uint64_t v;
1240  trace >> v;
1241  char c = trace.peek();
1242  if ((c == ':') || (c == '_')) {
1243  // 64-bit value with : or _ in the middle
1244  uint64_t lsw = 0;
1245  trace >> c >> lsw;
1246  v = (v << 32) | lsw;
1247  }
1248  regRecord.values.push_back(v);
1249  }
1250  trace.ignore(MaxLineLength, '\n');
1251  buf[0] = 0;
1252  } else if (buf[0] == 'M' && (parent.memWrCheck && buf[1] == 'W')) {
1254  memRecord.size = atoi(&buf[2]);
1255  trace >> memRecord.addr;
1256  char c = trace.peek();
1257  if (c == ':') {
1258  // Skip phys. address and _S/_NS suffix
1259  trace >> c >> buf;
1260  }
1261  uint64_t data = 0;
1262  trace >> data;
1263  c = trace.peek();
1264  if (c == '_') {
1265  // 64-bit value with _ in the middle
1266  uint64_t lsw = 0;
1267  trace >> c >> lsw;
1268  data = (data << 32) | lsw;
1269  }
1270  memRecord.data = data;
1271  trace.ignore(MaxLineLength, '\n');
1272  buf[0] = 0;
1273  } else {
1275  trace.ignore(MaxLineLength, '\n');
1276  buf[0] = 0;
1277  }
1278 
1279  return true;
1280 }
1281 
1282 bool
1284  unsigned flags)
1285 {
1286  const RequestPtr &req = memReq;
1287  ArmISA::TLB* dtb = static_cast<TLB*>(thread->getDTBPtr());
1288 
1289  req->setVirt(addr, size, flags, thread->pcState().instAddr(),
1291 
1292  // Translate to physical address
1293  Fault fault = dtb->translateAtomic(req, thread, BaseTLB::Read);
1294 
1295  // Ignore read if the address falls into the ignored range
1297  return false;
1298 
1299  // Now do the access
1300  if (fault == NoFault &&
1301  !req->getFlags().isSet(Request::NO_ACCESS)) {
1302  if (req->isLLSC() || req->isLocalAccess())
1303  // LLSCs and local accesses are ignored
1304  return false;
1305  // the translating proxy will perform the virtual to physical
1306  // translation again
1308  } else {
1309  return false;
1310  }
1311 
1312  if (fault != NoFault) {
1313  return false;
1314  }
1315 
1316  return true;
1317 }
1318 
1319 void
1321 {
1323  Addr pc;
1324  int saved_offset;
1325 
1326  trace >> hex; // All integer values are in hex base
1327 
1328  while (true) {
1329  saved_offset = trace.tellg();
1330  trace >> buf >> buf >> buf;
1331  if (cpuId)
1332  trace >> buf;
1333  if (buf[0] == 'I') {
1334  trace >> buf >> pc;
1335  if (pc == startPc) {
1336  // Set file pointer to the beginning of this line
1337  trace.seekg(saved_offset, ios::beg);
1338  return;
1339  } else {
1341  }
1342  } else {
1344  }
1345  if (trace.eof())
1346  panic("End of TARMAC trace reached before start PC\n");
1347  }
1348 }
1349 
1350 const char*
1352 {
1353  switch (isetstate) {
1354  case ISET_ARM:
1355  return "ARM (A32)";
1356  case ISET_THUMB:
1357  return "Thumb (A32)";
1358  case ISET_A64:
1359  return "A64";
1360  default:
1361  return "UNSUPPORTED";
1362  }
1363 }
1364 
1365 } // namespace Trace
1366 
1368 TarmacParserParams::create()
1369 {
1370  return new Trace::TarmacParser(this);
1371 }
ArmISA::MISCREG_HPFAR_EL2
@ MISCREG_HPFAR_EL2
Definition: miscregs.hh:644
ArmISA::MISCREG_TLBIALLIS
@ MISCREG_TLBIALLIS
Definition: miscregs.hh:315
ArmISA::MISCREG_DBGBXVR15
@ MISCREG_DBGBXVR15
Definition: miscregs.hh:182
ArmISA::MISCREG_PMCNTENCLR
@ MISCREG_PMCNTENCLR
Definition: miscregs.hh:347
ArmISA::MISCREG_MVFR2_EL1
@ MISCREG_MVFR2_EL1
Definition: miscregs.hh:552
ArmISA::MISCREG_AT_S1E3R_Xt
@ MISCREG_AT_S1E3R_Xt
Definition: miscregs.hh:668
ArmISA::MISCREG_DBGBCR3_EL1
@ MISCREG_DBGBCR3_EL1
Definition: miscregs.hh:471
ArmISA::MISCREG_DACR32_EL2
@ MISCREG_DACR32_EL2
Definition: miscregs.hh:603
ArmISA::MISCREG_DBGWVR8
@ MISCREG_DBGWVR8
Definition: miscregs.hh:142
ArmISA::MISCREG_HACTLR
@ MISCREG_HACTLR
Definition: miscregs.hh:241
ArmISA::MISCREG_DBGDSCRint
@ MISCREG_DBGDSCRint
Definition: miscregs.hh:92
ArmISA::MISCREG_AFSR0_EL3
@ MISCREG_AFSR0_EL3
Definition: miscregs.hh:638
ArmISA::MISCREG_DBGOSLAR
@ MISCREG_DBGOSLAR
Definition: miscregs.hh:183
ArmISA::MISCREG_ID_AA64MMFR2_EL1
@ MISCREG_ID_AA64MMFR2_EL1
Definition: miscregs.hh:814
ArmISA::MISCREG_L2MERRSR_EL1
@ MISCREG_L2MERRSR_EL1
Definition: miscregs.hh:807
ArmISA::MISCREG_DBGWVR0
@ MISCREG_DBGWVR0
Definition: miscregs.hh:134
ArmISA::MISCREG_DBGWVR9
@ MISCREG_DBGWVR9
Definition: miscregs.hh:143
Trace::TarmacParser::startPc
Addr startPc
Tracing starts when the PC gets this value for the first time (ignored if 0x0).
Definition: tarmac_parser.hh:269
ArmISA::MISCREG_PMUSERENR_EL0
@ MISCREG_PMUSERENR_EL0
Definition: miscregs.hh:716
ArmISA::MISCREG_DBGWVR6_EL1
@ MISCREG_DBGWVR6_EL1
Definition: miscregs.hh:490
ArmISA::MISCREG_TLBI_IPAS2E1IS_Xt
@ MISCREG_TLBI_IPAS2E1IS_Xt
Definition: miscregs.hh:682
Trace::TarmacParserRecord::regRecord
static ParserRegEntry regRecord
Buffer for register trace records.
Definition: tarmac_parser.hh:164
ArmISA::MISCREG_ID_AA64AFR1_EL1
@ MISCREG_ID_AA64AFR1_EL1
Definition: miscregs.hh:558
ArmISA::MISCREG_ATS12NSOPR
@ MISCREG_ATS12NSOPR
Definition: miscregs.hh:302
ArmISA::MISCREG_PMCCNTR
@ MISCREG_PMCCNTR
Definition: miscregs.hh:353
Trace::InstRecord::addr
Addr addr
The address that was accessed.
Definition: insttracer.hh:80
ArmISA::MISCREG_DC_CIVAC_Xt
@ MISCREG_DC_CIVAC_Xt
Definition: miscregs.hh:661
ArmISA::MISCREG_PMEVTYPER4_EL0
@ MISCREG_PMEVTYPER4_EL0
Definition: miscregs.hh:792
ArmISA::MISCREG_AT_S1E3W_Xt
@ MISCREG_AT_S1E3W_Xt
Definition: miscregs.hh:669
ArmISA::MISCREG_DBGBCR9
@ MISCREG_DBGBCR9
Definition: miscregs.hh:127
ArmISA::MISCREG_VBAR_S
@ MISCREG_VBAR_S
Definition: miscregs.hh:387
ArmISA::MISCREG_CP15DSB
@ MISCREG_CP15DSB
Definition: miscregs.hh:308
ArmISA::MISCREG_SPSR_IRQ_AA64
@ MISCREG_SPSR_IRQ_AA64
Definition: miscregs.hh:620
ArmISA::MISCREG_ATS1HR
@ MISCREG_ATS1HR
Definition: miscregs.hh:313
ArmISA::MISCREG_DBGBXVR11
@ MISCREG_DBGBXVR11
Definition: miscregs.hh:178
Trace::TarmacParser::cpuId
bool cpuId
If true, the trace format includes the CPU id.
Definition: tarmac_parser.hh:289
ArmISA::MISCREG_DBGBVR9_EL1
@ MISCREG_DBGBVR9_EL1
Definition: miscregs.hh:461
Trace::TarmacBaseRecord::TARMAC_REG
@ TARMAC_REG
Definition: tarmac_base.hh:68
ArmISA::MISCREG_MVFR0_EL1
@ MISCREG_MVFR0_EL1
Definition: miscregs.hh:550
ArmISA::MISCREG_TLBIMVAAIS
@ MISCREG_TLBIMVAAIS
Definition: miscregs.hh:318
ArmISA::MISCREG_DBGBVR6
@ MISCREG_DBGBVR6
Definition: miscregs.hh:108
ArmISA::MISCREG_PMSELR_EL0
@ MISCREG_PMSELR_EL0
Definition: miscregs.hh:709
ArmISA::MISCREG_DBGBCR2_EL1
@ MISCREG_DBGBCR2_EL1
Definition: miscregs.hh:470
ArmISA::MISCREG_DBGBVR8
@ MISCREG_DBGBVR8
Definition: miscregs.hh:110
warn
#define warn(...)
Definition: logging.hh:239
ArmISA::MISCREG_ID_AA64ISAR1_EL1
@ MISCREG_ID_AA64ISAR1_EL1
Definition: miscregs.hh:560
ArmISA::MISCREG_CNTHP_CTL_EL2
@ MISCREG_CNTHP_CTL_EL2
Definition: miscregs.hh:766
ArmISA::MISCREG_DBGWCR4_EL1
@ MISCREG_DBGWCR4_EL1
Definition: miscregs.hh:504
ArmISA::MISCREG_DBGBVR2_EL1
@ MISCREG_DBGBVR2_EL1
Definition: miscregs.hh:454
ArmISA::MISCREG_CNTV_CTL
@ MISCREG_CNTV_CTL
Definition: miscregs.hh:419
ArmISA::MISCREG_DBGWCR7_EL1
@ MISCREG_DBGWCR7_EL1
Definition: miscregs.hh:507
ArmISA::MISCREG_HCPTR
@ MISCREG_HCPTR
Definition: miscregs.hh:245
ArmISA::MISCREG_DBGBXVR13
@ MISCREG_DBGBXVR13
Definition: miscregs.hh:180
ArmISA::MISCREG_MDDTRTX_EL0
@ MISCREG_MDDTRTX_EL0
Definition: miscregs.hh:518
ArmISA::MISCREG_DBGBCR14
@ MISCREG_DBGBCR14
Definition: miscregs.hh:132
ArmISA::MISCREG_CTR_EL0
@ MISCREG_CTR_EL0
Definition: miscregs.hh:567
ArmISA::CCREG_NZ
@ CCREG_NZ
Definition: ccregs.hh:45
ArmISA::MISCREG_IC_IALLUIS
@ MISCREG_IC_IALLUIS
Definition: miscregs.hh:646
ArmISA::MISCREG_DC_CVAU_Xt
@ MISCREG_DC_CVAU_Xt
Definition: miscregs.hh:660
ArmISA::MISCREG_IC_IVAU_Xt
@ MISCREG_IC_IVAU_Xt
Definition: miscregs.hh:658
BaseTLB::Read
@ Read
Definition: tlb.hh:57
ArmISA::MISCREG_TLBIMVAHIS
@ MISCREG_TLBIMVAHIS
Definition: miscregs.hh:336
ArmISA::MISCREG_PMEVCNTR0_EL0
@ MISCREG_PMEVCNTR0_EL0
Definition: miscregs.hh:782
data
const char data[]
Definition: circlebuf.test.cc:42
ArmISA::MISCREG_CSSELR_S
@ MISCREG_CSSELR_S
Definition: miscregs.hh:226
Trace::InstRecord::data
union Trace::InstRecord::@115 data
ArmISA::MISCREG_DBGWCR0
@ MISCREG_DBGWCR0
Definition: miscregs.hh:150
ArmISA::VecRegContainer
VecReg::Container VecRegContainer
Definition: registers.hh:71
VecElemClass
@ VecElemClass
Vector Register Native Elem lane.
Definition: reg_class.hh:58
ArmISA::MISCREG_CONTEXTIDR_EL1
@ MISCREG_CONTEXTIDR_EL1
Definition: miscregs.hh:737
ArmISA::MISCREG_DBGDEVID2
@ MISCREG_DBGDEVID2
Definition: miscregs.hh:191
ArmISA::MISCREG_OSLAR_EL1
@ MISCREG_OSLAR_EL1
Definition: miscregs.hh:522
ArmISA::MISCREG_CNTPCT
@ MISCREG_CNTPCT
Definition: miscregs.hh:408
ArmISA::MISCREG_DBGWVR2
@ MISCREG_DBGWVR2
Definition: miscregs.hh:136
Trace::TarmacParserRecord::mismatch
bool mismatch
True if a mismatch has been detected for this instruction.
Definition: tarmac_parser.hh:189
ArmISA::MISCREG_TEEHBR32_EL1
@ MISCREG_TEEHBR32_EL1
Definition: miscregs.hh:530
ArmISA::MISCREG_IL1DATA1_EL1
@ MISCREG_IL1DATA1_EL1
Definition: miscregs.hh:795
Trace::InstRecord::staticInst
StaticInstPtr staticInst
Definition: insttracer.hh:65
ArmISA::MISCREG_DBGWCR9_EL1
@ MISCREG_DBGWCR9_EL1
Definition: miscregs.hh:509
ArmISA::MISCREG_CP15DMB
@ MISCREG_CP15DMB
Definition: miscregs.hh:309
ArmISA::MISCREG_DBGWCR0_EL1
@ MISCREG_DBGWCR0_EL1
Definition: miscregs.hh:500
ArmISA::MISCREG_TLBI_VAALE1IS_Xt
@ MISCREG_TLBI_VAALE1IS_Xt
Definition: miscregs.hh:675
ArmISA::MISCREG_AIDR
@ MISCREG_AIDR
Definition: miscregs.hh:223
ArmISA::MISCREG_DBGBXVR3
@ MISCREG_DBGBXVR3
Definition: miscregs.hh:170
Trace::TarmacParser::memWrCheck
bool memWrCheck
If true, memory write accesses are checked.
Definition: tarmac_parser.hh:283
ArmISA::MISCREG_DBGBVR12
@ MISCREG_DBGBVR12
Definition: miscregs.hh:114
Trace::TarmacParserRecord::instRecord
static ParserInstEntry instRecord
Buffer for instruction trace records.
Definition: tarmac_parser.hh:161
ArmISA::MISCREG_PAR_EL1
@ MISCREG_PAR_EL1
Definition: miscregs.hh:647
ArmISA::MISCREG_DBGBVR13
@ MISCREG_DBGBVR13
Definition: miscregs.hh:115
ArmISA::MISCREG_DCCISW
@ MISCREG_DCCISW
Definition: miscregs.hh:312
ArmISA::MISCREG_PMXEVTYPER
@ MISCREG_PMXEVTYPER
Definition: miscregs.hh:354
ArmISA::MISCREG_DBGWCR11_EL1
@ MISCREG_DBGWCR11_EL1
Definition: miscregs.hh:511
ArmISA::MISCREG_IC_IALLU
@ MISCREG_IC_IALLU
Definition: miscregs.hh:648
ArmISA::MISCREG_L2MERRSR
@ MISCREG_L2MERRSR
Definition: miscregs.hh:444
ArmISA::i
Bitfield< 7 > i
Definition: miscregs_types.hh:63
ArmISA::MISCREG_ID_AA64ISAR0_EL1
@ MISCREG_ID_AA64ISAR0_EL1
Definition: miscregs.hh:559
ArmISA::MISCREG_HAMAIR1
@ MISCREG_HAMAIR1
Definition: miscregs.hh:384
ArmISA::MISCREG_PMCEID1_EL0
@ MISCREG_PMCEID1_EL0
Definition: miscregs.hh:711
ArmISA::MISCREG_CONTEXTIDR_NS
@ MISCREG_CONTEXTIDR_NS
Definition: miscregs.hh:394
ArmISA::MISCREG_HAMAIR0
@ MISCREG_HAMAIR0
Definition: miscregs.hh:383
ArmISA::MISCREG_VMPIDR_EL2
@ MISCREG_VMPIDR_EL2
Definition: miscregs.hh:570
ArmISA::MISCREG_CNTFRQ_EL0
@ MISCREG_CNTFRQ_EL0
Definition: miscregs.hh:745
ArmISA::MISCREG_TEECR
@ MISCREG_TEECR
Definition: miscregs.hh:194
ArmISA::MISCREG_VTCR
@ MISCREG_VTCR
Definition: miscregs.hh:258
ArmISA::MISCREG_L2ECTLR
@ MISCREG_L2ECTLR
Definition: miscregs.hh:362
ArmISA::MISCREG_TLBIMVAL
@ MISCREG_TLBIMVAL
Definition: miscregs.hh:331
ArmISA::MISCREG_DBGWCR14_EL1
@ MISCREG_DBGWCR14_EL1
Definition: miscregs.hh:514
ArmISA::MISCREG_DBGCLAIMCLR_EL1
@ MISCREG_DBGCLAIMCLR_EL1
Definition: miscregs.hh:527
ArmISA::MISCREG_TTBCR_NS
@ MISCREG_TTBCR_NS
Definition: miscregs.hh:255
ArmISA::MISCREG_PMEVCNTR1_EL0
@ MISCREG_PMEVCNTR1_EL0
Definition: miscregs.hh:783
ArmISA::MISCREG_TLBI_VAAE1IS_Xt
@ MISCREG_TLBI_VAAE1IS_Xt
Definition: miscregs.hh:673
ArmISA::MISCREG_DBGAUTHSTATUS_EL1
@ MISCREG_DBGAUTHSTATUS_EL1
Definition: miscregs.hh:528
ArmISA::MISCREG_DCISW
@ MISCREG_DCISW
Definition: miscregs.hh:297
ArmISA::MISCREG_DBGDCCINT
@ MISCREG_DBGDCCINT
Definition: miscregs.hh:93
ArmISA::MISCREG_DBGBVR0_EL1
@ MISCREG_DBGBVR0_EL1
Definition: miscregs.hh:452
ArmISA::MISCREG_AIFSR_NS
@ MISCREG_AIFSR_NS
Definition: miscregs.hh:272
ArmISA::MISCREG_ITLBIMVA
@ MISCREG_ITLBIMVA
Definition: miscregs.hh:322
Trace::TarmacBaseRecord
Definition: tarmac_base.hh:62
Trace
Definition: nativetrace.cc:52
ArmISA::MISCREG_DBGBCR15_EL1
@ MISCREG_DBGBCR15_EL1
Definition: miscregs.hh:483
ArmISA::MISCREG_DBGWCR2_EL1
@ MISCREG_DBGWCR2_EL1
Definition: miscregs.hh:502
ArmISA::MISCREG_ID_MMFR0
@ MISCREG_ID_MMFR0
Definition: miscregs.hh:211
ArmISA::MISCREG_JMCR
@ MISCREG_JMCR
Definition: miscregs.hh:198
Request::NO_ACCESS
@ NO_ACCESS
The request should not cause a memory access.
Definition: request.hh:135
ArmISA::MISCREG_DBGWVR4
@ MISCREG_DBGWVR4
Definition: miscregs.hh:138
ArmISA::MISCREG_DBGWCR15_EL1
@ MISCREG_DBGWCR15_EL1
Definition: miscregs.hh:515
ArmISA::MISCREG_CURRENTEL
@ MISCREG_CURRENTEL
Definition: miscregs.hh:610
ArmISA::MISCREG_PMCEID1
@ MISCREG_PMCEID1
Definition: miscregs.hh:352
ArmISA::MISCREG_CNTP_TVAL_EL0
@ MISCREG_CNTP_TVAL_EL0
Definition: miscregs.hh:750
ArmISA::MISCREG_DBGBVR5
@ MISCREG_DBGBVR5
Definition: miscregs.hh:107
ArmISA::MISCREG_ICIALLUIS
@ MISCREG_ICIALLUIS
Definition: miscregs.hh:286
ArmISA::MISCREG_ATS1CPR
@ MISCREG_ATS1CPR
Definition: miscregs.hh:298
ArmISA::MISCREG_FPSR
@ MISCREG_FPSR
Definition: miscregs.hh:614
ArmISA::MISCREG_OSDTRRX_EL1
@ MISCREG_OSDTRRX_EL1
Definition: miscregs.hh:448
ArmISA::MISCREG_TTBR1_S
@ MISCREG_TTBR1_S
Definition: miscregs.hh:253
ArmISA::MISCREG_TTBR0_S
@ MISCREG_TTBR0_S
Definition: miscregs.hh:250
ArmISA::MISCREG_JIDR
@ MISCREG_JIDR
Definition: miscregs.hh:195
ArmISA::MISCREG_PMINTENCLR_EL1
@ MISCREG_PMINTENCLR_EL1
Definition: miscregs.hh:703
ArmISA::MISCREG_TTBR0_EL1
@ MISCREG_TTBR0_EL1
Definition: miscregs.hh:589
ArmISA::MISCREG_DLR_EL0
@ MISCREG_DLR_EL0
Definition: miscregs.hh:616
ArmISA::MISCREG_ADFSR_S
@ MISCREG_ADFSR_S
Definition: miscregs.hh:270
ArmISA::MISCREG_ICIALLU
@ MISCREG_ICIALLU
Definition: miscregs.hh:291
ArmISA::MISCREG_VTTBR_EL2
@ MISCREG_VTTBR_EL2
Definition: miscregs.hh:597
Trace::TarmacBaseRecord::ISET_ARM
@ ISET_ARM
Definition: tarmac_base.hh:74
ArmISA::MISCREG_DAIF
@ MISCREG_DAIF
Definition: miscregs.hh:612
ArmISA::MISCREG_TLBIMVA
@ MISCREG_TLBIMVA
Definition: miscregs.hh:328
ArmISA::MISCREG_CNTV_CVAL_EL0
@ MISCREG_CNTV_CVAL_EL0
Definition: miscregs.hh:752
ArmISA::MISCREG_ID_MMFR2
@ MISCREG_ID_MMFR2
Definition: miscregs.hh:213
ArmISA::MISCREG_DCZID_EL0
@ MISCREG_DCZID_EL0
Definition: miscregs.hh:568
ArmISA::MISCREG_IL1DATA0_EL1
@ MISCREG_IL1DATA0_EL1
Definition: miscregs.hh:794
ArmISA::INTREG_SVC
static IntRegIndex INTREG_SVC(unsigned index)
Definition: intregs.hh:363
ArmISA::MISCREG_CNTPS_TVAL_EL1
@ MISCREG_CNTPS_TVAL_EL1
Definition: miscregs.hh:764
ArmISA::MISCREG_TPIDR_EL0
@ MISCREG_TPIDR_EL0
Definition: miscregs.hh:740
ArmISA::MISCREG_TLBIMVAIS
@ MISCREG_TLBIMVAIS
Definition: miscregs.hh:316
ArmISA::MISCREG_TLBI_VMALLE1
@ MISCREG_TLBI_VMALLE1
Definition: miscregs.hh:676
ArmISA::MISCREG_DBGWVR5_EL1
@ MISCREG_DBGWVR5_EL1
Definition: miscregs.hh:489
ArmISA::MISCREG_CLIDR
@ MISCREG_CLIDR
Definition: miscregs.hh:222
ArmISA::MISCREG_REVIDR
@ MISCREG_REVIDR
Definition: miscregs.hh:206
ArmISA::MISCREG_DBGBCR5_EL1
@ MISCREG_DBGBCR5_EL1
Definition: miscregs.hh:473
ArmISA::MISCREG_PMEVCNTR2_EL0
@ MISCREG_PMEVCNTR2_EL0
Definition: miscregs.hh:784
ArmISA::MISCREG_TLBI_VMALLS12E1
@ MISCREG_TLBI_VMALLS12E1
Definition: miscregs.hh:695
ArmISA::MISCREG_MVFR1_EL1
@ MISCREG_MVFR1_EL1
Definition: miscregs.hh:551
ArmISA::MISCREG_TLBI_VALE3IS_Xt
@ MISCREG_TLBI_VALE3IS_Xt
Definition: miscregs.hh:698
ArmISA::MISCREG_DL1DATA2
@ MISCREG_DL1DATA2
Definition: miscregs.hh:435
ArmISA::MISCREG_DBGWVR12_EL1
@ MISCREG_DBGWVR12_EL1
Definition: miscregs.hh:496
ArmISA::MISCREG_DC_CISW_Xt
@ MISCREG_DC_CISW_Xt
Definition: miscregs.hh:656
ArmISA::MISCREG_PMOVSSET_EL0
@ MISCREG_PMOVSSET_EL0
Definition: miscregs.hh:717
ArmISA::MISCREG_DL1DATA4_EL1
@ MISCREG_DL1DATA4_EL1
Definition: miscregs.hh:802
ArmISA::MISCREG_CNTV_TVAL
@ MISCREG_CNTV_TVAL
Definition: miscregs.hh:421
ArmISA::MISCREG_CPACR
@ MISCREG_CPACR
Definition: miscregs.hh:235
Tick
uint64_t Tick
Tick count type.
Definition: types.hh:63
ArmISA::VecPredRegContainer
VecPredReg::Container VecPredRegContainer
Definition: registers.hh:77
ArmISA::MISCREG_NMRR_NS
@ MISCREG_NMRR_NS
Definition: miscregs.hh:370
ArmISA::MISCREG_TLBI_ALLE3
@ MISCREG_TLBI_ALLE3
Definition: miscregs.hh:699
ArmISA::MISCREG_CNTP_TVAL_NS
@ MISCREG_CNTP_TVAL_NS
Definition: miscregs.hh:417
Trace::TarmacParserRecord::parent
TarmacParser & parent
Definition: tarmac_parser.hh:204
ArmISA::MISCREG_CNTP_CTL_S
@ MISCREG_CNTP_CTL_S
Definition: miscregs.hh:412
ArmISA::MISCREG_VBAR_NS
@ MISCREG_VBAR_NS
Definition: miscregs.hh:386
ArmISA::MISCREG_CNTV_TVAL_EL0
@ MISCREG_CNTV_TVAL_EL0
Definition: miscregs.hh:753
ArmISA::MISCREG_FAR_EL3
@ MISCREG_FAR_EL3
Definition: miscregs.hh:645
ArmISA::MISCREG_HVBAR
@ MISCREG_HVBAR
Definition: miscregs.hh:391
Trace::TarmacBaseRecord::ISET_UNSUPPORTED
@ ISET_UNSUPPORTED
Definition: tarmac_base.hh:75
ArmISA::CCREG_V
@ CCREG_V
Definition: ccregs.hh:47
ArmISA::MISCREG_DBGBXVR5
@ MISCREG_DBGBXVR5
Definition: miscregs.hh:172
AddrRange::contains
bool contains(const Addr &a) const
Determine if the range contains an address.
Definition: addr_range.hh:435
ArmISA::MISCREG_MDCR_EL3
@ MISCREG_MDCR_EL3
Definition: miscregs.hh:588
ArmISA::MISCREG_TPIDR_EL1
@ MISCREG_TPIDR_EL1
Definition: miscregs.hh:739
ArmISA::MISCREG_DBGVCR32_EL2
@ MISCREG_DBGVCR32_EL2
Definition: miscregs.hh:520
ArmISA::MISCREG_TLBI_ASIDE1IS_Xt
@ MISCREG_TLBI_ASIDE1IS_Xt
Definition: miscregs.hh:672
ArmISA::MISCREG_DBGDSCRext
@ MISCREG_DBGDSCRext
Definition: miscregs.hh:99
ArmISA::MISCREG_DBGWVR7_EL1
@ MISCREG_DBGWVR7_EL1
Definition: miscregs.hh:491
ArmISA::lo
Bitfield< 19, 16 > lo
Definition: miscregs_types.hh:137
RequestPtr
std::shared_ptr< Request > RequestPtr
Definition: request.hh:82
ArmISA::MISCREG_DBGAUTHSTATUS
@ MISCREG_DBGAUTHSTATUS
Definition: miscregs.hh:190
ArmISA::MISCREG_DBGCLAIMSET_EL1
@ MISCREG_DBGCLAIMSET_EL1
Definition: miscregs.hh:526
Trace::TarmacParserRecord::destRegRecords
static std::list< ParserRegEntry > destRegRecords
List of records of destination registers.
Definition: tarmac_parser.hh:176
ArmISA::MISCREG_TLBI_IPAS2LE1IS_Xt
@ MISCREG_TLBI_IPAS2LE1IS_Xt
Definition: miscregs.hh:683
Trace::TarmacBaseRecord::REG_P
@ REG_P
Definition: tarmac_base.hh:78
ArmISA::MISCREG_AT_S1E0W_Xt
@ MISCREG_AT_S1E0W_Xt
Definition: miscregs.hh:654
ArmISA::MISCREG_HACR
@ MISCREG_HACR
Definition: miscregs.hh:247
tlb.hh
ArmISA::MISCREG_CLIDR_EL1
@ MISCREG_CLIDR_EL1
Definition: miscregs.hh:564
std::vector< uint64_t >
ArmISA::MISCREG_IL1DATA2
@ MISCREG_IL1DATA2
Definition: miscregs.hh:431
ArmISA::MISCREG_DBGWVR3_EL1
@ MISCREG_DBGWVR3_EL1
Definition: miscregs.hh:487
ArmISA::MISCREG_DCCIMVAC
@ MISCREG_DCCIMVAC
Definition: miscregs.hh:311
ArmISA::MISCREG_DBGWCR12_EL1
@ MISCREG_DBGWCR12_EL1
Definition: miscregs.hh:512
ArmISA::MISCREG_DCCSW
@ MISCREG_DCCSW
Definition: miscregs.hh:307
ArmISA::MISCREG_DBGBXVR8
@ MISCREG_DBGBXVR8
Definition: miscregs.hh:175
ArmISA::MISCREG_ELR_EL2
@ MISCREG_ELR_EL2
Definition: miscregs.hh:618
ArmISA::MISCREG_DBGBXVR7
@ MISCREG_DBGBXVR7
Definition: miscregs.hh:174
ArmISA::MISCREG_DBGBCR8
@ MISCREG_DBGBCR8
Definition: miscregs.hh:126
Trace::TarmacParserRecord::dump
void dump() override
Definition: tarmac_parser.cc:973
ArmISA::MISCREG_ISR_EL1
@ MISCREG_ISR_EL1
Definition: miscregs.hh:731
ArmISA::MISCREG_OSECCR_EL1
@ MISCREG_OSECCR_EL1
Definition: miscregs.hh:451
ArmISA::MISCREG_TLBIMVAA
@ MISCREG_TLBIMVAA
Definition: miscregs.hh:330
ArmISA::MISCREG_ID_ISAR3
@ MISCREG_ID_ISAR3
Definition: miscregs.hh:218
ArmISA::MISCREG_ISR
@ MISCREG_ISR
Definition: miscregs.hh:390
ArmISA::MISCREG_ESR_EL1
@ MISCREG_ESR_EL1
Definition: miscregs.hh:631
ArmISA::MISCREG_TCR_EL2
@ MISCREG_TCR_EL2
Definition: miscregs.hh:596
ArmISA::MISCREG_ID_ISAR3_EL1
@ MISCREG_ID_ISAR3_EL1
Definition: miscregs.hh:547
ArmISA::MISCREG_ID_MMFR1
@ MISCREG_ID_MMFR1
Definition: miscregs.hh:212
ArmISA::MISCREG_MDCCINT_EL1
@ MISCREG_MDCCINT_EL1
Definition: miscregs.hh:447
ArmISA::MISCREG_OSDTRTX_EL1
@ MISCREG_OSDTRTX_EL1
Definition: miscregs.hh:450
Trace::TarmacBaseRecord::TARMAC_MEM
@ TARMAC_MEM
Definition: tarmac_base.hh:69
Trace::TarmacBaseRecord::RegEntry::values
std::vector< uint64_t > values
Definition: tarmac_base.hh:113
ArmISA::MISCREG_HMAIR0
@ MISCREG_HMAIR0
Definition: miscregs.hh:381
ArmISA::MISCREG_CCSIDR
@ MISCREG_CCSIDR
Definition: miscregs.hh:221
Trace::TarmacParserRecord::mismatchOnPcOrOpcode
bool mismatchOnPcOrOpcode
True if a mismatch has been detected for this instruction on PC or opcode.
Definition: tarmac_parser.hh:195
ArmISA::MISCREG_DBGWVR10
@ MISCREG_DBGWVR10
Definition: miscregs.hh:144
Trace::TarmacBaseRecord::REG_R
@ REG_R
Definition: tarmac_base.hh:78
ArmISA::MISCREG_ELR_EL1
@ MISCREG_ELR_EL1
Definition: miscregs.hh:606
ArmISA::MISCREG_DBGBVR2
@ MISCREG_DBGBVR2
Definition: miscregs.hh:104
ArmISA::MISCREG_CNTV_CTL_EL0
@ MISCREG_CNTV_CTL_EL0
Definition: miscregs.hh:751
ArmISA::MISCREG_SDER32_EL3
@ MISCREG_SDER32_EL3
Definition: miscregs.hh:586
Trace::TarmacParserRecord::readMemNoEffect
bool readMemNoEffect(Addr addr, uint8_t *data, unsigned size, unsigned flags)
Performs a memory access to read the value written by a previous write.
Definition: tarmac_parser.cc:1283
ArmISA::MISCREG_CBAR
@ MISCREG_CBAR
Definition: miscregs.hh:440
ArmISA::MISCREG_ICIMVAU
@ MISCREG_ICIMVAU
Definition: miscregs.hh:292
ArmISA::MISCREG_DBGWCR13_EL1
@ MISCREG_DBGWCR13_EL1
Definition: miscregs.hh:513
ArmISA::MISCREG_AT_S1E1W_Xt
@ MISCREG_AT_S1E1W_Xt
Definition: miscregs.hh:652
faults.hh
ArmISA::MISCREG_HIFAR
@ MISCREG_HIFAR
Definition: miscregs.hh:284
ArmISA::MISCREG_HTTBR
@ MISCREG_HTTBR
Definition: miscregs.hh:441
sim_exit.hh
ArmISA
Definition: ccregs.hh:41
ArmISA::MISCREG_DBGBCR11
@ MISCREG_DBGBCR11
Definition: miscregs.hh:129
ArmISA::MISCREG_TLBI_VALE2IS_Xt
@ MISCREG_TLBI_VALE2IS_Xt
Definition: miscregs.hh:687
ArmISA::MISCREG_TCR_EL3
@ MISCREG_TCR_EL3
Definition: miscregs.hh:602
ArmISA::MISCREG_AT_S12E0W_Xt
@ MISCREG_AT_S12E0W_Xt
Definition: miscregs.hh:667
ArmISA::MISCREG_MPIDR
@ MISCREG_MPIDR
Definition: miscregs.hh:205
ArmISA::MISCREG_TPIDR_EL2
@ MISCREG_TPIDR_EL2
Definition: miscregs.hh:742
ArmISA::MISCREG_CSSELR_EL1
@ MISCREG_CSSELR_EL1
Definition: miscregs.hh:566
ArmISA::MISCREG_TLBIMVAALIS
@ MISCREG_TLBIMVAALIS
Definition: miscregs.hh:320
ArmISA::MISCREG_DBGBCR12
@ MISCREG_DBGBCR12
Definition: miscregs.hh:130
ArmISA::MISCREG_ID_ISAR4_EL1
@ MISCREG_ID_ISAR4_EL1
Definition: miscregs.hh:548
ArmISA::MISCREG_ATS1CUR
@ MISCREG_ATS1CUR
Definition: miscregs.hh:300
ArmISA::MISCREG_DBGWCR14
@ MISCREG_DBGWCR14
Definition: miscregs.hh:164
ArmISA::MISCREG_TLBIIPAS2LIS
@ MISCREG_TLBIIPAS2LIS
Definition: miscregs.hh:334
ArmISA::MISCREG_CNTP_TVAL_S
@ MISCREG_CNTP_TVAL_S
Definition: miscregs.hh:418
ArmISA::MISCREG_VMPIDR
@ MISCREG_VMPIDR
Definition: miscregs.hh:228
ArmISA::MISCREG_CNTVCT
@ MISCREG_CNTVCT
Definition: miscregs.hh:409
ArmISA::MISCREG_CNTFRQ
@ MISCREG_CNTFRQ
Definition: miscregs.hh:407
ArmISA::MISCREG_DBGBCR14_EL1
@ MISCREG_DBGBCR14_EL1
Definition: miscregs.hh:482
ArmISA::MISCREG_CNTP_CTL_NS
@ MISCREG_CNTP_CTL_NS
Definition: miscregs.hh:411
ArmISA::MISCREG_ID_AA64MMFR0_EL1
@ MISCREG_ID_AA64MMFR0_EL1
Definition: miscregs.hh:561
ArmISA::MISCREG_AFSR1_EL2
@ MISCREG_AFSR1_EL2
Definition: miscregs.hh:635
ArmISA::MISCREG_DBGWCR5_EL1
@ MISCREG_DBGWCR5_EL1
Definition: miscregs.hh:505
ArmISA::MISCREG_CNTKCTL_EL1
@ MISCREG_CNTKCTL_EL1
Definition: miscregs.hh:760
ArmISA::MISCREG_TLBIALL
@ MISCREG_TLBIALL
Definition: miscregs.hh:327
ArmISA::MISCREG_DBGBXVR10
@ MISCREG_DBGBXVR10
Definition: miscregs.hh:177
ArmISA::MISCREG_DSPSR_EL0
@ MISCREG_DSPSR_EL0
Definition: miscregs.hh:615
ArmISA::MISCREG_ID_AA64AFR0_EL1
@ MISCREG_ID_AA64AFR0_EL1
Definition: miscregs.hh:557
RegId
Register ID: describe an architectural register with its class and index.
Definition: reg_class.hh:75
ArmISA::MISCREG_DBGWVR1_EL1
@ MISCREG_DBGWVR1_EL1
Definition: miscregs.hh:485
ArmISA::MISCREG_DBGWVR14_EL1
@ MISCREG_DBGWVR14_EL1
Definition: miscregs.hh:498
ArmISA::MISCREG_DC_CVAC_Xt
@ MISCREG_DC_CVAC_Xt
Definition: miscregs.hh:659
ArmISA::MISCREG_MAIR0_NS
@ MISCREG_MAIR0_NS
Definition: miscregs.hh:367
ArmISA::MISCREG_DBGBCR13
@ MISCREG_DBGBCR13
Definition: miscregs.hh:131
ArmISA::MISCREG_NSACR
@ MISCREG_NSACR
Definition: miscregs.hh:239
ArmISA::MISCREG_DBGWVR15_EL1
@ MISCREG_DBGWVR15_EL1
Definition: miscregs.hh:499
ArmISA::MISCREG_DBGWVR11
@ MISCREG_DBGWVR11
Definition: miscregs.hh:145
ArmISA::MISCREG_ID_MMFR0_EL1
@ MISCREG_ID_MMFR0_EL1
Definition: miscregs.hh:540
packet.hh
ArmISA::MISCREG_TLBIALLNSNHIS
@ MISCREG_TLBIALLNSNHIS
Definition: miscregs.hh:337
ArmISA::MISCREG_DBGWVR13
@ MISCREG_DBGWVR13
Definition: miscregs.hh:147
ArmISA::ArmStaticInst
Definition: static_inst.hh:60
ArmISA::MISCREG_CNTV_CVAL
@ MISCREG_CNTV_CVAL
Definition: miscregs.hh:420
ArmISA::MISCREG_ID_AA64DFR1_EL1
@ MISCREG_ID_AA64DFR1_EL1
Definition: miscregs.hh:556
ArmISA::MISCREG_CSSELR_NS
@ MISCREG_CSSELR_NS
Definition: miscregs.hh:225
ArmISA::MISCREG_CNTP_CVAL_EL0
@ MISCREG_CNTP_CVAL_EL0
Definition: miscregs.hh:749
ArmISA::MISCREG_DC_IVAC_Xt
@ MISCREG_DC_IVAC_Xt
Definition: miscregs.hh:649
Trace::InstRecord::pc
TheISA::PCState pc
Definition: insttracer.hh:66
ArmISA::CCREG_GE
@ CCREG_GE
Definition: ccregs.hh:48
ArmISA::MISCREG_DBGBVR15
@ MISCREG_DBGBVR15
Definition: miscregs.hh:117
ArmISA::MISCREG_VBAR_EL2
@ MISCREG_VBAR_EL2
Definition: miscregs.hh:732
Trace::TarmacParser::macroopInProgress
bool macroopInProgress
True if a macroop is currently in progress.
Definition: tarmac_parser.hh:295
ArmISA::MISCREG_ID_ISAR5_EL1
@ MISCREG_ID_ISAR5_EL1
Definition: miscregs.hh:549
ArmISA::MISCREG_AT_S12E1R_Xt
@ MISCREG_AT_S12E1R_Xt
Definition: miscregs.hh:664
Trace::TarmacBaseRecord::ISET_A64
@ ISET_A64
Definition: tarmac_base.hh:74
ArmISA::MISCREG_PMCCNTR_EL0
@ MISCREG_PMCCNTR_EL0
Definition: miscregs.hh:712
ArmISA::MISCREG_PMINTENSET
@ MISCREG_PMINTENSET
Definition: miscregs.hh:358
ArmISA::MISCREG_PMEVCNTR4_EL0
@ MISCREG_PMEVCNTR4_EL0
Definition: miscregs.hh:786
ArmISA::MISCREG_PRRR_NS
@ MISCREG_PRRR_NS
Definition: miscregs.hh:364
Trace::TarmacParser::exitOnInsnDiff
bool exitOnInsnDiff
If true, the simulation is stopped as the first mismatch is detected on PC or opcode.
Definition: tarmac_parser.hh:280
ArmISA::MISCREG_AFSR0_EL2
@ MISCREG_AFSR0_EL2
Definition: miscregs.hh:634
ArmISA::MISCREG_MDDTR_EL0
@ MISCREG_MDDTR_EL0
Definition: miscregs.hh:517
ArmISA::MISCREG_DBGBCR1_EL1
@ MISCREG_DBGBCR1_EL1
Definition: miscregs.hh:469
Trace::TarmacBaseRecord::TARMAC_INST
@ TARMAC_INST
Definition: tarmac_base.hh:67
Trace::TarmacParserRecord::memRecord
static ParserMemEntry memRecord
Buffer for memory access trace records (stores only).
Definition: tarmac_parser.hh:167
ArmISA::MISCREG_DBGDRAR
@ MISCREG_DBGDRAR
Definition: miscregs.hh:166
ArmISA::CCREG_C
@ CCREG_C
Definition: ccregs.hh:46
ArmISA::MISCREG_TLBIMVALH
@ MISCREG_TLBIMVALH
Definition: miscregs.hh:344
ArmISA::MISCREG_DBGBCR0_EL1
@ MISCREG_DBGBCR0_EL1
Definition: miscregs.hh:468
ArmISA::MISCREG_AMAIR_EL1
@ MISCREG_AMAIR_EL1
Definition: miscregs.hh:720
ArmISA::MISCREG_DBGBCR15
@ MISCREG_DBGBCR15
Definition: miscregs.hh:133
mainEventQueue
vector< EventQueue * > mainEventQueue
Array for main event queues.
Definition: eventq.cc:56
ArmISA::MISCREG_DFAR_S
@ MISCREG_DFAR_S
Definition: miscregs.hh:279
ArmISA::MISCREG_PMSELR
@ MISCREG_PMSELR
Definition: miscregs.hh:350
ArmISA::MISCREG_RAMINDEX
@ MISCREG_RAMINDEX
Definition: miscregs.hh:438
ArmISA::MISCREG_DBGWVR4_EL1
@ MISCREG_DBGWVR4_EL1
Definition: miscregs.hh:488
ArmISA::MISCREG_DBGWCR5
@ MISCREG_DBGWCR5
Definition: miscregs.hh:155
ArmISA::MISCREG_OSLSR_EL1
@ MISCREG_OSLSR_EL1
Definition: miscregs.hh:523
ArmISA::MISCREG_ID_MMFR3
@ MISCREG_ID_MMFR3
Definition: miscregs.hh:214
ArmISA::MISCREG_DC_ZVA_Xt
@ MISCREG_DC_ZVA_Xt
Definition: miscregs.hh:657
ArmISA::MISCREG_DBGBXVR1
@ MISCREG_DBGBXVR1
Definition: miscregs.hh:168
ArmISA::MISCREG_TLBI_VAE3IS_Xt
@ MISCREG_TLBI_VAE3IS_Xt
Definition: miscregs.hh:697
ArmISA::MISCREG_DBGBVR6_EL1
@ MISCREG_DBGBVR6_EL1
Definition: miscregs.hh:458
ArmISA::MISCREG_DBGBVR4
@ MISCREG_DBGBVR4
Definition: miscregs.hh:106
ArmISA::MISCREG_DBGDTRRXext
@ MISCREG_DBGDTRRXext
Definition: miscregs.hh:98
ArmISA::VecElem
uint32_t VecElem
Definition: registers.hh:68
ArmISA::INTREG_USR
static IntRegIndex INTREG_USR(unsigned index)
Definition: intregs.hh:327
ArmISA::MISCREG_ID_MMFR1_EL1
@ MISCREG_ID_MMFR1_EL1
Definition: miscregs.hh:541
ArmISA::MISCREG_ID_PFR0
@ MISCREG_ID_PFR0
Definition: miscregs.hh:207
ArmISA::MISCREG_MVBAR
@ MISCREG_MVBAR
Definition: miscregs.hh:388
ArmISA::MISCREG_IL1DATA2_EL1
@ MISCREG_IL1DATA2_EL1
Definition: miscregs.hh:796
ArmISA::MISCREG_ID_ISAR2_EL1
@ MISCREG_ID_ISAR2_EL1
Definition: miscregs.hh:546
ArmISA::MISCREG_CTR
@ MISCREG_CTR
Definition: miscregs.hh:202
ArmISA::MISCREG_DBGBXVR0
@ MISCREG_DBGBXVR0
Definition: miscregs.hh:167
ArmISA::MISCREG_CNTKCTL
@ MISCREG_CNTKCTL
Definition: miscregs.hh:422
ArmISA::MISCREG_ID_AA64PFR0_EL1
@ MISCREG_ID_AA64PFR0_EL1
Definition: miscregs.hh:553
ArmISA::MISCREG_IFAR_S
@ MISCREG_IFAR_S
Definition: miscregs.hh:282
ArmISA::MISCREG_DBGDTRRXint
@ MISCREG_DBGDTRRXint
Definition: miscregs.hh:95
ArmISA::MISCREG_DTLBIMVA
@ MISCREG_DTLBIMVA
Definition: miscregs.hh:325
ArmISA::TLB::AllowUnaligned
@ AllowUnaligned
Definition: tlb.hh:113
ArmISA::MISCREG_IL1DATA0
@ MISCREG_IL1DATA0
Definition: miscregs.hh:429
ThreadContext
ThreadContext is the external interface to all thread state for anything outside of the CPU.
Definition: thread_context.hh:88
ArmISA::MISCREG_DC_ISW_Xt
@ MISCREG_DC_ISW_Xt
Definition: miscregs.hh:650
ArmISA::MISCREG_CPUACTLR_EL1
@ MISCREG_CPUACTLR_EL1
Definition: miscregs.hh:804
ArmISA::MISCREG_DL1DATA1_EL1
@ MISCREG_DL1DATA1_EL1
Definition: miscregs.hh:799
ArmISA::MISCREG_IFAR_NS
@ MISCREG_IFAR_NS
Definition: miscregs.hh:281
ArmISA::MISCREG_ESR_EL3
@ MISCREG_ESR_EL3
Definition: miscregs.hh:640
ArmISA::MISCREG_ESR_EL2
@ MISCREG_ESR_EL2
Definition: miscregs.hh:636
ArmISA::MISCREG_DBGWCR3_EL1
@ MISCREG_DBGWCR3_EL1
Definition: miscregs.hh:503
ArmISA::MISCREG_DBGBXVR6
@ MISCREG_DBGBXVR6
Definition: miscregs.hh:173
ArmISA::MISCREG_DBGOSECCR
@ MISCREG_DBGOSECCR
Definition: miscregs.hh:101
ArmISA::MISCREG_TLBIIPAS2
@ MISCREG_TLBIIPAS2
Definition: miscregs.hh:339
ArmISA::MISCREG_AMAIR_EL2
@ MISCREG_AMAIR_EL2
Definition: miscregs.hh:723
ArmISA::MISCREG_TPIDRRO_EL0
@ MISCREG_TPIDRRO_EL0
Definition: miscregs.hh:741
ArmISA::MISCREG_DBGWCR6
@ MISCREG_DBGWCR6
Definition: miscregs.hh:156
ArmISA::MISCREG_CONTEXTIDR_S
@ MISCREG_CONTEXTIDR_S
Definition: miscregs.hh:395
ArmISA::MISCREG_MDSCR_EL1
@ MISCREG_MDSCR_EL1
Definition: miscregs.hh:449
ArmISA::MISCREG_HCR
@ MISCREG_HCR
Definition: miscregs.hh:242
ArmISA::MISCREG_ID_ISAR0_EL1
@ MISCREG_ID_ISAR0_EL1
Definition: miscregs.hh:544
ArmISA::MISCREG_ID_AFR0_EL1
@ MISCREG_ID_AFR0_EL1
Definition: miscregs.hh:539
ArmISA::MISCREG_CONTEXTIDR_EL2
@ MISCREG_CONTEXTIDR_EL2
Definition: miscregs.hh:809
Trace::TarmacBaseRecord::REG_S
@ REG_S
Definition: tarmac_base.hh:78
ArmISA::MISCREG_AFSR0_EL1
@ MISCREG_AFSR0_EL1
Definition: miscregs.hh:627
ArmISA::MISCREG_DFSR_NS
@ MISCREG_DFSR_NS
Definition: miscregs.hh:263
ArmISA::MISCREG_ATS1CUW
@ MISCREG_ATS1CUW
Definition: miscregs.hh:301
ArmISA::MISCREG_TLBI_VAE1IS_Xt
@ MISCREG_TLBI_VAE1IS_Xt
Definition: miscregs.hh:671
ArmISA::MISCREG_DBGWVR9_EL1
@ MISCREG_DBGWVR9_EL1
Definition: miscregs.hh:493
ArmISA::MISCREG_DACR_S
@ MISCREG_DACR_S
Definition: miscregs.hh:261
ArmISA::MISCREG_MAIR0_S
@ MISCREG_MAIR0_S
Definition: miscregs.hh:368
ArmISA::MISCREG_PMOVSSET
@ MISCREG_PMOVSSET
Definition: miscregs.hh:360
ArmISA::MISCREG_PMEVCNTR3_EL0
@ MISCREG_PMEVCNTR3_EL0
Definition: miscregs.hh:785
Trace::TarmacBaseRecord::pcToISetState
static ISetState pcToISetState(ArmISA::PCState pc)
Returns the Instruction Set State according to the current PCState.
Definition: tarmac_base.cc:100
ArmISA::MISCREG_L2ACTLR_EL1
@ MISCREG_L2ACTLR_EL1
Definition: miscregs.hh:803
ArmISA::MISCREG_TLBTR
@ MISCREG_TLBTR
Definition: miscregs.hh:204
Fault
std::shared_ptr< FaultBase > Fault
Definition: types.hh:240
ArmISA::MISCREG_DBGWCR12
@ MISCREG_DBGWCR12
Definition: miscregs.hh:162
MipsISA::pc
Bitfield< 4 > pc
Definition: pra_constants.hh:240
ArmISA::MISCREG_HSTR_EL2
@ MISCREG_HSTR_EL2
Definition: miscregs.hh:581
ArmISA::MISCREG_AT_S12E0R_Xt
@ MISCREG_AT_S12E0R_Xt
Definition: miscregs.hh:666
ArmISA::MISCREG_ID_DFR0_EL1
@ MISCREG_ID_DFR0_EL1
Definition: miscregs.hh:538
ArmISA::MISCREG_PMCNTENCLR_EL0
@ MISCREG_PMCNTENCLR_EL0
Definition: miscregs.hh:706
MipsISA::event
Bitfield< 10, 5 > event
Definition: pra_constants.hh:297
ArmISA::MISCREG_CNTHP_CTL
@ MISCREG_CNTHP_CTL
Definition: miscregs.hh:424
ArmISA::MISCREG_ID_AA64MMFR1_EL1
@ MISCREG_ID_AA64MMFR1_EL1
Definition: miscregs.hh:562
ArmISA::MISCREG_MDRAR_EL1
@ MISCREG_MDRAR_EL1
Definition: miscregs.hh:521
ArmISA::MISCREG_AFSR1_EL3
@ MISCREG_AFSR1_EL3
Definition: miscregs.hh:639
ArmISA::MISCREG_VBAR_EL1
@ MISCREG_VBAR_EL1
Definition: miscregs.hh:728
Trace::TarmacParserRecord::iSetStateToStr
const char * iSetStateToStr(ISetState isetstate) const
Returns the string representation of an instruction set state.
Definition: tarmac_parser.cc:1351
ArmISA::MISCREG_PRRR_S
@ MISCREG_PRRR_S
Definition: miscregs.hh:365
ArmISA::MISCREG_AT_S1E2W_Xt
@ MISCREG_AT_S1E2W_Xt
Definition: miscregs.hh:663
ArmISA::MISCREG_DBGBVR14_EL1
@ MISCREG_DBGBVR14_EL1
Definition: miscregs.hh:466
ArmISA::MISCREG_AT_S1E0R_Xt
@ MISCREG_AT_S1E0R_Xt
Definition: miscregs.hh:653
ArmISA::MISCREG_PMCR_EL0
@ MISCREG_PMCR_EL0
Definition: miscregs.hh:704
ArmISA::MISCREG_DBGWVR2_EL1
@ MISCREG_DBGWVR2_EL1
Definition: miscregs.hh:486
ArmISA::MISCREG_DBGDTRTXext
@ MISCREG_DBGDTRTXext
Definition: miscregs.hh:100
ArmISA::MISCREG_DL1DATA2_EL1
@ MISCREG_DL1DATA2_EL1
Definition: miscregs.hh:800
ArmISA::MISCREG_AMAIR_EL3
@ MISCREG_AMAIR_EL3
Definition: miscregs.hh:725
ArmISA::MISCREG_SP_EL0
@ MISCREG_SP_EL0
Definition: miscregs.hh:608
ArmISA::MISCREG_DBGWVR11_EL1
@ MISCREG_DBGWVR11_EL1
Definition: miscregs.hh:495
ArmISA::MISCREG_DBGWVR0_EL1
@ MISCREG_DBGWVR0_EL1
Definition: miscregs.hh:484
ArmISA::MISCREG_DFSR_S
@ MISCREG_DFSR_S
Definition: miscregs.hh:264
port_proxy.hh
ArmISA::MISCREG_ID_ISAR1
@ MISCREG_ID_ISAR1
Definition: miscregs.hh:216
ArmISA::MISCREG_IL1DATA3_EL1
@ MISCREG_IL1DATA3_EL1
Definition: miscregs.hh:797
ArmISA::MISCREG_TCR_EL1
@ MISCREG_TCR_EL1
Definition: miscregs.hh:593
ArmISA::MISCREG_DBGBVR7
@ MISCREG_DBGBVR7
Definition: miscregs.hh:109
ArmISA::MISCREG_FCSEIDR
@ MISCREG_FCSEIDR
Definition: miscregs.hh:392
Trace::TarmacBaseRecord::ISET_THUMB
@ ISET_THUMB
Definition: tarmac_base.hh:74
ArmISA::MISCREG_TEECR32_EL1
@ MISCREG_TEECR32_EL1
Definition: miscregs.hh:529
ArmISA::MISCREG_DBGWVR6
@ MISCREG_DBGWVR6
Definition: miscregs.hh:140
ArmISA::MISCREG_ID_ISAR4
@ MISCREG_ID_ISAR4
Definition: miscregs.hh:219
ArmISA::MISCREG_DBGCLAIMCLR
@ MISCREG_DBGCLAIMCLR
Definition: miscregs.hh:189
ArmISA::MISCREG_RVBAR_EL1
@ MISCREG_RVBAR_EL1
Definition: miscregs.hh:730
ArmISA::MISCREG_L2CTLR
@ MISCREG_L2CTLR
Definition: miscregs.hh:361
Trace::TarmacParserRecord::memReq
RequestPtr memReq
Request for memory write checks.
Definition: tarmac_parser.hh:198
ArmISA::MISCREG_TLBIALLHIS
@ MISCREG_TLBIALLHIS
Definition: miscregs.hh:335
ArmISA::MISCREG_IFSR_S
@ MISCREG_IFSR_S
Definition: miscregs.hh:267
Trace::TarmacParser
Tarmac Parser: this tracer parses an existing Tarmac trace and it diffs it with gem5 simulation statu...
Definition: tarmac_parser.hh:212
ArmISA::MISCREG_OSDLR_EL1
@ MISCREG_OSDLR_EL1
Definition: miscregs.hh:524
ArmISA::MISCREG_PMCNTENSET
@ MISCREG_PMCNTENSET
Definition: miscregs.hh:346
ArmISA::MISCREG_PMOVSR
@ MISCREG_PMOVSR
Definition: miscregs.hh:348
ArmISA::MISCREG_ID_AA64DFR0_EL1
@ MISCREG_ID_AA64DFR0_EL1
Definition: miscregs.hh:555
ArmISA::MISCREG_ACTLR_S
@ MISCREG_ACTLR_S
Definition: miscregs.hh:234
ArmISA::MISCREG_DBGWCR2
@ MISCREG_DBGWCR2
Definition: miscregs.hh:152
ArmISA::MISCREG_DBGWVR8_EL1
@ MISCREG_DBGWVR8_EL1
Definition: miscregs.hh:492
ArmISA::MISCREG_ACTLR_EL2
@ MISCREG_ACTLR_EL2
Definition: miscregs.hh:577
ArmISA::MISCREG_DBGBCR9_EL1
@ MISCREG_DBGBCR9_EL1
Definition: miscregs.hh:477
ArmISA::MISCREG_HSR
@ MISCREG_HSR
Definition: miscregs.hh:276
ArmISA::MISCREG_TLBI_VMALLS12E1IS
@ MISCREG_TLBI_VMALLS12E1IS
Definition: miscregs.hh:688
exitSimLoop
void exitSimLoop(const std::string &message, int exit_code, Tick when, Tick repeat, bool serialize)
Schedule an event to exit the simulation loop (returning to Python) at the end of the current cycle (...
Definition: sim_events.cc:88
ArmISA::MISCREG_AMAIR0_NS
@ MISCREG_AMAIR0_NS
Definition: miscregs.hh:376
Trace::TarmacParserRecord::miscRegMap
static MiscRegMap miscRegMap
Definition: tarmac_parser.hh:180
ArmISA::MISCREG_AIFSR_S
@ MISCREG_AIFSR_S
Definition: miscregs.hh:273
ArmISA::MISCREG_AMAIR1_NS
@ MISCREG_AMAIR1_NS
Definition: miscregs.hh:379
Trace::TarmacBaseRecord::TARMAC_UNSUPPORTED
@ TARMAC_UNSUPPORTED
Definition: tarmac_base.hh:70
tarmac_parser.hh
ArmISA::MISCREG_SCTLR_S
@ MISCREG_SCTLR_S
Definition: miscregs.hh:231
ArmISA::MISCREG_DBGBVR3_EL1
@ MISCREG_DBGBVR3_EL1
Definition: miscregs.hh:455
ArmISA::MISCREG_DBGBCR2
@ MISCREG_DBGBCR2
Definition: miscregs.hh:120
ArmISA::MISCREG_AMAIR0_S
@ MISCREG_AMAIR0_S
Definition: miscregs.hh:377
ArmISA::MISCREG_FAR_EL1
@ MISCREG_FAR_EL1
Definition: miscregs.hh:641
ArmISA::MISCREG_TLBIMVAAL
@ MISCREG_TLBIMVAAL
Definition: miscregs.hh:332
ArmISA::MISCREG_TLBI_VAAE1_Xt
@ MISCREG_TLBI_VAAE1_Xt
Definition: miscregs.hh:679
ArmISA::MISCREG_DBGBXVR2
@ MISCREG_DBGBXVR2
Definition: miscregs.hh:169
ArmISA::MISCREG_TTBR0_NS
@ MISCREG_TTBR0_NS
Definition: miscregs.hh:249
ArmISA::MISCREG_DBGBVR10_EL1
@ MISCREG_DBGBVR10_EL1
Definition: miscregs.hh:462
ArmISA::MISCREG_CNTPS_CTL_EL1
@ MISCREG_CNTPS_CTL_EL1
Definition: miscregs.hh:762
ArmISA::MISCREG_FPEXC32_EL2
@ MISCREG_FPEXC32_EL2
Definition: miscregs.hh:637
ArmISA::MISCREG_TTBR0_EL2
@ MISCREG_TTBR0_EL2
Definition: miscregs.hh:595
ArmISA::INTREG_SP0
@ INTREG_SP0
Definition: intregs.hh:118
ArmISA::MISCREG_TLBI_VMALLE1IS
@ MISCREG_TLBI_VMALLE1IS
Definition: miscregs.hh:670
ArmISA::MISCREG_TLBIMVAH
@ MISCREG_TLBIMVAH
Definition: miscregs.hh:342
Trace::InstRecord::flags
unsigned flags
The flags that were assigned to the request.
Definition: insttracer.hh:82
static_inst.hh
ArmISA::MISCREG_CNTVOFF_EL2
@ MISCREG_CNTVOFF_EL2
Definition: miscregs.hh:780
ArmISA::MISCREG_ATS12NSOUW
@ MISCREG_ATS12NSOUW
Definition: miscregs.hh:305
ArmISA::MISCREG_DBGBXVR14
@ MISCREG_DBGBXVR14
Definition: miscregs.hh:181
Trace::TarmacParser::trace
std::ifstream trace
TARMAC trace file.
Definition: tarmac_parser.hh:263
ArmISA::MISCREG_SCTLR_NS
@ MISCREG_SCTLR_NS
Definition: miscregs.hh:230
ArmISA::MISCREG_ACTLR_EL3
@ MISCREG_ACTLR_EL3
Definition: miscregs.hh:584
ArmISA::MISCREG_IL1DATA3
@ MISCREG_IL1DATA3
Definition: miscregs.hh:432
ArmISA::MISCREG_TPIDRPRW_S
@ MISCREG_TPIDRPRW_S
Definition: miscregs.hh:404
Trace::TarmacBaseRecord::ISetState
ISetState
ARM instruction set state.
Definition: tarmac_base.hh:74
ArmISA::MISCREG_TLBI_VAE2_Xt
@ MISCREG_TLBI_VAE2_Xt
Definition: miscregs.hh:692
ArmISA::MISCREG_IFSR32_EL2
@ MISCREG_IFSR32_EL2
Definition: miscregs.hh:633
ArmISA::MISCREG_DBGWCR6_EL1
@ MISCREG_DBGWCR6_EL1
Definition: miscregs.hh:506
ArmISA::MISCREG_ATS12NSOUR
@ MISCREG_ATS12NSOUR
Definition: miscregs.hh:304
ArmISA::MISCREG_DBGBCR11_EL1
@ MISCREG_DBGBCR11_EL1
Definition: miscregs.hh:479
ArmISA::MISCREG_DBGBVR11
@ MISCREG_DBGBVR11
Definition: miscregs.hh:113
ArmISA::MISCREG_PMEVCNTR5_EL0
@ MISCREG_PMEVCNTR5_EL0
Definition: miscregs.hh:787
ArmISA::MISCREG_DBGOSDLR
@ MISCREG_DBGOSDLR
Definition: miscregs.hh:185
ArmISA::MISCREG_NMRR_S
@ MISCREG_NMRR_S
Definition: miscregs.hh:371
Trace::TarmacParserRecord::maxVectorLength
static int8_t maxVectorLength
Max.
Definition: tarmac_parser.hh:201
ArmISA::MISCREG_TPIDRPRW_NS
@ MISCREG_TPIDRPRW_NS
Definition: miscregs.hh:403
ArmISA::MISCREG_CP15ISB
@ MISCREG_CP15ISB
Definition: miscregs.hh:293
ArmISA::MISCREG_DFAR_NS
@ MISCREG_DFAR_NS
Definition: miscregs.hh:278
ArmISA::MISCREG_DBGWCR9
@ MISCREG_DBGWCR9
Definition: miscregs.hh:159
VecPredRegClass
@ VecPredRegClass
Definition: reg_class.hh:59
ArmISA::MISCREG_TTBR0_EL3
@ MISCREG_TTBR0_EL3
Definition: miscregs.hh:601
ArmISA::MISCREG_DBGWVR1
@ MISCREG_DBGWVR1
Definition: miscregs.hh:135
ArmISA::MISCREG_DBGWCR10_EL1
@ MISCREG_DBGWCR10_EL1
Definition: miscregs.hh:510
ArmISA::MISCREG_ITLBIALL
@ MISCREG_ITLBIALL
Definition: miscregs.hh:321
ArmISA::MISCREG_TLBIASIDIS
@ MISCREG_TLBIASIDIS
Definition: miscregs.hh:317
ArmISA::MISCREG_HCR2
@ MISCREG_HCR2
Definition: miscregs.hh:243
ArmISA::MISCREG_DBGWCR10
@ MISCREG_DBGWCR10
Definition: miscregs.hh:160
ArmISA::MISCREG_HCR_EL2
@ MISCREG_HCR_EL2
Definition: miscregs.hh:578
ArmISA::MISCREG_PMCCFILTR_EL0
@ MISCREG_PMCCFILTR_EL0
Definition: miscregs.hh:714
Trace::TarmacBaseRecord::REG_D
@ REG_D
Definition: tarmac_base.hh:78
ArmISA::MISCREG_PMEVTYPER0_EL0
@ MISCREG_PMEVTYPER0_EL0
Definition: miscregs.hh:788
ArmISA::MISCREG_TLBI_ALLE3IS
@ MISCREG_TLBI_ALLE3IS
Definition: miscregs.hh:696
Trace::output
std::ostream & output()
Get the ostream from the current global logger.
Definition: trace.cc:77
NoFault
constexpr decltype(nullptr) NoFault
Definition: types.hh:245
ArmISA::MISCREG_DBGBVR13_EL1
@ MISCREG_DBGBVR13_EL1
Definition: miscregs.hh:465
ArmISA::MISCREG_TTBR1_EL1
@ MISCREG_TTBR1_EL1
Definition: miscregs.hh:591
ArmISA::MISCREG_DBGDIDR
@ MISCREG_DBGDIDR
Definition: miscregs.hh:91
Trace::TarmacBaseRecord::REG_Q
@ REG_Q
Definition: tarmac_base.hh:78
ArmISA::MISCREG_SP_EL2
@ MISCREG_SP_EL2
Definition: miscregs.hh:626
ArmISA::MISCREG_DTLBIASID
@ MISCREG_DTLBIASID
Definition: miscregs.hh:326
ArmISA::MISCREG_REVIDR_EL1
@ MISCREG_REVIDR_EL1
Definition: miscregs.hh:535
core.hh
ArmISA::MISCREG_TTBCR_S
@ MISCREG_TTBCR_S
Definition: miscregs.hh:256
ArmISA::INTREG_MON
static IntRegIndex INTREG_MON(unsigned index)
Definition: intregs.hh:381
ArmISA::MISCREG_L2CTLR_EL1
@ MISCREG_L2CTLR_EL1
Definition: miscregs.hh:726
ArmISA::MISCREG_SPSR_UND_AA64
@ MISCREG_SPSR_UND_AA64
Definition: miscregs.hh:622
Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:142
ArmISA::MISCREG_DBGBVR14
@ MISCREG_DBGBVR14
Definition: miscregs.hh:116
ArmISA::MISCREG_RVBAR_EL3
@ MISCREG_RVBAR_EL3
Definition: miscregs.hh:735
ArmISA::MISCREG_ATS12NSOPW
@ MISCREG_ATS12NSOPW
Definition: miscregs.hh:303
ArmISA::MISCREG_TLBIIPAS2L
@ MISCREG_TLBIIPAS2L
Definition: miscregs.hh:340
ArmISA::MISCREG_PMEVTYPER1_EL0
@ MISCREG_PMEVTYPER1_EL0
Definition: miscregs.hh:789
ArmISA::MISCREG_CNTPCT_EL0
@ MISCREG_CNTPCT_EL0
Definition: miscregs.hh:746
ArmISA::MISCREG_ELR_EL3
@ MISCREG_ELR_EL3
Definition: miscregs.hh:625
ArmISA::MISCREG_TTBR1_NS
@ MISCREG_TTBR1_NS
Definition: miscregs.hh:252
ArmISA::MISCREG_MDDTRRX_EL0
@ MISCREG_MDDTRRX_EL0
Definition: miscregs.hh:519
ArmISA::MISCREG_PMINTENCLR
@ MISCREG_PMINTENCLR
Definition: miscregs.hh:359
ArmISA::INTREG_HYP
static IntRegIndex INTREG_HYP(unsigned index)
Definition: intregs.hh:345
ArmISA::MISCREG_L2ECTLR_EL1
@ MISCREG_L2ECTLR_EL1
Definition: miscregs.hh:727
ArmISA::MISCREG_TPIDRURW_S
@ MISCREG_TPIDRURW_S
Definition: miscregs.hh:398
Trace::TarmacBaseRecord::REG_Z
@ REG_Z
Definition: tarmac_base.hh:78
ArmISA::MISCREG_CNTHP_TVAL_EL2
@ MISCREG_CNTHP_TVAL_EL2
Definition: miscregs.hh:768
ArmISA::MISCREG_HSCTLR
@ MISCREG_HSCTLR
Definition: miscregs.hh:240
ArmISA::INTREG_UND
static IntRegIndex INTREG_UND(unsigned index)
Definition: intregs.hh:417
ArmISA::MISCREG_TLBIASID
@ MISCREG_TLBIASID
Definition: miscregs.hh:329
ArmISA::MISCREG_DBGWCR3
@ MISCREG_DBGWCR3
Definition: miscregs.hh:153
ArmISA::MISCREG_TCMTR
@ MISCREG_TCMTR
Definition: miscregs.hh:203
ArmISA::MISCREG_AT_S1E1R_Xt
@ MISCREG_AT_S1E1R_Xt
Definition: miscregs.hh:651
ArmISA::MISCREG_FPSCR
@ MISCREG_FPSCR
Definition: miscregs.hh:68
ArmISA::MISCREG_DBGBCR13_EL1
@ MISCREG_DBGBCR13_EL1
Definition: miscregs.hh:481
ArmISA::MISCREG_DBGBCR7
@ MISCREG_DBGBCR7
Definition: miscregs.hh:125
ArmISA::MISCREG_TLBI_VALE3_Xt
@ MISCREG_TLBI_VALE3_Xt
Definition: miscregs.hh:701
ArmISA::MISCREG_SPSR_FIQ_AA64
@ MISCREG_SPSR_FIQ_AA64
Definition: miscregs.hh:623
ArmISA::MISCREG_SP_EL1
@ MISCREG_SP_EL1
Definition: miscregs.hh:619
ArmISA::MISCREG_PMXEVTYPER_EL0
@ MISCREG_PMXEVTYPER_EL0
Definition: miscregs.hh:713
ThreadContext::pcState
virtual TheISA::PCState pcState() const =0
ArmISA::MISCREG_HADFSR
@ MISCREG_HADFSR
Definition: miscregs.hh:274
ArmISA::MISCREG_ACTLR_EL1
@ MISCREG_ACTLR_EL1
Definition: miscregs.hh:573
ArmISA::MISCREG_RMR_EL3
@ MISCREG_RMR_EL3
Definition: miscregs.hh:736
ArmISA::MISCREG_PMUSERENR
@ MISCREG_PMUSERENR
Definition: miscregs.hh:357
Request::funcRequestorId
@ funcRequestorId
This requestor id is used for functional requests that don't come from a particular device.
Definition: request.hh:248
StaticInst::isMicroop
bool isMicroop() const
Definition: static_inst.hh:199
ArmISA::MISCREG_TLBI_VALE2_Xt
@ MISCREG_TLBI_VALE2_Xt
Definition: miscregs.hh:694
ArmISA::MISCREG_CNTHCTL_EL2
@ MISCREG_CNTHCTL_EL2
Definition: miscregs.hh:765
Trace::InstRecord::thread
ThreadContext * thread
Definition: insttracer.hh:62
ArmISA::TLB
Definition: tlb.hh:100
ArmISA::MISCREG_DBGBVR9
@ MISCREG_DBGBVR9
Definition: miscregs.hh:111
ArmISA::MISCREG_PMOVSCLR_EL0
@ MISCREG_PMOVSCLR_EL0
Definition: miscregs.hh:707
ArmISA::MISCREG_HACR_EL2
@ MISCREG_HACR_EL2
Definition: miscregs.hh:582
ThreadContext::getVirtProxy
virtual PortProxy & getVirtProxy()=0
ArmISA::INTREG_ABT
static IntRegIndex INTREG_ABT(unsigned index)
Definition: intregs.hh:399
ArmISA::MISCREG_DBGBCR7_EL1
@ MISCREG_DBGBCR7_EL1
Definition: miscregs.hh:475
ArmISA::MISCREG_BPIMVA
@ MISCREG_BPIMVA
Definition: miscregs.hh:295
ArmISA::MISCREG_TLBI_VAE1_Xt
@ MISCREG_TLBI_VAE1_Xt
Definition: miscregs.hh:677
ArmISA::MISCREG_DBGBVR4_EL1
@ MISCREG_DBGBVR4_EL1
Definition: miscregs.hh:456
ArmISA::MISCREG_TLBIALLNSNH
@ MISCREG_TLBIALLNSNH
Definition: miscregs.hh:343
ArmISA::MISCREG_DACR_NS
@ MISCREG_DACR_NS
Definition: miscregs.hh:260
ArmISA::MISCREG_SCR_EL3
@ MISCREG_SCR_EL3
Definition: miscregs.hh:585
ArmISA::MISCREG_PMEVTYPER2_EL0
@ MISCREG_PMEVTYPER2_EL0
Definition: miscregs.hh:790
ArmISA::MISCREG_HPFAR
@ MISCREG_HPFAR
Definition: miscregs.hh:285
ArmISA::MISCREG_CNTHCTL
@ MISCREG_CNTHCTL
Definition: miscregs.hh:423
ArmISA::MISCREG_ID_DFR0
@ MISCREG_ID_DFR0
Definition: miscregs.hh:209
ArmISA::MISCREG_CPTR_EL2
@ MISCREG_CPTR_EL2
Definition: miscregs.hh:580
ArmISA::MISCREG_DBGWCR13
@ MISCREG_DBGWCR13
Definition: miscregs.hh:163
StaticInst::isLastMicroop
bool isLastMicroop() const
Definition: static_inst.hh:201
ArmISA::MISCREG_SPSEL
@ MISCREG_SPSEL
Definition: miscregs.hh:609
ArmISA::MISCREG_TPIDR_EL3
@ MISCREG_TPIDR_EL3
Definition: miscregs.hh:743
VecRegClass
@ VecRegClass
Vector Register.
Definition: reg_class.hh:56
ArmISA::MISCREG_PMCCFILTR
@ MISCREG_PMCCFILTR
Definition: miscregs.hh:355
ArmISA::MISCREG_PMSWINC
@ MISCREG_PMSWINC
Definition: miscregs.hh:349
ArmISA::MISCREG_DBGBVR15_EL1
@ MISCREG_DBGBVR15_EL1
Definition: miscregs.hh:467
ArmISA::MISCREG_ADFSR_NS
@ MISCREG_ADFSR_NS
Definition: miscregs.hh:269
Trace::InstRecord::size
Addr size
The size of the memory request.
Definition: insttracer.hh:81
ArmISA::MISCREG_DBGOSLSR
@ MISCREG_DBGOSLSR
Definition: miscregs.hh:184
ArmISA::MISCREG_CPSR
@ MISCREG_CPSR
Definition: miscregs.hh:57
ArmISA::MISCREG_TLBI_VALE1IS_Xt
@ MISCREG_TLBI_VALE1IS_Xt
Definition: miscregs.hh:674
Trace::TarmacBaseRecord::REG_X
@ REG_X
Definition: tarmac_base.hh:78
ArmISA::MISCREG_DL1DATA3_EL1
@ MISCREG_DL1DATA3_EL1
Definition: miscregs.hh:801
ArmISA::MISCREG_DBGWVR12
@ MISCREG_DBGWVR12
Definition: miscregs.hh:146
ArmISA::MISCREG_DBGBCR4_EL1
@ MISCREG_DBGBCR4_EL1
Definition: miscregs.hh:472
ArmISA::MISCREG_CNTHP_CVAL_EL2
@ MISCREG_CNTHP_CVAL_EL2
Definition: miscregs.hh:767
ArmISA::MISCREG_FPCR
@ MISCREG_FPCR
Definition: miscregs.hh:613
ArmISA::MISCREG_HTPIDR
@ MISCREG_HTPIDR
Definition: miscregs.hh:405
ArmISA::MISCREG_AT_S1E2R_Xt
@ MISCREG_AT_S1E2R_Xt
Definition: miscregs.hh:662
ArmISA::MISCREG_SDER
@ MISCREG_SDER
Definition: miscregs.hh:238
ArmISA::MISCREG_DBGBCR10
@ MISCREG_DBGBCR10
Definition: miscregs.hh:128
ArmISA::MISCREG_CCSIDR_EL1
@ MISCREG_CCSIDR_EL1
Definition: miscregs.hh:563
ArmISA::MISCREG_AFSR1_EL1
@ MISCREG_AFSR1_EL1
Definition: miscregs.hh:629
ArmISA::MISCREG_DBGBVR7_EL1
@ MISCREG_DBGBVR7_EL1
Definition: miscregs.hh:459
ArmISA::MISCREG_CBAR_EL1
@ MISCREG_CBAR_EL1
Definition: miscregs.hh:808
ArmISA::MISCREG_MAIR1_S
@ MISCREG_MAIR1_S
Definition: miscregs.hh:374
ArmISA::MISCREG_DBGWCR15
@ MISCREG_DBGWCR15
Definition: miscregs.hh:165
StaticInst::machInst
const ExtMachInst machInst
The binary machine instruction.
Definition: static_inst.hh:243
std
Overload hash function for BasicBlockRange type.
Definition: vec_reg.hh:587
ArmISA::MISCREG_DBGVCR
@ MISCREG_DBGVCR
Definition: miscregs.hh:97
ArmISA::MISCREG_TLBI_ALLE2IS
@ MISCREG_TLBI_ALLE2IS
Definition: miscregs.hh:684
ArmISA::MISCREG_TLBI_ALLE1IS
@ MISCREG_TLBI_ALLE1IS
Definition: miscregs.hh:686
MipsISA::PCState
GenericISA::DelaySlotPCState< MachInst > PCState
Definition: types.hh:41
ArmISA::MISCREG_ID_PFR0_EL1
@ MISCREG_ID_PFR0_EL1
Definition: miscregs.hh:536
ArmISA::MISCREG_CNTP_CVAL_S
@ MISCREG_CNTP_CVAL_S
Definition: miscregs.hh:415
StaticInst::disassemble
virtual const std::string & disassemble(Addr pc, const Loader::SymbolTable *symtab=nullptr) const
Return string representation of disassembled instruction.
Definition: static_inst.cc:121
ArmISA::MISCREG_ID_ISAR1_EL1
@ MISCREG_ID_ISAR1_EL1
Definition: miscregs.hh:545
ArmISA::MISCREG_PMEVTYPER3_EL0
@ MISCREG_PMEVTYPER3_EL0
Definition: miscregs.hh:791
ArmISA::MISCREG_MDCR_EL2
@ MISCREG_MDCR_EL2
Definition: miscregs.hh:579
ArmISA::MISCREG_ID_AFR0
@ MISCREG_ID_AFR0
Definition: miscregs.hh:210
ArmISA::MISCREG_TLBI_VAE3_Xt
@ MISCREG_TLBI_VAE3_Xt
Definition: miscregs.hh:700
ArmISA::MISCREG_IL1DATA1
@ MISCREG_IL1DATA1
Definition: miscregs.hh:430
ArmISA::MISCREG_TLBIALLH
@ MISCREG_TLBIALLH
Definition: miscregs.hh:341
ArmISA::MISCREG_TLBIMVALIS
@ MISCREG_TLBIMVALIS
Definition: miscregs.hh:319
ArmISA::NumVecElemPerNeonVecReg
constexpr unsigned NumVecElemPerNeonVecReg
Definition: registers.hh:64
ArmISA::MISCREG_TPIDRURO_S
@ MISCREG_TPIDRURO_S
Definition: miscregs.hh:401
ArmISA::MISCREG_MAIR_EL2
@ MISCREG_MAIR_EL2
Definition: miscregs.hh:722
ArmISA::MISCREG_DBGDEVID1
@ MISCREG_DBGDEVID1
Definition: miscregs.hh:192
ArmISA::INTREG_FIQ
static IntRegIndex INTREG_FIQ(unsigned index)
Definition: intregs.hh:453
ArmISA::MISCREG_DL1DATA0_EL1
@ MISCREG_DL1DATA0_EL1
Definition: miscregs.hh:798
ArmISA::MISCREG_DBGBCR5
@ MISCREG_DBGBCR5
Definition: miscregs.hh:123
ArmISA::MISCREG_DBGPRCR
@ MISCREG_DBGPRCR
Definition: miscregs.hh:186
ArmISA::MISCREG_ID_ISAR2
@ MISCREG_ID_ISAR2
Definition: miscregs.hh:217
static_inst.hh
ArmISA::MISCREG_DBGBVR12_EL1
@ MISCREG_DBGBVR12_EL1
Definition: miscregs.hh:464
ArmISA::MISCREG_TLBI_VAALE1_Xt
@ MISCREG_TLBI_VAALE1_Xt
Definition: miscregs.hh:681
Trace::TarmacParserRecord::ParserRegEntry::repr
char repr[16]
Definition: tarmac_parser.hh:118
ArmISA::MISCREG_HMAIR1
@ MISCREG_HMAIR1
Definition: miscregs.hh:382
addr
ip6_addr_t addr
Definition: inet.hh:423
ArmISA::MISCREG_HSTR
@ MISCREG_HSTR
Definition: miscregs.hh:246
ArmISA::MISCREG_MIDR_EL1
@ MISCREG_MIDR_EL1
Definition: miscregs.hh:533
ArmISA::MISCREG_DBGWVR15
@ MISCREG_DBGWVR15
Definition: miscregs.hh:149
ArmISA::MISCREG_VPIDR
@ MISCREG_VPIDR
Definition: miscregs.hh:227
ArmISA::MISCREG_TPIDRURW_NS
@ MISCREG_TPIDRURW_NS
Definition: miscregs.hh:397
ArmISA::MISCREG_VBAR_EL3
@ MISCREG_VBAR_EL3
Definition: miscregs.hh:734
ArmISA::MISCREG_HTCR
@ MISCREG_HTCR
Definition: miscregs.hh:257
ArmISA::MISCREG_DBGWCR4
@ MISCREG_DBGWCR4
Definition: miscregs.hh:154
ArmISA::MISCREG_ID_ISAR0
@ MISCREG_ID_ISAR0
Definition: miscregs.hh:215
ArmISA::MISCREG_IFSR_NS
@ MISCREG_IFSR_NS
Definition: miscregs.hh:266
ArmISA::MISCREG_CPUECTLR_EL1
@ MISCREG_CPUECTLR_EL1
Definition: miscregs.hh:805
ArmISA::MISCREG_DBGBXVR12
@ MISCREG_DBGBXVR12
Definition: miscregs.hh:179
Trace::TarmacParserRecord::MaxLineLength
static const int MaxLineLength
Definition: tarmac_parser.hh:124
Trace::TarmacParser::advanceTraceToStartPc
void advanceTraceToStartPc()
Helper function to advance the trace up to startPc.
Definition: tarmac_parser.cc:1320
Trace::TarmacParserRecord::currRecordType
static TarmacRecordType currRecordType
Type of last parsed record.
Definition: tarmac_parser.hh:170
ArmISA::MISCREG_DBGDTRTXint
@ MISCREG_DBGDTRTXint
Definition: miscregs.hh:94
ArmISA::MISCREG_MPIDR_EL1
@ MISCREG_MPIDR_EL1
Definition: miscregs.hh:534
Trace::TarmacParserRecord::printMismatchHeader
static void printMismatchHeader(const StaticInstPtr inst, ArmISA::PCState pc)
Print a mismatch header containing the instruction fields as reported by gem5.
Definition: tarmac_parser.cc:943
ArmISA::MISCREG_DTLBIALL
@ MISCREG_DTLBIALL
Definition: miscregs.hh:324
ArmISA::MISCREG_ITLBIASID
@ MISCREG_ITLBIASID
Definition: miscregs.hh:323
ArmISA::MISCREG_DBGWCR8_EL1
@ MISCREG_DBGWCR8_EL1
Definition: miscregs.hh:508
ArmISA::MISCREG_PMXEVCNTR_EL0
@ MISCREG_PMXEVCNTR_EL0
Definition: miscregs.hh:715
ArmISA::MISCREG_DBGBCR6_EL1
@ MISCREG_DBGBCR6_EL1
Definition: miscregs.hh:474
ArmISA::MISCREG_PMCEID0
@ MISCREG_PMCEID0
Definition: miscregs.hh:351
ArmISA::MISCREG_ID_PFR1
@ MISCREG_ID_PFR1
Definition: miscregs.hh:208
ArmISA::MISCREG_CPUMERRSR
@ MISCREG_CPUMERRSR
Definition: miscregs.hh:443
ArmISA::MISCREG_DBGWVR10_EL1
@ MISCREG_DBGWVR10_EL1
Definition: miscregs.hh:494
ArmISA::MISCREG_DCIMVAC
@ MISCREG_DCIMVAC
Definition: miscregs.hh:296
ArmISA::MISCREG_DBGBVR5_EL1
@ MISCREG_DBGBVR5_EL1
Definition: miscregs.hh:457
ArmISA::MISCREG_VPIDR_EL2
@ MISCREG_VPIDR_EL2
Definition: miscregs.hh:569
ArmISA::MISCREG_DBGWVR5
@ MISCREG_DBGWVR5
Definition: miscregs.hh:139
ArmISA::MISCREG_DBGBVR11_EL1
@ MISCREG_DBGBVR11_EL1
Definition: miscregs.hh:463
ArmISA::MISCREG_DBGBXVR9
@ MISCREG_DBGBXVR9
Definition: miscregs.hh:176
ArmISA::MISCREG_RVBAR_EL2
@ MISCREG_RVBAR_EL2
Definition: miscregs.hh:733
ArmISA::MISCREG_TLBI_IPAS2E1_Xt
@ MISCREG_TLBI_IPAS2E1_Xt
Definition: miscregs.hh:689
ArmISA::MISCREG_CNTP_CVAL_NS
@ MISCREG_CNTP_CVAL_NS
Definition: miscregs.hh:414
ArmISA::c
Bitfield< 29 > c
Definition: miscregs_types.hh:50
ArmISA::MISCREG_CNTVCT_EL0
@ MISCREG_CNTVCT_EL0
Definition: miscregs.hh:747
ArmISA::TLB::translateAtomic
Fault translateAtomic(const RequestPtr &req, ThreadContext *tc, Mode mode, ArmTranslationType tranType)
Definition: tlb.cc:1163
ArmISA::MISCREG_MAIR_EL3
@ MISCREG_MAIR_EL3
Definition: miscregs.hh:724
ArmISA::MISCREG_DBGWVR3
@ MISCREG_DBGWVR3
Definition: miscregs.hh:137
ArmISA::MISCREG_PMCNTENSET_EL0
@ MISCREG_PMCNTENSET_EL0
Definition: miscregs.hh:705
ArmISA::MISCREG_MAIR_EL1
@ MISCREG_MAIR_EL1
Definition: miscregs.hh:718
ArmISA::MISCREG_PMCEID0_EL0
@ MISCREG_PMCEID0_EL0
Definition: miscregs.hh:710
ArmISA::MISCREG_AIDR_EL1
@ MISCREG_AIDR_EL1
Definition: miscregs.hh:565
ArmISA::MISCREG_DBGWCR11
@ MISCREG_DBGWCR11
Definition: miscregs.hh:161
ArmISA::MISCREG_DBGBVR0
@ MISCREG_DBGBVR0
Definition: miscregs.hh:102
ArmISA::MISCREG_TPIDRURO_NS
@ MISCREG_TPIDRURO_NS
Definition: miscregs.hh:400
ArmISA::MISCREG_AMAIR1_S
@ MISCREG_AMAIR1_S
Definition: miscregs.hh:380
RefCountingPtr< StaticInst >
ArmISA::MISCREG_HDFAR
@ MISCREG_HDFAR
Definition: miscregs.hh:283
ArmISA::MISCREG_DCCMVAU
@ MISCREG_DCCMVAU
Definition: miscregs.hh:310
ArmISA::MISCREG_DBGDEVID0
@ MISCREG_DBGDEVID0
Definition: miscregs.hh:193
ArmISA::MISCREG_DBGDSAR
@ MISCREG_DBGDSAR
Definition: miscregs.hh:187
Trace::TarmacParser::ignoredAddrRange
AddrRange ignoredAddrRange
Ignored addresses (ignored if empty).
Definition: tarmac_parser.hh:286
ArmISA::MISCREG_DBGBCR3
@ MISCREG_DBGBCR3
Definition: miscregs.hh:121
ArmISA::MISCREG_DL1DATA3
@ MISCREG_DL1DATA3
Definition: miscregs.hh:436
ArmISA::MISCREG_DBGBCR6
@ MISCREG_DBGBCR6
Definition: miscregs.hh:124
ArmISA::MISCREG_VTCR_EL2
@ MISCREG_VTCR_EL2
Definition: miscregs.hh:598
ArmISA::MISCREG_ID_PFR1_EL1
@ MISCREG_ID_PFR1_EL1
Definition: miscregs.hh:537
ArmISA::MISCREG_HAIFSR
@ MISCREG_HAIFSR
Definition: miscregs.hh:275
ArmISA::MISCREG_ID_MMFR3_EL1
@ MISCREG_ID_MMFR3_EL1
Definition: miscregs.hh:543
ArmISA::MISCREG_AT_S12E1W_Xt
@ MISCREG_AT_S12E1W_Xt
Definition: miscregs.hh:665
ArmISA::INTREG_IRQ
static IntRegIndex INTREG_IRQ(unsigned index)
Definition: intregs.hh:435
ArmISA::MISCREG_PMSWINC_EL0
@ MISCREG_PMSWINC_EL0
Definition: miscregs.hh:708
ArmISA::MISCREG_DCCMVAC
@ MISCREG_DCCMVAC
Definition: miscregs.hh:306
MipsISA::p
Bitfield< 0 > p
Definition: pra_constants.hh:323
ArmISA::MISCREG_MDCCSR_EL0
@ MISCREG_MDCCSR_EL0
Definition: miscregs.hh:516
ArmISA::MISCREG_CNTPS_CVAL_EL1
@ MISCREG_CNTPS_CVAL_EL1
Definition: miscregs.hh:763
std::list
STL list class.
Definition: stl.hh:51
ArmISA::MISCREG_TLBI_ALLE1
@ MISCREG_TLBI_ALLE1
Definition: miscregs.hh:693
ArmISA::MISCREG_DBGWVR13_EL1
@ MISCREG_DBGWVR13_EL1
Definition: miscregs.hh:497
ArmISA::MISCREG_NZCV
@ MISCREG_NZCV
Definition: miscregs.hh:611
ArmISA::MISCREG_CPACR_EL1
@ MISCREG_CPACR_EL1
Definition: miscregs.hh:574
Trace::TarmacParserRecord::parsingStarted
bool parsingStarted
True if a TARMAC instruction record has already been parsed for this instruction.
Definition: tarmac_parser.hh:186
ArmISA::MISCREG_CNTP_CTL_EL0
@ MISCREG_CNTP_CTL_EL0
Definition: miscregs.hh:748
ArmISA::MISCREG_DBGBCR4
@ MISCREG_DBGBCR4
Definition: miscregs.hh:122
ArmISA::MISCREG_DBGBCR12_EL1
@ MISCREG_DBGBCR12_EL1
Definition: miscregs.hh:480
ArmISA::MISCREG_DL1DATA4
@ MISCREG_DL1DATA4
Definition: miscregs.hh:437
ArmISA::MISCREG_DBGWVR7
@ MISCREG_DBGWVR7
Definition: miscregs.hh:141
ArmISA::MISCREG_PMEVTYPER5_EL0
@ MISCREG_PMEVTYPER5_EL0
Definition: miscregs.hh:793
ArmISA::MISCREG_L2ACTLR
@ MISCREG_L2ACTLR
Definition: miscregs.hh:439
ArmISA::MISCREG_FAR_EL2
@ MISCREG_FAR_EL2
Definition: miscregs.hh:643
ArmISA::MISCREG_MIDR
@ MISCREG_MIDR
Definition: miscregs.hh:201
ArmISA::MISCREG_SPSR_EL3
@ MISCREG_SPSR_EL3
Definition: miscregs.hh:624
ArmISA::MISCREG_SCTLR_EL3
@ MISCREG_SCTLR_EL3
Definition: miscregs.hh:583
ArmISA::MISCREG_DBGWCR7
@ MISCREG_DBGWCR7
Definition: miscregs.hh:157
ArmISA::MISCREG_ID_MMFR2_EL1
@ MISCREG_ID_MMFR2_EL1
Definition: miscregs.hh:542
ArmISA::MISCREG_BPIALLIS
@ MISCREG_BPIALLIS
Definition: miscregs.hh:287
ArmISA::MISCREG_PAR_NS
@ MISCREG_PAR_NS
Definition: miscregs.hh:289
ArmISA::MISCREG_DBGBVR10
@ MISCREG_DBGBVR10
Definition: miscregs.hh:112
ArmISA::MISCREG_RMR
@ MISCREG_RMR
Definition: miscregs.hh:389
ArmISA::MISCREG_DBGBVR3
@ MISCREG_DBGBVR3
Definition: miscregs.hh:105
ArmISA::MISCREG_DBGWCR1
@ MISCREG_DBGWCR1
Definition: miscregs.hh:151
ArmISA::MISCREG_TLBI_ALLE2
@ MISCREG_TLBI_ALLE2
Definition: miscregs.hh:691
ArmISA::MISCREG_JOSCR
@ MISCREG_JOSCR
Definition: miscregs.hh:197
ArmISA::MISCREG_DBGBVR1
@ MISCREG_DBGBVR1
Definition: miscregs.hh:103
ArmISA::MISCREG_BPIALL
@ MISCREG_BPIALL
Definition: miscregs.hh:294
ArmISA::MISCREG_CNTHP_TVAL
@ MISCREG_CNTHP_TVAL
Definition: miscregs.hh:426
ArmISA::MISCREG_TLBIIPAS2IS
@ MISCREG_TLBIIPAS2IS
Definition: miscregs.hh:333
PortProxy::readBlob
void readBlob(Addr addr, void *p, int size) const
Higher level interfaces based on the above.
Definition: port_proxy.hh:177
ArmISA::MISCREG_TLBI_IPAS2LE1_Xt
@ MISCREG_TLBI_IPAS2LE1_Xt
Definition: miscregs.hh:690
Trace::TarmacBaseRecord::RegEntry::type
RegType type
Definition: tarmac_base.hh:110
ArmISA::MISCREG_SCR
@ MISCREG_SCR
Definition: miscregs.hh:237
ArmISA::MISCREG_HDCR
@ MISCREG_HDCR
Definition: miscregs.hh:244
ArmISA::MISCREG_PMXEVCNTR
@ MISCREG_PMXEVCNTR
Definition: miscregs.hh:356
ArmISA::MISCREG_DBGBCR8_EL1
@ MISCREG_DBGBCR8_EL1
Definition: miscregs.hh:476
ArmISA::MISCREG_TLBI_VALE1_Xt
@ MISCREG_TLBI_VALE1_Xt
Definition: miscregs.hh:680
ArmISA::MISCREG_DBGBCR10_EL1
@ MISCREG_DBGBCR10_EL1
Definition: miscregs.hh:478
ArmISA::MISCREG_CNTVOFF
@ MISCREG_CNTVOFF
Definition: miscregs.hh:427
ArmISA::MISCREG_DC_CSW_Xt
@ MISCREG_DC_CSW_Xt
Definition: miscregs.hh:655
ArmISA::MISCREG_CPTR_EL3
@ MISCREG_CPTR_EL3
Definition: miscregs.hh:587
ArmISA::MISCREG_SPSR_EL2
@ MISCREG_SPSR_EL2
Definition: miscregs.hh:617
ArmISA::MISCREG_CNTHP_CVAL
@ MISCREG_CNTHP_CVAL
Definition: miscregs.hh:425
ArmISA::MISCREG_TEEHBR
@ MISCREG_TEEHBR
Definition: miscregs.hh:196
Trace::TarmacParserRecord::TarmacParserRecordEvent
Event triggered to check the value of the destination registers.
Definition: tarmac_parser.hh:73
ArmISA::MISCREG_SPSR_ABT_AA64
@ MISCREG_SPSR_ABT_AA64
Definition: miscregs.hh:621
ArmISA::MISCREG_SCTLR_EL2
@ MISCREG_SCTLR_EL2
Definition: miscregs.hh:576
Trace::TarmacParser::exitOnDiff
bool exitOnDiff
If true, the simulation is stopped as the first mismatch is detected.
Definition: tarmac_parser.hh:274
ArmISA::MISCREG_ID_AA64PFR1_EL1
@ MISCREG_ID_AA64PFR1_EL1
Definition: miscregs.hh:554
ArmISA::MISCREG_TLBIMVALHIS
@ MISCREG_TLBIMVALHIS
Definition: miscregs.hh:338
ArmISA::MISCREG_DBGPRCR_EL1
@ MISCREG_DBGPRCR_EL1
Definition: miscregs.hh:525
ArmISA::MISCREG_DBGWCR1_EL1
@ MISCREG_DBGWCR1_EL1
Definition: miscregs.hh:501
ArmISA::MISCREG_DBGBXVR4
@ MISCREG_DBGBXVR4
Definition: miscregs.hh:171
Trace::TarmacParserRecord::ParserInstEntry::seq_num
uint64_t seq_num
Definition: tarmac_parser.hh:112
ArmISA::MISCREG_VTTBR
@ MISCREG_VTTBR
Definition: miscregs.hh:442
ArmISA::MISCREG_DBGBVR8_EL1
@ MISCREG_DBGBVR8_EL1
Definition: miscregs.hh:460
ArmISA::MISCREG_ATS1HW
@ MISCREG_ATS1HW
Definition: miscregs.hh:314
ArmISA::v
Bitfield< 28 > v
Definition: miscregs_types.hh:51
ArmISA::MISCREG_DBGWFAR
@ MISCREG_DBGWFAR
Definition: miscregs.hh:96
thread_context.hh
ArmISA::MISCREG_ACTLR_NS
@ MISCREG_ACTLR_NS
Definition: miscregs.hh:233
ArmISA::MISCREG_DBGBCR0
@ MISCREG_DBGBCR0
Definition: miscregs.hh:118
ArmISA::MISCREG_DBGBCR1
@ MISCREG_DBGBCR1
Definition: miscregs.hh:119
ArmISA::MISCREG_TLBI_VAE2IS_Xt
@ MISCREG_TLBI_VAE2IS_Xt
Definition: miscregs.hh:685
ArmISA::MISCREG_DBGWVR14
@ MISCREG_DBGWVR14
Definition: miscregs.hh:148
ArmISA::MISCREG_DBGBVR1_EL1
@ MISCREG_DBGBVR1_EL1
Definition: miscregs.hh:453
ArmISA::MISCREG_PMCR
@ MISCREG_PMCR
Definition: miscregs.hh:345
ArmISA::MISCREG_ID_ISAR5
@ MISCREG_ID_ISAR5
Definition: miscregs.hh:220
ArmISA::MISCREG_DL1DATA1
@ MISCREG_DL1DATA1
Definition: miscregs.hh:434
ThreadContext::getDTBPtr
virtual BaseTLB * getDTBPtr()=0
ArmISA::MISCREG_DL1DATA0
@ MISCREG_DL1DATA0
Definition: miscregs.hh:433
ArmISA::MISCREG_SCTLR_EL1
@ MISCREG_SCTLR_EL1
Definition: miscregs.hh:571
ArmISA::MISCREG_MAIR1_NS
@ MISCREG_MAIR1_NS
Definition: miscregs.hh:373
Trace::TarmacParserRecord::advanceTrace
bool advanceTrace()
Advances the TARMAC trace up to the next instruction, register, or memory access record.
Definition: tarmac_parser.cc:1080
Trace::TarmacParserRecord::buf
static char buf[MaxLineLength]
Buffer used for trace file parsing.
Definition: tarmac_parser.hh:173
ArmISA::MISCREG_DBGWCR8
@ MISCREG_DBGWCR8
Definition: miscregs.hh:158
ArmISA::MISCREG_DBGCLAIMSET
@ MISCREG_DBGCLAIMSET
Definition: miscregs.hh:188
Trace::TarmacBaseRecord::RegEntry::index
RegIndex index
Definition: tarmac_base.hh:111
ArmISA::MISCREG_PAR_S
@ MISCREG_PAR_S
Definition: miscregs.hh:290
panic
#define panic(...)
This implements a cprintf based panic() function.
Definition: logging.hh:171
ArmISA::MISCREG_TLBI_ASIDE1_Xt
@ MISCREG_TLBI_ASIDE1_Xt
Definition: miscregs.hh:678
Trace::TarmacBaseRecord::REG_MISC
@ REG_MISC
Definition: tarmac_base.hh:78
ArmISA::MISCREG_PMINTENSET_EL1
@ MISCREG_PMINTENSET_EL1
Definition: miscregs.hh:702
curTick
Tick curTick()
The current simulated tick.
Definition: core.hh:45
ArmISA::MISCREG_ATS1CPW
@ MISCREG_ATS1CPW
Definition: miscregs.hh:299
ArmISA::MISCREG_CPUMERRSR_EL1
@ MISCREG_CPUMERRSR_EL1
Definition: miscregs.hh:806
ArmISA::MISCREG_SPSR_EL1
@ MISCREG_SPSR_EL1
Definition: miscregs.hh:604
RefCountingPtr::get
T * get() const
Directly access the pointer itself without taking a reference.
Definition: refcnt.hh:219

Generated on Wed Sep 30 2020 14:02:01 for gem5 by doxygen 1.8.17