xref: /linux/tools/perf/pmu-events/arch/x86/graniterapids/frontend.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
11e8ad07eSIan Rogers[
21e8ad07eSIan Rogers    {
3*917f63adSIan Rogers        "BriefDescription": "Clears due to Unknown Branches.",
4*917f63adSIan Rogers        "Counter": "0,1,2,3",
5*917f63adSIan Rogers        "EventCode": "0x60",
6*917f63adSIan Rogers        "EventName": "BACLEARS.ANY",
7*917f63adSIan Rogers        "PublicDescription": "Number of times the front-end is resteered when it finds a branch instruction in a fetch line. This is called Unknown Branch which occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
8*917f63adSIan Rogers        "SampleAfterValue": "100003",
9*917f63adSIan Rogers        "UMask": "0x1"
10*917f63adSIan Rogers    },
11*917f63adSIan Rogers    {
12*917f63adSIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
13*917f63adSIan Rogers        "Counter": "0,1,2,3",
14*917f63adSIan Rogers        "EventCode": "0x87",
15*917f63adSIan Rogers        "EventName": "DECODE.LCP",
16*917f63adSIan Rogers        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk.",
17*917f63adSIan Rogers        "SampleAfterValue": "500009",
18*917f63adSIan Rogers        "UMask": "0x1"
19*917f63adSIan Rogers    },
20*917f63adSIan Rogers    {
21*917f63adSIan Rogers        "BriefDescription": "Cycles the Microcode Sequencer is busy.",
22*917f63adSIan Rogers        "Counter": "0,1,2,3",
23*917f63adSIan Rogers        "EventCode": "0x87",
24*917f63adSIan Rogers        "EventName": "DECODE.MS_BUSY",
25*917f63adSIan Rogers        "SampleAfterValue": "500009",
26*917f63adSIan Rogers        "UMask": "0x2"
27*917f63adSIan Rogers    },
28*917f63adSIan Rogers    {
29*917f63adSIan Rogers        "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
30*917f63adSIan Rogers        "Counter": "0,1,2,3",
31*917f63adSIan Rogers        "EventCode": "0x61",
32*917f63adSIan Rogers        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
33*917f63adSIan Rogers        "PublicDescription": "Decode Stream Buffer (DSB) is a Uop-cache that holds translations of previously fetched instructions that were decoded by the legacy x86 decode pipeline (MITE). This event counts fetch penalty cycles when a transition occurs from DSB to MITE.",
34*917f63adSIan Rogers        "SampleAfterValue": "100003",
35*917f63adSIan Rogers        "UMask": "0x2"
36*917f63adSIan Rogers    },
37*917f63adSIan Rogers    {
38*917f63adSIan Rogers        "BriefDescription": "Retired ANT branches",
39*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
40*917f63adSIan Rogers        "EventCode": "0xc6",
41*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_ANT",
42*917f63adSIan Rogers        "MSRIndex": "0x3F7",
43*917f63adSIan Rogers        "MSRValue": "0x9",
44*917f63adSIan Rogers        "PEBS": "1",
45*917f63adSIan Rogers        "PublicDescription": "Always Not Taken (ANT) conditional retired branches (no BTB entry and not mispredicted)",
46*917f63adSIan Rogers        "SampleAfterValue": "100007",
47*917f63adSIan Rogers        "UMask": "0x3"
48*917f63adSIan Rogers    },
49*917f63adSIan Rogers    {
50*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced DSB miss.",
51*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
52*917f63adSIan Rogers        "EventCode": "0xc6",
53*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
54*917f63adSIan Rogers        "MSRIndex": "0x3F7",
55*917f63adSIan Rogers        "MSRValue": "0x1",
56*917f63adSIan Rogers        "PEBS": "1",
57*917f63adSIan Rogers        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
58*917f63adSIan Rogers        "SampleAfterValue": "100007",
59*917f63adSIan Rogers        "UMask": "0x3"
60*917f63adSIan Rogers    },
61*917f63adSIan Rogers    {
62*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
63*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
64*917f63adSIan Rogers        "EventCode": "0xc6",
65*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.DSB_MISS",
66*917f63adSIan Rogers        "MSRIndex": "0x3F7",
67*917f63adSIan Rogers        "MSRValue": "0x11",
68*917f63adSIan Rogers        "PEBS": "1",
69*917f63adSIan Rogers        "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.",
70*917f63adSIan Rogers        "SampleAfterValue": "100007",
71*917f63adSIan Rogers        "UMask": "0x3"
72*917f63adSIan Rogers    },
73*917f63adSIan Rogers    {
74*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
75*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
76*917f63adSIan Rogers        "EventCode": "0xc6",
77*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
78*917f63adSIan Rogers        "MSRIndex": "0x3F7",
79*917f63adSIan Rogers        "MSRValue": "0x14",
80*917f63adSIan Rogers        "PEBS": "1",
81*917f63adSIan Rogers        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
82*917f63adSIan Rogers        "SampleAfterValue": "100007",
83*917f63adSIan Rogers        "UMask": "0x3"
84*917f63adSIan Rogers    },
85*917f63adSIan Rogers    {
86*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
87*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
88*917f63adSIan Rogers        "EventCode": "0xc6",
89*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.L1I_MISS",
90*917f63adSIan Rogers        "MSRIndex": "0x3F7",
91*917f63adSIan Rogers        "MSRValue": "0x12",
92*917f63adSIan Rogers        "PEBS": "1",
93*917f63adSIan Rogers        "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.",
94*917f63adSIan Rogers        "SampleAfterValue": "100007",
95*917f63adSIan Rogers        "UMask": "0x3"
96*917f63adSIan Rogers    },
97*917f63adSIan Rogers    {
98*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
99*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
100*917f63adSIan Rogers        "EventCode": "0xc6",
101*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.L2_MISS",
102*917f63adSIan Rogers        "MSRIndex": "0x3F7",
103*917f63adSIan Rogers        "MSRValue": "0x13",
104*917f63adSIan Rogers        "PEBS": "1",
105*917f63adSIan Rogers        "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.",
106*917f63adSIan Rogers        "SampleAfterValue": "100007",
107*917f63adSIan Rogers        "UMask": "0x3"
108*917f63adSIan Rogers    },
109*917f63adSIan Rogers    {
110*917f63adSIan Rogers        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
111*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
112*917f63adSIan Rogers        "EventCode": "0xc6",
113*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
114*917f63adSIan Rogers        "MSRIndex": "0x3F7",
115*917f63adSIan Rogers        "MSRValue": "0x600106",
116*917f63adSIan Rogers        "PEBS": "1",
117*917f63adSIan Rogers        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.",
118*917f63adSIan Rogers        "SampleAfterValue": "100007",
119*917f63adSIan Rogers        "UMask": "0x3"
120*917f63adSIan Rogers    },
121*917f63adSIan Rogers    {
122*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
123*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
124*917f63adSIan Rogers        "EventCode": "0xc6",
125*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
126*917f63adSIan Rogers        "MSRIndex": "0x3F7",
127*917f63adSIan Rogers        "MSRValue": "0x608006",
128*917f63adSIan Rogers        "PEBS": "1",
129*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
130*917f63adSIan Rogers        "SampleAfterValue": "100007",
131*917f63adSIan Rogers        "UMask": "0x3"
132*917f63adSIan Rogers    },
133*917f63adSIan Rogers    {
134*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 16 cycles which was not interrupted by a back-end stall.",
135*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
136*917f63adSIan Rogers        "EventCode": "0xc6",
137*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
138*917f63adSIan Rogers        "MSRIndex": "0x3F7",
139*917f63adSIan Rogers        "MSRValue": "0x601006",
140*917f63adSIan Rogers        "PEBS": "1",
141*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 16 cycles. During this period the front-end delivered no uops.",
142*917f63adSIan Rogers        "SampleAfterValue": "100007",
143*917f63adSIan Rogers        "UMask": "0x3"
144*917f63adSIan Rogers    },
145*917f63adSIan Rogers    {
146*917f63adSIan Rogers        "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles",
147*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
148*917f63adSIan Rogers        "EventCode": "0xc6",
149*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
150*917f63adSIan Rogers        "MSRIndex": "0x3F7",
151*917f63adSIan Rogers        "MSRValue": "0x600206",
152*917f63adSIan Rogers        "PEBS": "1",
153*917f63adSIan Rogers        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 2 cycles which was not interrupted by a back-end stall.",
154*917f63adSIan Rogers        "SampleAfterValue": "100007",
155*917f63adSIan Rogers        "UMask": "0x3"
156*917f63adSIan Rogers    },
157*917f63adSIan Rogers    {
158*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
159*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
160*917f63adSIan Rogers        "EventCode": "0xc6",
161*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
162*917f63adSIan Rogers        "MSRIndex": "0x3F7",
163*917f63adSIan Rogers        "MSRValue": "0x610006",
164*917f63adSIan Rogers        "PEBS": "1",
165*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
166*917f63adSIan Rogers        "SampleAfterValue": "100007",
167*917f63adSIan Rogers        "UMask": "0x3"
168*917f63adSIan Rogers    },
169*917f63adSIan Rogers    {
170*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which was not interrupted by a back-end stall.",
171*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
172*917f63adSIan Rogers        "EventCode": "0xc6",
173*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
174*917f63adSIan Rogers        "MSRIndex": "0x3F7",
175*917f63adSIan Rogers        "MSRValue": "0x100206",
176*917f63adSIan Rogers        "PEBS": "1",
177*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are delivered to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bubble-slot is an empty issue-pipeline slot while there was no RAT stall.",
178*917f63adSIan Rogers        "SampleAfterValue": "100007",
179*917f63adSIan Rogers        "UMask": "0x3"
180*917f63adSIan Rogers    },
181*917f63adSIan Rogers    {
182*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 32 cycles which was not interrupted by a back-end stall.",
183*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
184*917f63adSIan Rogers        "EventCode": "0xc6",
185*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
186*917f63adSIan Rogers        "MSRIndex": "0x3F7",
187*917f63adSIan Rogers        "MSRValue": "0x602006",
188*917f63adSIan Rogers        "PEBS": "1",
189*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 32 cycles. During this period the front-end delivered no uops.",
190*917f63adSIan Rogers        "SampleAfterValue": "100007",
191*917f63adSIan Rogers        "UMask": "0x3"
192*917f63adSIan Rogers    },
193*917f63adSIan Rogers    {
194*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
195*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
196*917f63adSIan Rogers        "EventCode": "0xc6",
197*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
198*917f63adSIan Rogers        "MSRIndex": "0x3F7",
199*917f63adSIan Rogers        "MSRValue": "0x600406",
200*917f63adSIan Rogers        "PEBS": "1",
201*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
202*917f63adSIan Rogers        "SampleAfterValue": "100007",
203*917f63adSIan Rogers        "UMask": "0x3"
204*917f63adSIan Rogers    },
205*917f63adSIan Rogers    {
206*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
207*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
208*917f63adSIan Rogers        "EventCode": "0xc6",
209*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
210*917f63adSIan Rogers        "MSRIndex": "0x3F7",
211*917f63adSIan Rogers        "MSRValue": "0x620006",
212*917f63adSIan Rogers        "PEBS": "1",
213*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
214*917f63adSIan Rogers        "SampleAfterValue": "100007",
215*917f63adSIan Rogers        "UMask": "0x3"
216*917f63adSIan Rogers    },
217*917f63adSIan Rogers    {
218*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
219*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
220*917f63adSIan Rogers        "EventCode": "0xc6",
221*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
222*917f63adSIan Rogers        "MSRIndex": "0x3F7",
223*917f63adSIan Rogers        "MSRValue": "0x604006",
224*917f63adSIan Rogers        "PEBS": "1",
225*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
226*917f63adSIan Rogers        "SampleAfterValue": "100007",
227*917f63adSIan Rogers        "UMask": "0x3"
228*917f63adSIan Rogers    },
229*917f63adSIan Rogers    {
230*917f63adSIan Rogers        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 8 cycles which was not interrupted by a back-end stall.",
231*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
232*917f63adSIan Rogers        "EventCode": "0xc6",
233*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
234*917f63adSIan Rogers        "MSRIndex": "0x3F7",
235*917f63adSIan Rogers        "MSRValue": "0x600806",
236*917f63adSIan Rogers        "PEBS": "1",
237*917f63adSIan Rogers        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 8 cycles. During this period the front-end delivered no uops.",
238*917f63adSIan Rogers        "SampleAfterValue": "100007",
239*917f63adSIan Rogers        "UMask": "0x3"
240*917f63adSIan Rogers    },
241*917f63adSIan Rogers    {
242*917f63adSIan Rogers        "BriefDescription": "I-Cache miss too close to Code Prefetch Instruction",
243*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
244*917f63adSIan Rogers        "EventCode": "0xc6",
245*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.LATE_SWPF",
246*917f63adSIan Rogers        "MSRIndex": "0x3F7",
247*917f63adSIan Rogers        "MSRValue": "0x9",
248*917f63adSIan Rogers        "PEBS": "1",
249*917f63adSIan Rogers        "PublicDescription": "Number of Instruction Cache demand miss in shadow of an on-going i-fetch cache-line triggered by PREFETCHIT0/1 instructions",
250*917f63adSIan Rogers        "SampleAfterValue": "100007",
251*917f63adSIan Rogers        "UMask": "0x3"
252*917f63adSIan Rogers    },
253*917f63adSIan Rogers    {
254*917f63adSIan Rogers        "BriefDescription": "Mispredicted Retired ANT branches",
255*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
256*917f63adSIan Rogers        "EventCode": "0xc6",
257*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.MISP_ANT",
258*917f63adSIan Rogers        "MSRIndex": "0x3F7",
259*917f63adSIan Rogers        "MSRValue": "0x9",
260*917f63adSIan Rogers        "PEBS": "1",
261*917f63adSIan Rogers        "PublicDescription": "ANT retired branches that got just mispredicted",
262*917f63adSIan Rogers        "SampleAfterValue": "100007",
263*917f63adSIan Rogers        "UMask": "0x2"
264*917f63adSIan Rogers    },
265*917f63adSIan Rogers    {
266*917f63adSIan Rogers        "BriefDescription": "FRONTEND_RETIRED.MS_FLOWS",
267*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
268*917f63adSIan Rogers        "EventCode": "0xc6",
269*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.MS_FLOWS",
270*917f63adSIan Rogers        "MSRIndex": "0x3F7",
271*917f63adSIan Rogers        "MSRValue": "0x8",
272*917f63adSIan Rogers        "PEBS": "1",
273*917f63adSIan Rogers        "SampleAfterValue": "100007",
274*917f63adSIan Rogers        "UMask": "0x3"
275*917f63adSIan Rogers    },
276*917f63adSIan Rogers    {
277*917f63adSIan Rogers        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
278*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
279*917f63adSIan Rogers        "EventCode": "0xc6",
280*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.STLB_MISS",
281*917f63adSIan Rogers        "MSRIndex": "0x3F7",
282*917f63adSIan Rogers        "MSRValue": "0x15",
283*917f63adSIan Rogers        "PEBS": "1",
284*917f63adSIan Rogers        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
285*917f63adSIan Rogers        "SampleAfterValue": "100007",
286*917f63adSIan Rogers        "UMask": "0x3"
287*917f63adSIan Rogers    },
288*917f63adSIan Rogers    {
289*917f63adSIan Rogers        "BriefDescription": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
290*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
291*917f63adSIan Rogers        "EventCode": "0xc6",
292*917f63adSIan Rogers        "EventName": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
293*917f63adSIan Rogers        "MSRIndex": "0x3F7",
294*917f63adSIan Rogers        "MSRValue": "0x17",
295*917f63adSIan Rogers        "PEBS": "1",
296*917f63adSIan Rogers        "SampleAfterValue": "100007",
297*917f63adSIan Rogers        "UMask": "0x3"
298*917f63adSIan Rogers    },
299*917f63adSIan Rogers    {
300*917f63adSIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
301*917f63adSIan Rogers        "Counter": "0,1,2,3",
302*917f63adSIan Rogers        "EventCode": "0x80",
303*917f63adSIan Rogers        "EventName": "ICACHE_DATA.STALLS",
304*917f63adSIan Rogers        "PublicDescription": "Counts cycles where a code line fetch is stalled due to an L1 instruction cache miss. The decode pipeline works at a 32 Byte granularity.",
305*917f63adSIan Rogers        "SampleAfterValue": "500009",
306*917f63adSIan Rogers        "UMask": "0x4"
307*917f63adSIan Rogers    },
308*917f63adSIan Rogers    {
309*917f63adSIan Rogers        "BriefDescription": "ICACHE_DATA.STALL_PERIODS",
310*917f63adSIan Rogers        "Counter": "0,1,2,3",
311*917f63adSIan Rogers        "CounterMask": "1",
312*917f63adSIan Rogers        "EdgeDetect": "1",
313*917f63adSIan Rogers        "EventCode": "0x80",
314*917f63adSIan Rogers        "EventName": "ICACHE_DATA.STALL_PERIODS",
315*917f63adSIan Rogers        "SampleAfterValue": "500009",
316*917f63adSIan Rogers        "UMask": "0x4"
317*917f63adSIan Rogers    },
318*917f63adSIan Rogers    {
319*917f63adSIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
320*917f63adSIan Rogers        "Counter": "0,1,2,3",
321*917f63adSIan Rogers        "EventCode": "0x83",
322*917f63adSIan Rogers        "EventName": "ICACHE_TAG.STALLS",
323*917f63adSIan Rogers        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
324*917f63adSIan Rogers        "SampleAfterValue": "200003",
325*917f63adSIan Rogers        "UMask": "0x4"
326*917f63adSIan Rogers    },
327*917f63adSIan Rogers    {
328*917f63adSIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
329*917f63adSIan Rogers        "Counter": "0,1,2,3",
330*917f63adSIan Rogers        "CounterMask": "1",
331*917f63adSIan Rogers        "EventCode": "0x79",
332*917f63adSIan Rogers        "EventName": "IDQ.DSB_CYCLES_ANY",
333*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
334*917f63adSIan Rogers        "SampleAfterValue": "2000003",
335*917f63adSIan Rogers        "UMask": "0x8"
336*917f63adSIan Rogers    },
337*917f63adSIan Rogers    {
338*917f63adSIan Rogers        "BriefDescription": "Cycles DSB is delivering optimal number of Uops",
339*917f63adSIan Rogers        "Counter": "0,1,2,3",
340*917f63adSIan Rogers        "CounterMask": "6",
341*917f63adSIan Rogers        "EventCode": "0x79",
342*917f63adSIan Rogers        "EventName": "IDQ.DSB_CYCLES_OK",
343*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the DSB (Decode Stream Buffer) path. Count includes uops that may 'bypass' the IDQ.",
344*917f63adSIan Rogers        "SampleAfterValue": "2000003",
345*917f63adSIan Rogers        "UMask": "0x8"
346*917f63adSIan Rogers    },
347*917f63adSIan Rogers    {
348*917f63adSIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
349*917f63adSIan Rogers        "Counter": "0,1,2,3",
350*917f63adSIan Rogers        "EventCode": "0x79",
351*917f63adSIan Rogers        "EventName": "IDQ.DSB_UOPS",
352*917f63adSIan Rogers        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
353*917f63adSIan Rogers        "SampleAfterValue": "2000003",
354*917f63adSIan Rogers        "UMask": "0x8"
355*917f63adSIan Rogers    },
356*917f63adSIan Rogers    {
357*917f63adSIan Rogers        "BriefDescription": "Cycles MITE is delivering any Uop",
358*917f63adSIan Rogers        "Counter": "0,1,2,3",
359*917f63adSIan Rogers        "CounterMask": "1",
360*917f63adSIan Rogers        "EventCode": "0x79",
361*917f63adSIan Rogers        "EventName": "IDQ.MITE_CYCLES_ANY",
362*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
363*917f63adSIan Rogers        "SampleAfterValue": "2000003",
364*917f63adSIan Rogers        "UMask": "0x4"
365*917f63adSIan Rogers    },
366*917f63adSIan Rogers    {
367*917f63adSIan Rogers        "BriefDescription": "Cycles MITE is delivering optimal number of Uops",
368*917f63adSIan Rogers        "Counter": "0,1,2,3",
369*917f63adSIan Rogers        "CounterMask": "6",
370*917f63adSIan Rogers        "EventCode": "0x79",
371*917f63adSIan Rogers        "EventName": "IDQ.MITE_CYCLES_OK",
372*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles where optimal number of uops was delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
373*917f63adSIan Rogers        "SampleAfterValue": "2000003",
374*917f63adSIan Rogers        "UMask": "0x4"
375*917f63adSIan Rogers    },
376*917f63adSIan Rogers    {
377*917f63adSIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
378*917f63adSIan Rogers        "Counter": "0,1,2,3",
379*917f63adSIan Rogers        "EventCode": "0x79",
380*917f63adSIan Rogers        "EventName": "IDQ.MITE_UOPS",
381*917f63adSIan Rogers        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
382*917f63adSIan Rogers        "SampleAfterValue": "2000003",
383*917f63adSIan Rogers        "UMask": "0x4"
384*917f63adSIan Rogers    },
385*917f63adSIan Rogers    {
386*917f63adSIan Rogers        "BriefDescription": "Cycles when uops are being delivered to IDQ while MS is busy",
387*917f63adSIan Rogers        "Counter": "0,1,2,3",
388*917f63adSIan Rogers        "CounterMask": "1",
389*917f63adSIan Rogers        "EventCode": "0x79",
390*917f63adSIan Rogers        "EventName": "IDQ.MS_CYCLES_ANY",
391*917f63adSIan Rogers        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
392*917f63adSIan Rogers        "SampleAfterValue": "2000003",
393*917f63adSIan Rogers        "UMask": "0x20"
394*917f63adSIan Rogers    },
395*917f63adSIan Rogers    {
396*917f63adSIan Rogers        "BriefDescription": "Number of switches from DSB or MITE to the MS",
397*917f63adSIan Rogers        "Counter": "0,1,2,3",
398*917f63adSIan Rogers        "CounterMask": "1",
399*917f63adSIan Rogers        "EdgeDetect": "1",
400*917f63adSIan Rogers        "EventCode": "0x79",
401*917f63adSIan Rogers        "EventName": "IDQ.MS_SWITCHES",
402*917f63adSIan Rogers        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
403*917f63adSIan Rogers        "SampleAfterValue": "100003",
404*917f63adSIan Rogers        "UMask": "0x20"
405*917f63adSIan Rogers    },
406*917f63adSIan Rogers    {
407*917f63adSIan Rogers        "BriefDescription": "Uops initiated by MITE or Decode Stream Buffer (DSB) and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
408*917f63adSIan Rogers        "Counter": "0,1,2,3",
409*917f63adSIan Rogers        "EventCode": "0x79",
410*917f63adSIan Rogers        "EventName": "IDQ.MS_UOPS",
411*917f63adSIan Rogers        "PublicDescription": "Counts the number of uops initiated by MITE or Decode Stream Buffer (DSB) and delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.",
412*917f63adSIan Rogers        "SampleAfterValue": "1000003",
413*917f63adSIan Rogers        "UMask": "0x20"
414*917f63adSIan Rogers    },
415*917f63adSIan Rogers    {
416*917f63adSIan Rogers        "BriefDescription": "This event counts a subset of the Topdown Slots event that when no operation was delivered to the back-end pipeline due to instruction fetch limitations when the back-end could have accepted more operations. Common examples include instruction cache misses or x86 instruction decode limitations.",
417*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
4181e8ad07eSIan Rogers        "EventCode": "0x9c",
4191e8ad07eSIan Rogers        "EventName": "IDQ_BUBBLES.CORE",
420*917f63adSIan Rogers        "PublicDescription": "This event counts a subset of the Topdown Slots event that when no operation was delivered to the back-end pipeline due to instruction fetch limitations when the back-end could have accepted more operations. Common examples include instruction cache misses or x86 instruction decode limitations. The count may be distributed among unhalted logical processors (hyper-threads) who share the same physical core, in processors that support Intel Hyper-Threading Technology. Software can use this event as the numerator for the Frontend Bound metric (or top-level category) of the Top-down Microarchitecture Analysis method.",
421*917f63adSIan Rogers        "SampleAfterValue": "1000003",
422*917f63adSIan Rogers        "UMask": "0x1"
423*917f63adSIan Rogers    },
424*917f63adSIan Rogers    {
425*917f63adSIan Rogers        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE]",
426*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
427*917f63adSIan Rogers        "CounterMask": "6",
428*917f63adSIan Rogers        "EventCode": "0x9c",
429*917f63adSIan Rogers        "EventName": "IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE",
430*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE]",
431*917f63adSIan Rogers        "SampleAfterValue": "1000003",
432*917f63adSIan Rogers        "UMask": "0x1"
433*917f63adSIan Rogers    },
434*917f63adSIan Rogers    {
435*917f63adSIan Rogers        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK]",
436*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
437*917f63adSIan Rogers        "CounterMask": "1",
438*917f63adSIan Rogers        "EventCode": "0x9c",
439*917f63adSIan Rogers        "EventName": "IDQ_BUBBLES.CYCLES_FE_WAS_OK",
440*917f63adSIan Rogers        "Invert": "1",
441*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK]",
442*917f63adSIan Rogers        "SampleAfterValue": "1000003",
443*917f63adSIan Rogers        "UMask": "0x1"
444*917f63adSIan Rogers    },
445*917f63adSIan Rogers    {
446*917f63adSIan Rogers        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled",
447*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
448*917f63adSIan Rogers        "EventCode": "0x9c",
449*917f63adSIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
450*917f63adSIan Rogers        "PublicDescription": "Counts the number of uops not delivered to by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle.",
451*917f63adSIan Rogers        "SampleAfterValue": "1000003",
452*917f63adSIan Rogers        "UMask": "0x1"
453*917f63adSIan Rogers    },
454*917f63adSIan Rogers    {
455*917f63adSIan Rogers        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled [This event is alias to IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE]",
456*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
457*917f63adSIan Rogers        "CounterMask": "6",
458*917f63adSIan Rogers        "EventCode": "0x9c",
459*917f63adSIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
460*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles when no uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_BUBBLES.CYCLES_0_UOPS_DELIV.CORE]",
461*917f63adSIan Rogers        "SampleAfterValue": "1000003",
462*917f63adSIan Rogers        "UMask": "0x1"
463*917f63adSIan Rogers    },
464*917f63adSIan Rogers    {
465*917f63adSIan Rogers        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled [This event is alias to IDQ_BUBBLES.CYCLES_FE_WAS_OK]",
466*917f63adSIan Rogers        "Counter": "0,1,2,3,4,5,6,7",
467*917f63adSIan Rogers        "CounterMask": "1",
468*917f63adSIan Rogers        "EventCode": "0x9c",
469*917f63adSIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
470*917f63adSIan Rogers        "Invert": "1",
471*917f63adSIan Rogers        "PublicDescription": "Counts the number of cycles when the optimal number of uops were delivered by the Instruction Decode Queue (IDQ) to the back-end of the pipeline when there was no back-end stalls. This event counts for one SMT thread in a given cycle. [This event is alias to IDQ_BUBBLES.CYCLES_FE_WAS_OK]",
4721e8ad07eSIan Rogers        "SampleAfterValue": "1000003",
4731e8ad07eSIan Rogers        "UMask": "0x1"
4741e8ad07eSIan Rogers    }
4751e8ad07eSIan Rogers]
476