11ab4ef06SIan Rogers[
21ab4ef06SIan Rogers    {
3dfc83cc8SIan Rogers        "BriefDescription": "Counts the total number of BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
4dfc83cc8SIan Rogers        "EventCode": "0xe6",
5dfc83cc8SIan Rogers        "EventName": "BACLEARS.ANY",
6dfc83cc8SIan Rogers        "PublicDescription": "Counts the total number of BACLEARS, which occur when the Branch Target Buffer (BTB) prediction or lack thereof, was corrected by a later branch predictor in the frontend.  Includes BACLEARS due to all branch types including conditional and unconditional jumps, returns, and indirect branches.",
7dfc83cc8SIan Rogers        "SampleAfterValue": "200003",
8dfc83cc8SIan Rogers        "UMask": "0x1",
9dfc83cc8SIan Rogers        "Unit": "cpu_atom"
10dfc83cc8SIan Rogers    },
11dfc83cc8SIan Rogers    {
12dfc83cc8SIan Rogers        "BriefDescription": "Clears due to Unknown Branches.",
13dfc83cc8SIan Rogers        "EventCode": "0x60",
14dfc83cc8SIan Rogers        "EventName": "BACLEARS.ANY",
15dfc83cc8SIan 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.",
16dfc83cc8SIan Rogers        "SampleAfterValue": "100003",
17dfc83cc8SIan Rogers        "UMask": "0x1",
18dfc83cc8SIan Rogers        "Unit": "cpu_core"
19dfc83cc8SIan Rogers    },
20dfc83cc8SIan Rogers    {
21dfc83cc8SIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
22dfc83cc8SIan Rogers        "EventCode": "0x87",
23dfc83cc8SIan Rogers        "EventName": "DECODE.LCP",
24dfc83cc8SIan 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.",
25dfc83cc8SIan Rogers        "SampleAfterValue": "500009",
26dfc83cc8SIan Rogers        "UMask": "0x1",
27dfc83cc8SIan Rogers        "Unit": "cpu_core"
28dfc83cc8SIan Rogers    },
29dfc83cc8SIan Rogers    {
30dfc83cc8SIan Rogers        "BriefDescription": "Cycles the Microcode Sequencer is busy.",
31dfc83cc8SIan Rogers        "EventCode": "0x87",
32dfc83cc8SIan Rogers        "EventName": "DECODE.MS_BUSY",
33dfc83cc8SIan Rogers        "SampleAfterValue": "500009",
34dfc83cc8SIan Rogers        "UMask": "0x2",
35dfc83cc8SIan Rogers        "Unit": "cpu_core"
36dfc83cc8SIan Rogers    },
37dfc83cc8SIan Rogers    {
38dfc83cc8SIan Rogers        "BriefDescription": "DSB-to-MITE switch true penalty cycles.",
39dfc83cc8SIan Rogers        "EventCode": "0x61",
40dfc83cc8SIan Rogers        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
41dfc83cc8SIan 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.",
42dfc83cc8SIan Rogers        "SampleAfterValue": "100003",
43dfc83cc8SIan Rogers        "UMask": "0x2",
44dfc83cc8SIan Rogers        "Unit": "cpu_core"
45dfc83cc8SIan Rogers    },
46dfc83cc8SIan Rogers    {
47*ab0cfb79SIan Rogers        "BriefDescription": "DSB_FILL.FB_STALL_OT",
48*ab0cfb79SIan Rogers        "EventCode": "0x62",
49*ab0cfb79SIan Rogers        "EventName": "DSB_FILL.FB_STALL_OT",
50*ab0cfb79SIan Rogers        "SampleAfterValue": "1000003",
51*ab0cfb79SIan Rogers        "UMask": "0x10",
52*ab0cfb79SIan Rogers        "Unit": "cpu_core"
53*ab0cfb79SIan Rogers    },
54*ab0cfb79SIan Rogers    {
55dfc83cc8SIan Rogers        "BriefDescription": "Retired ANT branches",
56dfc83cc8SIan Rogers        "EventCode": "0xc6",
57dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_ANT",
58dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
59dfc83cc8SIan Rogers        "MSRValue": "0x9",
60dfc83cc8SIan Rogers        "PEBS": "1",
61dfc83cc8SIan Rogers        "PublicDescription": "Always Not Taken (ANT) conditional retired branches (no BTB entry and not mispredicted)",
62dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
63dfc83cc8SIan Rogers        "UMask": "0x3",
64dfc83cc8SIan Rogers        "Unit": "cpu_core"
65dfc83cc8SIan Rogers    },
66dfc83cc8SIan Rogers    {
67*ab0cfb79SIan Rogers        "BriefDescription": "Retired Instructions who experienced DSB miss.",
68*ab0cfb79SIan Rogers        "EventCode": "0xc6",
69*ab0cfb79SIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
70*ab0cfb79SIan Rogers        "MSRIndex": "0x3F7",
71*ab0cfb79SIan Rogers        "MSRValue": "0x1",
72*ab0cfb79SIan Rogers        "PEBS": "1",
73*ab0cfb79SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
74*ab0cfb79SIan Rogers        "SampleAfterValue": "100007",
75*ab0cfb79SIan Rogers        "UMask": "0x3",
76*ab0cfb79SIan Rogers        "Unit": "cpu_core"
77*ab0cfb79SIan Rogers    },
78*ab0cfb79SIan Rogers    {
79*ab0cfb79SIan Rogers        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
80*ab0cfb79SIan Rogers        "EventCode": "0xc6",
81*ab0cfb79SIan Rogers        "EventName": "FRONTEND_RETIRED.DSB_MISS",
82*ab0cfb79SIan Rogers        "MSRIndex": "0x3F7",
83*ab0cfb79SIan Rogers        "MSRValue": "0x11",
84*ab0cfb79SIan Rogers        "PEBS": "1",
85*ab0cfb79SIan 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.",
86*ab0cfb79SIan Rogers        "SampleAfterValue": "100007",
87*ab0cfb79SIan Rogers        "UMask": "0x3",
88*ab0cfb79SIan Rogers        "Unit": "cpu_core"
89*ab0cfb79SIan Rogers    },
90*ab0cfb79SIan Rogers    {
91dfc83cc8SIan Rogers        "BriefDescription": "Counts the number of instructions retired that were tagged because empty issue slots were seen before the uop due to ITLB miss",
92dfc83cc8SIan Rogers        "EventCode": "0xc6",
93dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
94dfc83cc8SIan Rogers        "PEBS": "1",
95dfc83cc8SIan Rogers        "SampleAfterValue": "1000003",
96dfc83cc8SIan Rogers        "UMask": "0x10",
97dfc83cc8SIan Rogers        "Unit": "cpu_atom"
98dfc83cc8SIan Rogers    },
99dfc83cc8SIan Rogers    {
100dfc83cc8SIan Rogers        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
101dfc83cc8SIan Rogers        "EventCode": "0xc6",
102dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
103dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
104dfc83cc8SIan Rogers        "MSRValue": "0x14",
105dfc83cc8SIan Rogers        "PEBS": "1",
106dfc83cc8SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
107dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
108dfc83cc8SIan Rogers        "UMask": "0x3",
109dfc83cc8SIan Rogers        "Unit": "cpu_core"
110dfc83cc8SIan Rogers    },
111dfc83cc8SIan Rogers    {
112dfc83cc8SIan Rogers        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
113dfc83cc8SIan Rogers        "EventCode": "0xc6",
114dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.L1I_MISS",
115dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
116dfc83cc8SIan Rogers        "MSRValue": "0x12",
117dfc83cc8SIan Rogers        "PEBS": "1",
118dfc83cc8SIan Rogers        "PublicDescription": "Counts retired Instructions who experienced Instruction L1 Cache true miss.",
119dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
120dfc83cc8SIan Rogers        "UMask": "0x3",
121dfc83cc8SIan Rogers        "Unit": "cpu_core"
122dfc83cc8SIan Rogers    },
123dfc83cc8SIan Rogers    {
124*ab0cfb79SIan Rogers        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
125*ab0cfb79SIan Rogers        "EventCode": "0xc6",
126*ab0cfb79SIan Rogers        "EventName": "FRONTEND_RETIRED.L2_MISS",
127*ab0cfb79SIan Rogers        "MSRIndex": "0x3F7",
128*ab0cfb79SIan Rogers        "MSRValue": "0x13",
129*ab0cfb79SIan Rogers        "PEBS": "1",
130*ab0cfb79SIan Rogers        "PublicDescription": "Counts retired Instructions who experienced Instruction L2 Cache true miss.",
131*ab0cfb79SIan Rogers        "SampleAfterValue": "100007",
132*ab0cfb79SIan Rogers        "UMask": "0x3",
133*ab0cfb79SIan Rogers        "Unit": "cpu_core"
134*ab0cfb79SIan Rogers    },
135*ab0cfb79SIan Rogers    {
136dfc83cc8SIan Rogers        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
137dfc83cc8SIan Rogers        "EventCode": "0xc6",
138dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
139dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
140dfc83cc8SIan Rogers        "MSRValue": "0x600106",
141dfc83cc8SIan Rogers        "PEBS": "1",
142dfc83cc8SIan 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.",
143dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
144dfc83cc8SIan Rogers        "UMask": "0x3",
145dfc83cc8SIan Rogers        "Unit": "cpu_core"
146dfc83cc8SIan Rogers    },
147dfc83cc8SIan Rogers    {
148dfc83cc8SIan 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.",
149dfc83cc8SIan Rogers        "EventCode": "0xc6",
150dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
151dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
152dfc83cc8SIan Rogers        "MSRValue": "0x608006",
153dfc83cc8SIan Rogers        "PEBS": "1",
154dfc83cc8SIan 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.",
155dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
156dfc83cc8SIan Rogers        "UMask": "0x3",
157dfc83cc8SIan Rogers        "Unit": "cpu_core"
158dfc83cc8SIan Rogers    },
159dfc83cc8SIan Rogers    {
160dfc83cc8SIan 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.",
161dfc83cc8SIan Rogers        "EventCode": "0xc6",
162dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
163dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
164dfc83cc8SIan Rogers        "MSRValue": "0x601006",
165dfc83cc8SIan Rogers        "PEBS": "1",
166dfc83cc8SIan 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.",
167dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
168dfc83cc8SIan Rogers        "UMask": "0x3",
169dfc83cc8SIan Rogers        "Unit": "cpu_core"
170dfc83cc8SIan Rogers    },
171dfc83cc8SIan Rogers    {
172dfc83cc8SIan Rogers        "BriefDescription": "Retired instructions after front-end starvation of at least 2 cycles",
173dfc83cc8SIan Rogers        "EventCode": "0xc6",
174dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
175dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
176dfc83cc8SIan Rogers        "MSRValue": "0x600206",
177dfc83cc8SIan Rogers        "PEBS": "1",
178dfc83cc8SIan 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.",
179dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
180dfc83cc8SIan Rogers        "UMask": "0x3",
181dfc83cc8SIan Rogers        "Unit": "cpu_core"
182dfc83cc8SIan Rogers    },
183dfc83cc8SIan Rogers    {
184dfc83cc8SIan 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.",
185dfc83cc8SIan Rogers        "EventCode": "0xc6",
186dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
187dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
188dfc83cc8SIan Rogers        "MSRValue": "0x610006",
189dfc83cc8SIan Rogers        "PEBS": "1",
190dfc83cc8SIan 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.",
191dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
192dfc83cc8SIan Rogers        "UMask": "0x3",
193dfc83cc8SIan Rogers        "Unit": "cpu_core"
194dfc83cc8SIan Rogers    },
195dfc83cc8SIan Rogers    {
196dfc83cc8SIan 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.",
197dfc83cc8SIan Rogers        "EventCode": "0xc6",
198dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
199dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
200dfc83cc8SIan Rogers        "MSRValue": "0x100206",
201dfc83cc8SIan Rogers        "PEBS": "1",
202dfc83cc8SIan 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.",
203dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
204dfc83cc8SIan Rogers        "UMask": "0x3",
205dfc83cc8SIan Rogers        "Unit": "cpu_core"
206dfc83cc8SIan Rogers    },
207dfc83cc8SIan Rogers    {
208dfc83cc8SIan 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.",
209dfc83cc8SIan Rogers        "EventCode": "0xc6",
210dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
211dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
212dfc83cc8SIan Rogers        "MSRValue": "0x602006",
213dfc83cc8SIan Rogers        "PEBS": "1",
214dfc83cc8SIan 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.",
215dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
216dfc83cc8SIan Rogers        "UMask": "0x3",
217dfc83cc8SIan Rogers        "Unit": "cpu_core"
218dfc83cc8SIan Rogers    },
219dfc83cc8SIan Rogers    {
220dfc83cc8SIan 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.",
221dfc83cc8SIan Rogers        "EventCode": "0xc6",
222dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
223dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
224dfc83cc8SIan Rogers        "MSRValue": "0x600406",
225dfc83cc8SIan Rogers        "PEBS": "1",
226dfc83cc8SIan 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.",
227dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
228dfc83cc8SIan Rogers        "UMask": "0x3",
229dfc83cc8SIan Rogers        "Unit": "cpu_core"
230dfc83cc8SIan Rogers    },
231dfc83cc8SIan Rogers    {
232dfc83cc8SIan 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.",
233dfc83cc8SIan Rogers        "EventCode": "0xc6",
234dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
235dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
236dfc83cc8SIan Rogers        "MSRValue": "0x620006",
237dfc83cc8SIan Rogers        "PEBS": "1",
238dfc83cc8SIan 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.",
239dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
240dfc83cc8SIan Rogers        "UMask": "0x3",
241dfc83cc8SIan Rogers        "Unit": "cpu_core"
242dfc83cc8SIan Rogers    },
243dfc83cc8SIan Rogers    {
244dfc83cc8SIan 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.",
245dfc83cc8SIan Rogers        "EventCode": "0xc6",
246dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
247dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
248dfc83cc8SIan Rogers        "MSRValue": "0x604006",
249dfc83cc8SIan Rogers        "PEBS": "1",
250dfc83cc8SIan 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.",
251dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
252dfc83cc8SIan Rogers        "UMask": "0x3",
253dfc83cc8SIan Rogers        "Unit": "cpu_core"
254dfc83cc8SIan Rogers    },
255dfc83cc8SIan Rogers    {
256dfc83cc8SIan 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.",
257dfc83cc8SIan Rogers        "EventCode": "0xc6",
258dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
259dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
260dfc83cc8SIan Rogers        "MSRValue": "0x600806",
261dfc83cc8SIan Rogers        "PEBS": "1",
262dfc83cc8SIan 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.",
263dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
264dfc83cc8SIan Rogers        "UMask": "0x3",
265dfc83cc8SIan Rogers        "Unit": "cpu_core"
266dfc83cc8SIan Rogers    },
267dfc83cc8SIan Rogers    {
268dfc83cc8SIan Rogers        "BriefDescription": "Mispredicted Retired ANT branches",
269dfc83cc8SIan Rogers        "EventCode": "0xc6",
270dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.MISP_ANT",
271dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
272dfc83cc8SIan Rogers        "MSRValue": "0x9",
273dfc83cc8SIan Rogers        "PEBS": "1",
274dfc83cc8SIan Rogers        "PublicDescription": "ANT retired branches that got just mispredicted",
275dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
276dfc83cc8SIan Rogers        "UMask": "0x2",
277dfc83cc8SIan Rogers        "Unit": "cpu_core"
278dfc83cc8SIan Rogers    },
279dfc83cc8SIan Rogers    {
280dfc83cc8SIan Rogers        "BriefDescription": "FRONTEND_RETIRED.MS_FLOWS",
281dfc83cc8SIan Rogers        "EventCode": "0xc6",
282dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.MS_FLOWS",
283dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
284dfc83cc8SIan Rogers        "MSRValue": "0x8",
285dfc83cc8SIan Rogers        "PEBS": "1",
286dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
287dfc83cc8SIan Rogers        "UMask": "0x3",
288dfc83cc8SIan Rogers        "Unit": "cpu_core"
289dfc83cc8SIan Rogers    },
290dfc83cc8SIan Rogers    {
291*ab0cfb79SIan Rogers        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
292*ab0cfb79SIan Rogers        "EventCode": "0xc6",
293*ab0cfb79SIan Rogers        "EventName": "FRONTEND_RETIRED.STLB_MISS",
294*ab0cfb79SIan Rogers        "MSRIndex": "0x3F7",
295*ab0cfb79SIan Rogers        "MSRValue": "0x15",
296*ab0cfb79SIan Rogers        "PEBS": "1",
297*ab0cfb79SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
298*ab0cfb79SIan Rogers        "SampleAfterValue": "100007",
299*ab0cfb79SIan Rogers        "UMask": "0x3",
300*ab0cfb79SIan Rogers        "Unit": "cpu_core"
301*ab0cfb79SIan Rogers    },
302*ab0cfb79SIan Rogers    {
303dfc83cc8SIan Rogers        "BriefDescription": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
304dfc83cc8SIan Rogers        "EventCode": "0xc6",
305dfc83cc8SIan Rogers        "EventName": "FRONTEND_RETIRED.UNKNOWN_BRANCH",
306dfc83cc8SIan Rogers        "MSRIndex": "0x3F7",
307dfc83cc8SIan Rogers        "MSRValue": "0x17",
308dfc83cc8SIan Rogers        "PEBS": "1",
309dfc83cc8SIan Rogers        "SampleAfterValue": "100007",
310dfc83cc8SIan Rogers        "UMask": "0x3",
311dfc83cc8SIan Rogers        "Unit": "cpu_core"
312dfc83cc8SIan Rogers    },
313dfc83cc8SIan Rogers    {
3141ab4ef06SIan Rogers        "BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump.",
3151ab4ef06SIan Rogers        "EventCode": "0x80",
3161ab4ef06SIan Rogers        "EventName": "ICACHE.ACCESSES",
3171ab4ef06SIan Rogers        "SampleAfterValue": "200003",
3181ab4ef06SIan Rogers        "UMask": "0x3",
3191ab4ef06SIan Rogers        "Unit": "cpu_atom"
3201ab4ef06SIan Rogers    },
3211ab4ef06SIan Rogers    {
3221ab4ef06SIan Rogers        "BriefDescription": "Counts every time the code stream enters into a new cache line by walking sequential from the previous line or being redirected by a jump and the instruction cache registers bytes are not present. -",
3231ab4ef06SIan Rogers        "EventCode": "0x80",
3241ab4ef06SIan Rogers        "EventName": "ICACHE.MISSES",
3251ab4ef06SIan Rogers        "SampleAfterValue": "200003",
3261ab4ef06SIan Rogers        "UMask": "0x2",
3271ab4ef06SIan Rogers        "Unit": "cpu_atom"
328591530c0SIan Rogers    },
329591530c0SIan Rogers    {
330dfc83cc8SIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
331dfc83cc8SIan Rogers        "EventCode": "0x80",
332dfc83cc8SIan Rogers        "EventName": "ICACHE_DATA.STALLS",
333dfc83cc8SIan 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.",
334dfc83cc8SIan Rogers        "SampleAfterValue": "500009",
335dfc83cc8SIan Rogers        "UMask": "0x4",
336dfc83cc8SIan Rogers        "Unit": "cpu_core"
337dfc83cc8SIan Rogers    },
338dfc83cc8SIan Rogers    {
339dfc83cc8SIan Rogers        "BriefDescription": "ICACHE_DATA.STALL_PERIODS",
340dfc83cc8SIan Rogers        "CounterMask": "1",
341dfc83cc8SIan Rogers        "EdgeDetect": "1",
342dfc83cc8SIan Rogers        "EventCode": "0x80",
343dfc83cc8SIan Rogers        "EventName": "ICACHE_DATA.STALL_PERIODS",
344dfc83cc8SIan Rogers        "SampleAfterValue": "500009",
345dfc83cc8SIan Rogers        "UMask": "0x4",
346dfc83cc8SIan Rogers        "Unit": "cpu_core"
347dfc83cc8SIan Rogers    },
348dfc83cc8SIan Rogers    {
349dfc83cc8SIan Rogers        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
350dfc83cc8SIan Rogers        "EventCode": "0x83",
351dfc83cc8SIan Rogers        "EventName": "ICACHE_TAG.HIT",
352dfc83cc8SIan Rogers        "PublicDescription": "Counts instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity. Accounts for both cacheable and uncacheable accesses.",
353dfc83cc8SIan Rogers        "SampleAfterValue": "200003",
354dfc83cc8SIan Rogers        "UMask": "0x1",
355dfc83cc8SIan Rogers        "Unit": "cpu_core"
356dfc83cc8SIan Rogers    },
357dfc83cc8SIan Rogers    {
358dfc83cc8SIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
359dfc83cc8SIan Rogers        "EventCode": "0x83",
360dfc83cc8SIan Rogers        "EventName": "ICACHE_TAG.STALLS",
361dfc83cc8SIan Rogers        "PublicDescription": "Counts cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
362dfc83cc8SIan Rogers        "SampleAfterValue": "200003",
363dfc83cc8SIan Rogers        "UMask": "0x4",
364dfc83cc8SIan Rogers        "Unit": "cpu_core"
365dfc83cc8SIan Rogers    },
366dfc83cc8SIan Rogers    {
367dfc83cc8SIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
368dfc83cc8SIan Rogers        "CounterMask": "1",
369dfc83cc8SIan Rogers        "EventCode": "0x79",
370dfc83cc8SIan Rogers        "EventName": "IDQ.DSB_CYCLES_ANY",
371dfc83cc8SIan Rogers        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
372dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
373dfc83cc8SIan Rogers        "UMask": "0x8",
374dfc83cc8SIan Rogers        "Unit": "cpu_core"
375dfc83cc8SIan Rogers    },
376dfc83cc8SIan Rogers    {
377dfc83cc8SIan Rogers        "BriefDescription": "Cycles DSB is delivering optimal number of Uops",
378dfc83cc8SIan Rogers        "CounterMask": "6",
379dfc83cc8SIan Rogers        "EventCode": "0x79",
380dfc83cc8SIan Rogers        "EventName": "IDQ.DSB_CYCLES_OK",
381dfc83cc8SIan 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).",
382dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
383dfc83cc8SIan Rogers        "UMask": "0x8",
384dfc83cc8SIan Rogers        "Unit": "cpu_core"
385dfc83cc8SIan Rogers    },
386dfc83cc8SIan Rogers    {
387dfc83cc8SIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
388dfc83cc8SIan Rogers        "EventCode": "0x79",
389dfc83cc8SIan Rogers        "EventName": "IDQ.DSB_UOPS",
390dfc83cc8SIan Rogers        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path.",
391dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
392dfc83cc8SIan Rogers        "UMask": "0x8",
393dfc83cc8SIan Rogers        "Unit": "cpu_core"
394dfc83cc8SIan Rogers    },
395dfc83cc8SIan Rogers    {
396dfc83cc8SIan Rogers        "BriefDescription": "Cycles MITE is delivering any Uop",
397dfc83cc8SIan Rogers        "CounterMask": "1",
398dfc83cc8SIan Rogers        "EventCode": "0x79",
399dfc83cc8SIan Rogers        "EventName": "IDQ.MITE_CYCLES_ANY",
400dfc83cc8SIan 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).",
401dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
402dfc83cc8SIan Rogers        "UMask": "0x4",
403dfc83cc8SIan Rogers        "Unit": "cpu_core"
404dfc83cc8SIan Rogers    },
405dfc83cc8SIan Rogers    {
406dfc83cc8SIan Rogers        "BriefDescription": "Cycles MITE is delivering optimal number of Uops",
407dfc83cc8SIan Rogers        "CounterMask": "6",
408dfc83cc8SIan Rogers        "EventCode": "0x79",
409dfc83cc8SIan Rogers        "EventName": "IDQ.MITE_CYCLES_OK",
410dfc83cc8SIan 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).",
411dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
412dfc83cc8SIan Rogers        "UMask": "0x4",
413dfc83cc8SIan Rogers        "Unit": "cpu_core"
414dfc83cc8SIan Rogers    },
415dfc83cc8SIan Rogers    {
416dfc83cc8SIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
417dfc83cc8SIan Rogers        "EventCode": "0x79",
418dfc83cc8SIan Rogers        "EventName": "IDQ.MITE_UOPS",
419dfc83cc8SIan 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).",
420dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
421dfc83cc8SIan Rogers        "UMask": "0x4",
422dfc83cc8SIan Rogers        "Unit": "cpu_core"
423dfc83cc8SIan Rogers    },
424dfc83cc8SIan Rogers    {
425dfc83cc8SIan Rogers        "BriefDescription": "Cycles when uops are being delivered to IDQ while MS is busy",
426dfc83cc8SIan Rogers        "CounterMask": "1",
427dfc83cc8SIan Rogers        "EventCode": "0x79",
428dfc83cc8SIan Rogers        "EventName": "IDQ.MS_CYCLES_ANY",
429dfc83cc8SIan 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.",
430dfc83cc8SIan Rogers        "SampleAfterValue": "2000003",
431dfc83cc8SIan Rogers        "UMask": "0x20",
432dfc83cc8SIan Rogers        "Unit": "cpu_core"
433dfc83cc8SIan Rogers    },
434dfc83cc8SIan Rogers    {
435dfc83cc8SIan Rogers        "BriefDescription": "Number of switches from DSB or MITE to the MS",
436dfc83cc8SIan Rogers        "CounterMask": "1",
437dfc83cc8SIan Rogers        "EdgeDetect": "1",
438dfc83cc8SIan Rogers        "EventCode": "0x79",
439dfc83cc8SIan Rogers        "EventName": "IDQ.MS_SWITCHES",
440dfc83cc8SIan Rogers        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
441dfc83cc8SIan Rogers        "SampleAfterValue": "100003",
442dfc83cc8SIan Rogers        "UMask": "0x20",
443dfc83cc8SIan Rogers        "Unit": "cpu_core"
444dfc83cc8SIan Rogers    },
445dfc83cc8SIan Rogers    {
446dfc83cc8SIan Rogers        "BriefDescription": "Uops initiated by MITE or Decode Stream Buffer (DSB) and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
447dfc83cc8SIan Rogers        "EventCode": "0x79",
448dfc83cc8SIan Rogers        "EventName": "IDQ.MS_UOPS",
449dfc83cc8SIan 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.",
450dfc83cc8SIan Rogers        "SampleAfterValue": "1000003",
451dfc83cc8SIan Rogers        "UMask": "0x20",
452dfc83cc8SIan Rogers        "Unit": "cpu_core"
453dfc83cc8SIan Rogers    },
454dfc83cc8SIan Rogers    {
455591530c0SIan Rogers        "BriefDescription": "This event counts a subset of the Topdown Slots event that were 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.",
456591530c0SIan Rogers        "EventCode": "0x9c",
457591530c0SIan Rogers        "EventName": "IDQ_BUBBLES.CORE",
458591530c0SIan Rogers        "PublicDescription": "This event counts a subset of the Topdown Slots event that were 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.\nThe 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.",
459591530c0SIan Rogers        "SampleAfterValue": "1000003",
460591530c0SIan Rogers        "UMask": "0x1",
461591530c0SIan Rogers        "Unit": "cpu_core"
462dfc83cc8SIan Rogers    },
463dfc83cc8SIan Rogers    {
464dfc83cc8SIan Rogers        "BriefDescription": "Uops not delivered by IDQ when backend of the machine is not stalled",
465dfc83cc8SIan Rogers        "EventCode": "0x9c",
466dfc83cc8SIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
467dfc83cc8SIan 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.",
468dfc83cc8SIan Rogers        "SampleAfterValue": "1000003",
469dfc83cc8SIan Rogers        "UMask": "0x1",
470dfc83cc8SIan Rogers        "Unit": "cpu_core"
471dfc83cc8SIan Rogers    },
472dfc83cc8SIan Rogers    {
473dfc83cc8SIan Rogers        "BriefDescription": "Cycles when no uops are not delivered by the IDQ when backend of the machine is not stalled",
474dfc83cc8SIan Rogers        "CounterMask": "6",
475dfc83cc8SIan Rogers        "EventCode": "0x9c",
476dfc83cc8SIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
477dfc83cc8SIan 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.",
478dfc83cc8SIan Rogers        "SampleAfterValue": "1000003",
479dfc83cc8SIan Rogers        "UMask": "0x1",
480dfc83cc8SIan Rogers        "Unit": "cpu_core"
481dfc83cc8SIan Rogers    },
482dfc83cc8SIan Rogers    {
483dfc83cc8SIan Rogers        "BriefDescription": "Cycles when optimal number of uops was delivered to the back-end when the back-end is not stalled",
484dfc83cc8SIan Rogers        "CounterMask": "1",
485dfc83cc8SIan Rogers        "EventCode": "0x9c",
486dfc83cc8SIan Rogers        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
487dfc83cc8SIan Rogers        "Invert": "1",
488dfc83cc8SIan 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.",
489dfc83cc8SIan Rogers        "SampleAfterValue": "1000003",
490dfc83cc8SIan Rogers        "UMask": "0x1",
491dfc83cc8SIan Rogers        "Unit": "cpu_core"
4921ab4ef06SIan Rogers    }
4931ab4ef06SIan Rogers]
494