1630171d4SAndi Kleen[
2630171d4SAndi Kleen    {
3*2c72404eSJin Yao        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
4630171d4SAndi Kleen        "Counter": "0,1,2,3",
5b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
6*2c72404eSJin Yao        "EventCode": "0xE6",
7*2c72404eSJin Yao        "EventName": "BACLEARS.ANY",
8*2c72404eSJin Yao        "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
9*2c72404eSJin Yao        "SampleAfterValue": "100003",
10*2c72404eSJin Yao        "UMask": "0x1"
11*2c72404eSJin Yao    },
12*2c72404eSJin Yao    {
13*2c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
14*2c72404eSJin Yao        "Counter": "0,1,2,3",
15*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
16*2c72404eSJin Yao        "EventCode": "0xAB",
17*2c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.COUNT",
18*2c72404eSJin Yao        "PublicDescription": "This event counts the number of the Decode Stream Buffer (DSB)-to-MITE switches including all misses because of missing Decode Stream Buffer (DSB) cache and u-arch forced misses.\nNote: Invoking MITE requires two or three cycles delay.",
19630171d4SAndi Kleen        "SampleAfterValue": "2000003",
20*2c72404eSJin Yao        "UMask": "0x1"
21*2c72404eSJin Yao    },
22*2c72404eSJin Yao    {
23*2c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
24*2c72404eSJin Yao        "Counter": "0,1,2,3",
25*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
26*2c72404eSJin Yao        "EventCode": "0xAB",
27*2c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
28*2c72404eSJin Yao        "PublicDescription": "Counts Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles. These cycles do not include uops routed through because of the switch itself, for example, when Instruction Decode Queue (IDQ) pre-allocation is unavailable, or Instruction Decode Queue (IDQ) is full. SBD-to-MITE switch true penalty cycles happen after the merge mux (MM) receives Decode Stream Buffer (DSB) Sync-indication until receiving the first MITE uop. MM is placed before Instruction Decode Queue (IDQ) to merge uops being fed from the MITE and Decode Stream Buffer (DSB) paths. Decode Stream Buffer (DSB) inserts the Sync-indication whenever a Decode Stream Buffer (DSB)-to-MITE switch occurs.Penalty: A Decode Stream Buffer (DSB) hit followed by a Decode Stream Buffer (DSB) miss can cost up to six cycles in which no uops are delivered to the IDQ. Most often, such switches from the Decode Stream Buffer (DSB) to the legacy pipeline cost 02 cycles.",
29*2c72404eSJin Yao        "SampleAfterValue": "2000003",
30*2c72404eSJin Yao        "UMask": "0x2"
31*2c72404eSJin Yao    },
32*2c72404eSJin Yao    {
33*2c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced decode stream buffer (DSB - the decoded instruction-cache) miss.",
34*2c72404eSJin Yao        "Counter": "0,1,2,3",
35*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
36*2c72404eSJin Yao        "EventCode": "0xC6",
37*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.DSB_MISS",
38*2c72404eSJin Yao        "MSRIndex": "0x3F7",
39*2c72404eSJin Yao        "MSRValue": "0x11",
40*2c72404eSJin Yao        "PEBS": "1",
41*2c72404eSJin Yao        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
42*2c72404eSJin Yao        "SampleAfterValue": "100007",
43*2c72404eSJin Yao        "TakenAlone": "1",
44*2c72404eSJin Yao        "UMask": "0x1"
45630171d4SAndi Kleen    },
46630171d4SAndi Kleen    {
47b5ff7f27SJin Yao        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
48630171d4SAndi Kleen        "Counter": "0,1,2,3",
49b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
50630171d4SAndi Kleen        "EventCode": "0xC6",
5119f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
52630171d4SAndi Kleen        "MSRIndex": "0x3F7",
53b5ff7f27SJin Yao        "MSRValue": "0x14",
54b5ff7f27SJin Yao        "PEBS": "1",
5519f2d40cSAndi Kleen        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
56630171d4SAndi Kleen        "SampleAfterValue": "100007",
57b5ff7f27SJin Yao        "TakenAlone": "1",
58b5ff7f27SJin Yao        "UMask": "0x1"
59630171d4SAndi Kleen    },
60630171d4SAndi Kleen    {
61*2c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
62*2c72404eSJin Yao        "Counter": "0,1,2,3",
63*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
64*2c72404eSJin Yao        "EventCode": "0xC6",
65*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L1I_MISS",
66*2c72404eSJin Yao        "MSRIndex": "0x3F7",
67*2c72404eSJin Yao        "MSRValue": "0x12",
68*2c72404eSJin Yao        "PEBS": "1",
69*2c72404eSJin Yao        "SampleAfterValue": "100007",
70*2c72404eSJin Yao        "TakenAlone": "1",
71*2c72404eSJin Yao        "UMask": "0x1"
72*2c72404eSJin Yao    },
73*2c72404eSJin Yao    {
74*2c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
75*2c72404eSJin Yao        "Counter": "0,1,2,3",
76*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
77*2c72404eSJin Yao        "EventCode": "0xC6",
78*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L2_MISS",
79*2c72404eSJin Yao        "MSRIndex": "0x3F7",
80*2c72404eSJin Yao        "MSRValue": "0x13",
81*2c72404eSJin Yao        "PEBS": "1",
82*2c72404eSJin Yao        "SampleAfterValue": "100007",
83*2c72404eSJin Yao        "TakenAlone": "1",
84*2c72404eSJin Yao        "UMask": "0x1"
85*2c72404eSJin Yao    },
86*2c72404eSJin Yao    {
87*2c72404eSJin Yao        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
88*2c72404eSJin Yao        "Counter": "0,1,2,3",
89*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
90*2c72404eSJin Yao        "EventCode": "0xc6",
91*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
92*2c72404eSJin Yao        "MSRIndex": "0x3F7",
93*2c72404eSJin Yao        "MSRValue": "0x400106",
94*2c72404eSJin Yao        "PEBS": "2",
95*2c72404eSJin Yao        "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.",
96*2c72404eSJin Yao        "SampleAfterValue": "100007",
97*2c72404eSJin Yao        "TakenAlone": "1",
98*2c72404eSJin Yao        "UMask": "0x1"
99*2c72404eSJin Yao    },
100*2c72404eSJin Yao    {
101b5ff7f27SJin Yao        "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.",
102630171d4SAndi Kleen        "Counter": "0,1,2,3",
103b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
104630171d4SAndi Kleen        "EventCode": "0xC6",
10519f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
106630171d4SAndi Kleen        "MSRIndex": "0x3F7",
107b5ff7f27SJin Yao        "MSRValue": "0x408006",
108b5ff7f27SJin Yao        "PEBS": "1",
109630171d4SAndi Kleen        "SampleAfterValue": "100007",
110b5ff7f27SJin Yao        "TakenAlone": "1",
111b5ff7f27SJin Yao        "UMask": "0x1"
112630171d4SAndi Kleen    },
113630171d4SAndi Kleen    {
114b5ff7f27SJin Yao        "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.",
11519f2d40cSAndi Kleen        "Counter": "0,1,2,3",
116b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
117b5ff7f27SJin Yao        "EventCode": "0xC6",
11819f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
11919f2d40cSAndi Kleen        "MSRIndex": "0x3F7",
120b5ff7f27SJin Yao        "MSRValue": "0x401006",
121b5ff7f27SJin Yao        "PEBS": "1",
12219f2d40cSAndi Kleen        "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.",
12319f2d40cSAndi Kleen        "SampleAfterValue": "100007",
124b5ff7f27SJin Yao        "TakenAlone": "1",
125b5ff7f27SJin Yao        "UMask": "0x1"
12619f2d40cSAndi Kleen    },
12719f2d40cSAndi Kleen    {
128b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 2 cycles which was not interrupted by a back-end stall.",
129b5ff7f27SJin Yao        "Counter": "0,1,2,3",
130b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
131b5ff7f27SJin Yao        "EventCode": "0xC6",
132b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
133b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
134b5ff7f27SJin Yao        "MSRValue": "0x400206",
135b5ff7f27SJin Yao        "PEBS": "1",
136b5ff7f27SJin Yao        "SampleAfterValue": "100007",
137b5ff7f27SJin Yao        "TakenAlone": "1",
138b5ff7f27SJin Yao        "UMask": "0x1"
139b5ff7f27SJin Yao    },
140b5ff7f27SJin Yao    {
141b5ff7f27SJin Yao        "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.",
142b5ff7f27SJin Yao        "Counter": "0,1,2,3",
143b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
144b5ff7f27SJin Yao        "EventCode": "0xC6",
145b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
146b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
147b5ff7f27SJin Yao        "MSRValue": "0x410006",
148b5ff7f27SJin Yao        "PEBS": "1",
149b5ff7f27SJin Yao        "SampleAfterValue": "100007",
150b5ff7f27SJin Yao        "TakenAlone": "1",
151b5ff7f27SJin Yao        "UMask": "0x1"
152b5ff7f27SJin Yao    },
153b5ff7f27SJin Yao    {
154*2c72404eSJin Yao        "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.",
155*2c72404eSJin Yao        "Counter": "0,1,2,3",
156*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
157*2c72404eSJin Yao        "EventCode": "0xC6",
158*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
159*2c72404eSJin Yao        "MSRIndex": "0x3F7",
160*2c72404eSJin Yao        "MSRValue": "0x100206",
161*2c72404eSJin Yao        "PEBS": "1",
162*2c72404eSJin Yao        "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.",
163*2c72404eSJin Yao        "SampleAfterValue": "100007",
164*2c72404eSJin Yao        "TakenAlone": "1",
165*2c72404eSJin Yao        "UMask": "0x1"
166*2c72404eSJin Yao    },
167*2c72404eSJin Yao    {
168b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 2 bubble-slots for a period of 2 cycles which was not interrupted by a back-end stall.",
169b5ff7f27SJin Yao        "Counter": "0,1,2,3",
170b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
171b5ff7f27SJin Yao        "EventCode": "0xC6",
172b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_2",
173b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
174b5ff7f27SJin Yao        "MSRValue": "0x200206",
175b5ff7f27SJin Yao        "PEBS": "1",
176b5ff7f27SJin Yao        "SampleAfterValue": "100007",
177b5ff7f27SJin Yao        "TakenAlone": "1",
178b5ff7f27SJin Yao        "UMask": "0x1"
179b5ff7f27SJin Yao    },
180b5ff7f27SJin Yao    {
181b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 3 bubble-slots for a period of 2 cycles which was not interrupted by a back-end stall.",
182b5ff7f27SJin Yao        "Counter": "0,1,2,3",
183b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
184b5ff7f27SJin Yao        "EventCode": "0xC6",
185b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_3",
186b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
187b5ff7f27SJin Yao        "MSRValue": "0x300206",
188b5ff7f27SJin Yao        "PEBS": "1",
189b5ff7f27SJin Yao        "SampleAfterValue": "100007",
190b5ff7f27SJin Yao        "TakenAlone": "1",
191b5ff7f27SJin Yao        "UMask": "0x1"
192b5ff7f27SJin Yao    },
193b5ff7f27SJin Yao    {
194b5ff7f27SJin Yao        "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.",
195b5ff7f27SJin Yao        "Counter": "0,1,2,3",
196b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
197b5ff7f27SJin Yao        "EventCode": "0xC6",
198b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
199b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
200b5ff7f27SJin Yao        "MSRValue": "0x402006",
201b5ff7f27SJin Yao        "PEBS": "1",
202b5ff7f27SJin Yao        "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.",
203b5ff7f27SJin Yao        "SampleAfterValue": "100007",
204b5ff7f27SJin Yao        "TakenAlone": "1",
205b5ff7f27SJin Yao        "UMask": "0x1"
206b5ff7f27SJin Yao    },
207b5ff7f27SJin Yao    {
208*2c72404eSJin Yao        "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.",
209*2c72404eSJin Yao        "Counter": "0,1,2,3",
210*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
211*2c72404eSJin Yao        "EventCode": "0xC6",
212*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
213*2c72404eSJin Yao        "MSRIndex": "0x3F7",
214*2c72404eSJin Yao        "MSRValue": "0x400406",
215*2c72404eSJin Yao        "PEBS": "1",
216*2c72404eSJin Yao        "SampleAfterValue": "100007",
217*2c72404eSJin Yao        "TakenAlone": "1",
218*2c72404eSJin Yao        "UMask": "0x1"
219*2c72404eSJin Yao    },
220*2c72404eSJin Yao    {
221*2c72404eSJin Yao        "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.",
222*2c72404eSJin Yao        "Counter": "0,1,2,3",
223*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
224*2c72404eSJin Yao        "EventCode": "0xC6",
225*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
226*2c72404eSJin Yao        "MSRIndex": "0x3F7",
227*2c72404eSJin Yao        "MSRValue": "0x420006",
228*2c72404eSJin Yao        "PEBS": "1",
229*2c72404eSJin Yao        "SampleAfterValue": "100007",
230*2c72404eSJin Yao        "TakenAlone": "1",
231*2c72404eSJin Yao        "UMask": "0x1"
232*2c72404eSJin Yao    },
233*2c72404eSJin Yao    {
234*2c72404eSJin Yao        "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.",
235*2c72404eSJin Yao        "Counter": "0,1,2,3",
236*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
237*2c72404eSJin Yao        "EventCode": "0xC6",
238*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
239*2c72404eSJin Yao        "MSRIndex": "0x3F7",
240*2c72404eSJin Yao        "MSRValue": "0x404006",
241*2c72404eSJin Yao        "PEBS": "1",
242*2c72404eSJin Yao        "SampleAfterValue": "100007",
243*2c72404eSJin Yao        "TakenAlone": "1",
244*2c72404eSJin Yao        "UMask": "0x1"
245*2c72404eSJin Yao    },
246*2c72404eSJin Yao    {
247*2c72404eSJin Yao        "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.",
248*2c72404eSJin Yao        "Counter": "0,1,2,3",
249*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
250*2c72404eSJin Yao        "EventCode": "0xC6",
251*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
252*2c72404eSJin Yao        "MSRIndex": "0x3F7",
253*2c72404eSJin Yao        "MSRValue": "0x400806",
254*2c72404eSJin Yao        "PEBS": "1",
255*2c72404eSJin Yao        "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.",
256*2c72404eSJin Yao        "SampleAfterValue": "100007",
257*2c72404eSJin Yao        "TakenAlone": "1",
258*2c72404eSJin Yao        "UMask": "0x1"
259*2c72404eSJin Yao    },
260*2c72404eSJin Yao    {
261*2c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
262*2c72404eSJin Yao        "Counter": "0,1,2,3",
263*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
264*2c72404eSJin Yao        "EventCode": "0xC6",
265*2c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.STLB_MISS",
266*2c72404eSJin Yao        "MSRIndex": "0x3F7",
267*2c72404eSJin Yao        "MSRValue": "0x15",
268*2c72404eSJin Yao        "PEBS": "1",
269*2c72404eSJin Yao        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
270*2c72404eSJin Yao        "SampleAfterValue": "100007",
271*2c72404eSJin Yao        "TakenAlone": "1",
272*2c72404eSJin Yao        "UMask": "0x1"
273*2c72404eSJin Yao    },
274*2c72404eSJin Yao    {
275*2c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
276b5ff7f27SJin Yao        "Counter": "0,1,2,3",
277b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
278*2c72404eSJin Yao        "EventCode": "0x80",
279*2c72404eSJin Yao        "EventName": "ICACHE_16B.IFDATA_STALL",
280*2c72404eSJin Yao        "PublicDescription": "Cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity.",
281b5ff7f27SJin Yao        "SampleAfterValue": "2000003",
282*2c72404eSJin Yao        "UMask": "0x4"
283*2c72404eSJin Yao    },
284*2c72404eSJin Yao    {
285*2c72404eSJin Yao        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
286*2c72404eSJin Yao        "Counter": "0,1,2,3",
287*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
288*2c72404eSJin Yao        "EventCode": "0x83",
289*2c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_HIT",
290*2c72404eSJin Yao        "SampleAfterValue": "200003",
291b5ff7f27SJin Yao        "UMask": "0x1"
292b5ff7f27SJin Yao    },
293b5ff7f27SJin Yao    {
294b5ff7f27SJin Yao        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
295b5ff7f27SJin Yao        "Counter": "0,1,2,3",
296b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
297b5ff7f27SJin Yao        "EventCode": "0x83",
298b5ff7f27SJin Yao        "EventName": "ICACHE_64B.IFTAG_MISS",
299b5ff7f27SJin Yao        "SampleAfterValue": "200003",
300b5ff7f27SJin Yao        "UMask": "0x2"
301b5ff7f27SJin Yao    },
302b5ff7f27SJin Yao    {
303*2c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
304b5ff7f27SJin Yao        "Counter": "0,1,2,3",
305*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
306*2c72404eSJin Yao        "EventCode": "0x83",
307*2c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_STALL",
308*2c72404eSJin Yao        "SampleAfterValue": "200003",
309*2c72404eSJin Yao        "UMask": "0x4"
310*2c72404eSJin Yao    },
311*2c72404eSJin Yao    {
312*2c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
313*2c72404eSJin Yao        "Counter": "0,1,2,3",
314*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
315*2c72404eSJin Yao        "CounterMask": "4",
316*2c72404eSJin Yao        "EventCode": "0x79",
317*2c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
318*2c72404eSJin Yao        "PublicDescription": "Counts the number of cycles 4 uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
319*2c72404eSJin Yao        "SampleAfterValue": "2000003",
320*2c72404eSJin Yao        "UMask": "0x18"
321*2c72404eSJin Yao    },
322*2c72404eSJin Yao    {
323*2c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
324*2c72404eSJin Yao        "Counter": "0,1,2,3",
325*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
326*2c72404eSJin Yao        "CounterMask": "1",
327*2c72404eSJin Yao        "EventCode": "0x79",
328*2c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
329*2c72404eSJin Yao        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
330*2c72404eSJin Yao        "SampleAfterValue": "2000003",
331*2c72404eSJin Yao        "UMask": "0x18"
332*2c72404eSJin Yao    },
333*2c72404eSJin Yao    {
334*2c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering 4 Uops",
335*2c72404eSJin Yao        "Counter": "0,1,2,3",
336*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
337*2c72404eSJin Yao        "CounterMask": "4",
338*2c72404eSJin Yao        "EventCode": "0x79",
339*2c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
340*2c72404eSJin Yao        "PublicDescription": "Counts the number of cycles 4 uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. Counting includes uops that may 'bypass' the IDQ. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
341*2c72404eSJin Yao        "SampleAfterValue": "2000003",
342*2c72404eSJin Yao        "UMask": "0x24"
343*2c72404eSJin Yao    },
344*2c72404eSJin Yao    {
345*2c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering any Uop",
346*2c72404eSJin Yao        "Counter": "0,1,2,3",
347*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
348*2c72404eSJin Yao        "CounterMask": "1",
349*2c72404eSJin Yao        "EventCode": "0x79",
350*2c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
351*2c72404eSJin Yao        "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. Counting includes uops that may 'bypass' the IDQ. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
352*2c72404eSJin Yao        "SampleAfterValue": "2000003",
353*2c72404eSJin Yao        "UMask": "0x24"
354*2c72404eSJin Yao    },
355*2c72404eSJin Yao    {
356*2c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
357*2c72404eSJin Yao        "Counter": "0,1,2,3",
358*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
359*2c72404eSJin Yao        "CounterMask": "1",
360*2c72404eSJin Yao        "EventCode": "0x79",
361*2c72404eSJin Yao        "EventName": "IDQ.DSB_CYCLES",
362*2c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may 'bypass' the IDQ.",
363*2c72404eSJin Yao        "SampleAfterValue": "2000003",
364*2c72404eSJin Yao        "UMask": "0x8"
365*2c72404eSJin Yao    },
366*2c72404eSJin Yao    {
367*2c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
368*2c72404eSJin Yao        "Counter": "0,1,2,3",
369*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
370*2c72404eSJin Yao        "EventCode": "0x79",
371*2c72404eSJin Yao        "EventName": "IDQ.DSB_UOPS",
372*2c72404eSJin Yao        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may 'bypass' the IDQ.",
373*2c72404eSJin Yao        "SampleAfterValue": "2000003",
374*2c72404eSJin Yao        "UMask": "0x8"
375*2c72404eSJin Yao    },
376*2c72404eSJin Yao    {
377*2c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
378*2c72404eSJin Yao        "Counter": "0,1,2,3",
379*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
380*2c72404eSJin Yao        "CounterMask": "1",
381*2c72404eSJin Yao        "EventCode": "0x79",
382*2c72404eSJin Yao        "EventName": "IDQ.MITE_CYCLES",
383*2c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may 'bypass' the IDQ.",
384*2c72404eSJin Yao        "SampleAfterValue": "2000003",
385*2c72404eSJin Yao        "UMask": "0x4"
386*2c72404eSJin Yao    },
387*2c72404eSJin Yao    {
388*2c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
389*2c72404eSJin Yao        "Counter": "0,1,2,3",
390*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
391*2c72404eSJin Yao        "EventCode": "0x79",
392*2c72404eSJin Yao        "EventName": "IDQ.MITE_UOPS",
393*2c72404eSJin Yao        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may 'bypass' the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
394*2c72404eSJin Yao        "SampleAfterValue": "2000003",
395*2c72404eSJin Yao        "UMask": "0x4"
396*2c72404eSJin Yao    },
397*2c72404eSJin Yao    {
398*2c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
399*2c72404eSJin Yao        "Counter": "0,1,2,3",
400*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
401*2c72404eSJin Yao        "CounterMask": "1",
402*2c72404eSJin Yao        "EventCode": "0x79",
403*2c72404eSJin Yao        "EventName": "IDQ.MS_CYCLES",
404*2c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
405*2c72404eSJin Yao        "SampleAfterValue": "2000003",
406*2c72404eSJin Yao        "UMask": "0x30"
407*2c72404eSJin Yao    },
408*2c72404eSJin Yao    {
409*2c72404eSJin Yao        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
410*2c72404eSJin Yao        "Counter": "0,1,2,3",
411*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
412*2c72404eSJin Yao        "CounterMask": "1",
413*2c72404eSJin Yao        "EventCode": "0x79",
414*2c72404eSJin Yao        "EventName": "IDQ.MS_DSB_CYCLES",
415*2c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.",
416*2c72404eSJin Yao        "SampleAfterValue": "2000003",
417*2c72404eSJin Yao        "UMask": "0x10"
418*2c72404eSJin Yao    },
419*2c72404eSJin Yao    {
420*2c72404eSJin Yao        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
421*2c72404eSJin Yao        "Counter": "0,1,2,3",
422*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
423*2c72404eSJin Yao        "EventCode": "0x79",
424*2c72404eSJin Yao        "EventName": "IDQ.MS_MITE_UOPS",
425*2c72404eSJin Yao        "PublicDescription": "Counts the number of uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.",
426*2c72404eSJin Yao        "SampleAfterValue": "2000003",
427*2c72404eSJin Yao        "UMask": "0x20"
428*2c72404eSJin Yao    },
429*2c72404eSJin Yao    {
430*2c72404eSJin Yao        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
431*2c72404eSJin Yao        "Counter": "0,1,2,3",
432*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
433*2c72404eSJin Yao        "CounterMask": "1",
434*2c72404eSJin Yao        "EdgeDetect": "1",
435*2c72404eSJin Yao        "EventCode": "0x79",
436*2c72404eSJin Yao        "EventName": "IDQ.MS_SWITCHES",
437*2c72404eSJin Yao        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
438*2c72404eSJin Yao        "SampleAfterValue": "2000003",
439*2c72404eSJin Yao        "UMask": "0x30"
440*2c72404eSJin Yao    },
441*2c72404eSJin Yao    {
442*2c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
443*2c72404eSJin Yao        "Counter": "0,1,2,3",
444*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
445*2c72404eSJin Yao        "EventCode": "0x79",
446*2c72404eSJin Yao        "EventName": "IDQ.MS_UOPS",
447*2c72404eSJin Yao        "PublicDescription": "Counts the total number of uops delivered by the Microcode Sequencer (MS). Any instruction over 4 uops will be delivered by the MS. Some instructions such as transcendentals may additionally generate uops from the MS.",
448*2c72404eSJin Yao        "SampleAfterValue": "2000003",
449*2c72404eSJin Yao        "UMask": "0x30"
450*2c72404eSJin Yao    },
451*2c72404eSJin Yao    {
452*2c72404eSJin Yao        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
453*2c72404eSJin Yao        "Counter": "0,1,2,3",
454*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
455*2c72404eSJin Yao        "EventCode": "0x9C",
456*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
457*2c72404eSJin Yao        "PublicDescription": "Counts the number of uops not delivered to Resource Allocation Table (RAT) per thread adding 4  x when Resource Allocation Table (RAT) is not stalled and Instruction Decode Queue (IDQ) delivers x uops to Resource Allocation Table (RAT) (where x belongs to {0,1,2,3}). Counting does not cover cases when: a. IDQ-Resource Allocation Table (RAT) pipe serves the other thread. b. Resource Allocation Table (RAT) is stalled for the thread (including uop drops and clear BE conditions).  c. Instruction Decode Queue (IDQ) delivers four uops.",
458*2c72404eSJin Yao        "SampleAfterValue": "2000003",
459*2c72404eSJin Yao        "UMask": "0x1"
460*2c72404eSJin Yao    },
461*2c72404eSJin Yao    {
462*2c72404eSJin Yao        "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled",
463*2c72404eSJin Yao        "Counter": "0,1,2,3",
464*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
465*2c72404eSJin Yao        "CounterMask": "4",
466*2c72404eSJin Yao        "EventCode": "0x9C",
467*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
468*2c72404eSJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles when no uops are delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core =4.",
469*2c72404eSJin Yao        "SampleAfterValue": "2000003",
470*2c72404eSJin Yao        "UMask": "0x1"
471*2c72404eSJin Yao    },
472*2c72404eSJin Yao    {
473*2c72404eSJin Yao        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
474*2c72404eSJin Yao        "Counter": "0,1,2,3",
475*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
476*2c72404eSJin Yao        "CounterMask": "1",
477*2c72404eSJin Yao        "EventCode": "0x9C",
478*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
479*2c72404eSJin Yao        "Invert": "1",
480*2c72404eSJin Yao        "SampleAfterValue": "2000003",
481*2c72404eSJin Yao        "UMask": "0x1"
482*2c72404eSJin Yao    },
483*2c72404eSJin Yao    {
484*2c72404eSJin Yao        "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled",
485*2c72404eSJin Yao        "Counter": "0,1,2,3",
486*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
487*2c72404eSJin Yao        "CounterMask": "3",
488*2c72404eSJin Yao        "EventCode": "0x9C",
489*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
490*2c72404eSJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles when less than 1 uop is delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core >= 3.",
491*2c72404eSJin Yao        "SampleAfterValue": "2000003",
492*2c72404eSJin Yao        "UMask": "0x1"
493*2c72404eSJin Yao    },
494*2c72404eSJin Yao    {
495*2c72404eSJin Yao        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
496*2c72404eSJin Yao        "Counter": "0,1,2,3",
497*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
498*2c72404eSJin Yao        "CounterMask": "2",
499*2c72404eSJin Yao        "EventCode": "0x9C",
500*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
501*2c72404eSJin Yao        "PublicDescription": "Cycles with less than 2 uops delivered by the front-end.",
502*2c72404eSJin Yao        "SampleAfterValue": "2000003",
503*2c72404eSJin Yao        "UMask": "0x1"
504*2c72404eSJin Yao    },
505*2c72404eSJin Yao    {
506*2c72404eSJin Yao        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
507*2c72404eSJin Yao        "Counter": "0,1,2,3",
508*2c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
509*2c72404eSJin Yao        "CounterMask": "1",
510*2c72404eSJin Yao        "EventCode": "0x9C",
511*2c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
512*2c72404eSJin Yao        "PublicDescription": "Cycles with less than 3 uops delivered by the front-end.",
513*2c72404eSJin Yao        "SampleAfterValue": "2000003",
514b5ff7f27SJin Yao        "UMask": "0x1"
515630171d4SAndi Kleen    }
516630171d4SAndi Kleen]