xref: /linux/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
16e82bdaeSAndi Kleen[
26e82bdaeSAndi Kleen    {
3b5948fc6SIan Rogers        "BriefDescription": "This event counts executed load operations with all the following traits: 1. addressing of the format [base + offset], 2. the offset is between 1 and 2047, 3. the address specified in the base register is in one page and the address [base+offset] is in an.",
4*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
559da390eSAndi Kleen        "EventCode": "0xB6",
659da390eSAndi Kleen        "EventName": "AGU_BYPASS_CANCEL.COUNT",
759da390eSAndi Kleen        "SampleAfterValue": "100003",
8b5948fc6SIan Rogers        "UMask": "0x1"
96e82bdaeSAndi Kleen    },
106e82bdaeSAndi Kleen    {
11b5948fc6SIan Rogers        "BriefDescription": "Divide operations executed.",
12*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1359da390eSAndi Kleen        "CounterMask": "1",
1459da390eSAndi Kleen        "EdgeDetect": "1",
15b5948fc6SIan Rogers        "EventCode": "0x14",
16b5948fc6SIan Rogers        "EventName": "ARITH.FPU_DIV",
17b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of the divide operations executed.",
1859da390eSAndi Kleen        "SampleAfterValue": "100003",
19b5948fc6SIan Rogers        "UMask": "0x1"
2059da390eSAndi Kleen    },
2159da390eSAndi Kleen    {
22b5948fc6SIan Rogers        "BriefDescription": "Cycles when divider is busy executing divide operations.",
23*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
24b5948fc6SIan Rogers        "EventCode": "0x14",
25b5948fc6SIan Rogers        "EventName": "ARITH.FPU_DIV_ACTIVE",
26b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
27b5948fc6SIan Rogers        "UMask": "0x1"
2859da390eSAndi Kleen    },
2959da390eSAndi Kleen    {
30b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired  branches.",
31*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
32b5948fc6SIan Rogers        "EventCode": "0x88",
33b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
34b5948fc6SIan Rogers        "SampleAfterValue": "200003",
35b5948fc6SIan Rogers        "UMask": "0xff"
3659da390eSAndi Kleen    },
3759da390eSAndi Kleen    {
38b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired macro-conditional branches.",
39*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
40b5948fc6SIan Rogers        "EventCode": "0x88",
41b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
42b5948fc6SIan Rogers        "SampleAfterValue": "200003",
43b5948fc6SIan Rogers        "UMask": "0xc1"
44b5948fc6SIan Rogers    },
45b5948fc6SIan Rogers    {
46b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
47*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
48b5948fc6SIan Rogers        "EventCode": "0x88",
49b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
50b5948fc6SIan Rogers        "SampleAfterValue": "200003",
51b5948fc6SIan Rogers        "UMask": "0xc2"
52b5948fc6SIan Rogers    },
53b5948fc6SIan Rogers    {
54b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired direct near calls.",
55*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
56b5948fc6SIan Rogers        "EventCode": "0x88",
57b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
58b5948fc6SIan Rogers        "SampleAfterValue": "200003",
59b5948fc6SIan Rogers        "UMask": "0xd0"
60b5948fc6SIan Rogers    },
61b5948fc6SIan Rogers    {
62b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
63*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
64b5948fc6SIan Rogers        "EventCode": "0x88",
65b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
66b5948fc6SIan Rogers        "SampleAfterValue": "200003",
67b5948fc6SIan Rogers        "UMask": "0xc4"
68b5948fc6SIan Rogers    },
69b5948fc6SIan Rogers    {
70b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired indirect return branches.",
71*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
72b5948fc6SIan Rogers        "EventCode": "0x88",
73b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
74b5948fc6SIan Rogers        "SampleAfterValue": "200003",
75b5948fc6SIan Rogers        "UMask": "0xc8"
76b5948fc6SIan Rogers    },
77b5948fc6SIan Rogers    {
78b5948fc6SIan Rogers        "BriefDescription": "Not taken macro-conditional branches.",
79*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
80b5948fc6SIan Rogers        "EventCode": "0x88",
81b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
82b5948fc6SIan Rogers        "SampleAfterValue": "200003",
83b5948fc6SIan Rogers        "UMask": "0x41"
84b5948fc6SIan Rogers    },
85b5948fc6SIan Rogers    {
86b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
87*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
88b5948fc6SIan Rogers        "EventCode": "0x88",
89b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
90b5948fc6SIan Rogers        "SampleAfterValue": "200003",
91b5948fc6SIan Rogers        "UMask": "0x81"
92b5948fc6SIan Rogers    },
93b5948fc6SIan Rogers    {
94b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
95*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
96b5948fc6SIan Rogers        "EventCode": "0x88",
97b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
98b5948fc6SIan Rogers        "SampleAfterValue": "200003",
99b5948fc6SIan Rogers        "UMask": "0x82"
100b5948fc6SIan Rogers    },
101b5948fc6SIan Rogers    {
102b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired direct near calls.",
103*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
104b5948fc6SIan Rogers        "EventCode": "0x88",
105b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
106b5948fc6SIan Rogers        "SampleAfterValue": "200003",
107b5948fc6SIan Rogers        "UMask": "0x90"
108b5948fc6SIan Rogers    },
109b5948fc6SIan Rogers    {
110b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
111*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
112b5948fc6SIan Rogers        "EventCode": "0x88",
113b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
114b5948fc6SIan Rogers        "SampleAfterValue": "200003",
115b5948fc6SIan Rogers        "UMask": "0x84"
116b5948fc6SIan Rogers    },
117b5948fc6SIan Rogers    {
118b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired indirect calls.",
119*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
120b5948fc6SIan Rogers        "EventCode": "0x88",
121b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
122b5948fc6SIan Rogers        "SampleAfterValue": "200003",
123b5948fc6SIan Rogers        "UMask": "0xa0"
124b5948fc6SIan Rogers    },
125b5948fc6SIan Rogers    {
126b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
127*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
128b5948fc6SIan Rogers        "EventCode": "0x88",
129b5948fc6SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
130b5948fc6SIan Rogers        "SampleAfterValue": "200003",
131b5948fc6SIan Rogers        "UMask": "0x88"
132b5948fc6SIan Rogers    },
133b5948fc6SIan Rogers    {
13459da390eSAndi Kleen        "BriefDescription": "All (macro) branch instructions retired.",
135*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
136b5948fc6SIan Rogers        "EventCode": "0xC4",
137b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
138b5948fc6SIan Rogers        "SampleAfterValue": "400009"
13959da390eSAndi Kleen    },
14059da390eSAndi Kleen    {
14159da390eSAndi Kleen        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
142*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
14359da390eSAndi Kleen        "EventCode": "0xC4",
144b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
145b5948fc6SIan Rogers        "PEBS": "2",
14659da390eSAndi Kleen        "SampleAfterValue": "400009",
147b5948fc6SIan Rogers        "UMask": "0x4"
14859da390eSAndi Kleen    },
14959da390eSAndi Kleen    {
150b5948fc6SIan Rogers        "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS).",
151*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
152b5948fc6SIan Rogers        "EventCode": "0xC4",
153b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.CONDITIONAL",
15459da390eSAndi Kleen        "PEBS": "1",
15559da390eSAndi Kleen        "SampleAfterValue": "400009",
156b5948fc6SIan Rogers        "UMask": "0x1"
15759da390eSAndi Kleen    },
15859da390eSAndi Kleen    {
159b5948fc6SIan Rogers        "BriefDescription": "Far branch instructions retired.",
160*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
161b5948fc6SIan Rogers        "EventCode": "0xC4",
16259da390eSAndi Kleen        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
16359da390eSAndi Kleen        "SampleAfterValue": "100007",
164b5948fc6SIan Rogers        "UMask": "0x40"
16559da390eSAndi Kleen    },
16659da390eSAndi Kleen    {
167b5948fc6SIan Rogers        "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS).",
168*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
169b5948fc6SIan Rogers        "EventCode": "0xC4",
170b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
17159da390eSAndi Kleen        "PEBS": "1",
17259da390eSAndi Kleen        "SampleAfterValue": "100007",
173b5948fc6SIan Rogers        "UMask": "0x2"
17459da390eSAndi Kleen    },
17559da390eSAndi Kleen    {
176b5948fc6SIan Rogers        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS).",
177*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
178b5948fc6SIan Rogers        "EventCode": "0xC4",
179b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
180b5948fc6SIan Rogers        "PEBS": "1",
181b5948fc6SIan Rogers        "SampleAfterValue": "100007",
182b5948fc6SIan Rogers        "UMask": "0x2"
183b5948fc6SIan Rogers    },
184b5948fc6SIan Rogers    {
185b5948fc6SIan Rogers        "BriefDescription": "Return instructions retired. (Precise Event - PEBS).",
186*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
187b5948fc6SIan Rogers        "EventCode": "0xC4",
188b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
189b5948fc6SIan Rogers        "PEBS": "1",
190b5948fc6SIan Rogers        "SampleAfterValue": "100007",
191b5948fc6SIan Rogers        "UMask": "0x8"
192b5948fc6SIan Rogers    },
193b5948fc6SIan Rogers    {
194b5948fc6SIan Rogers        "BriefDescription": "Taken branch instructions retired. (Precise Event - PEBS).",
195*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
196b5948fc6SIan Rogers        "EventCode": "0xC4",
197b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
198b5948fc6SIan Rogers        "PEBS": "1",
199b5948fc6SIan Rogers        "SampleAfterValue": "400009",
200b5948fc6SIan Rogers        "UMask": "0x20"
201b5948fc6SIan Rogers    },
202b5948fc6SIan Rogers    {
203b5948fc6SIan Rogers        "BriefDescription": "Not taken branch instructions retired.",
204*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
205b5948fc6SIan Rogers        "EventCode": "0xC4",
206b5948fc6SIan Rogers        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
207b5948fc6SIan Rogers        "SampleAfterValue": "400009",
208b5948fc6SIan Rogers        "UMask": "0x10"
209b5948fc6SIan Rogers    },
210b5948fc6SIan Rogers    {
211b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
212*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
213b5948fc6SIan Rogers        "EventCode": "0x89",
214b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
215b5948fc6SIan Rogers        "SampleAfterValue": "200003",
216b5948fc6SIan Rogers        "UMask": "0xff"
217b5948fc6SIan Rogers    },
218b5948fc6SIan Rogers    {
219b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
220*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
221b5948fc6SIan Rogers        "EventCode": "0x89",
222b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
223b5948fc6SIan Rogers        "SampleAfterValue": "200003",
224b5948fc6SIan Rogers        "UMask": "0xc1"
225b5948fc6SIan Rogers    },
226b5948fc6SIan Rogers    {
227b5948fc6SIan Rogers        "BriefDescription": "Speculative and retired mispredicted direct near calls.",
228*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
229b5948fc6SIan Rogers        "EventCode": "0x89",
230b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
231b5948fc6SIan Rogers        "SampleAfterValue": "200003",
232b5948fc6SIan Rogers        "UMask": "0xd0"
233b5948fc6SIan Rogers    },
234b5948fc6SIan Rogers    {
235b5948fc6SIan Rogers        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
236*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
237b5948fc6SIan Rogers        "EventCode": "0x89",
238b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
239b5948fc6SIan Rogers        "SampleAfterValue": "200003",
240b5948fc6SIan Rogers        "UMask": "0xc4"
241b5948fc6SIan Rogers    },
242b5948fc6SIan Rogers    {
243e559b6f5SIan Rogers        "BriefDescription": "Speculative mispredicted indirect branches",
244*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
245e559b6f5SIan Rogers        "EventCode": "0x89",
246e559b6f5SIan Rogers        "EventName": "BR_MISP_EXEC.INDIRECT",
247e559b6f5SIan Rogers        "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).",
248e559b6f5SIan Rogers        "SampleAfterValue": "200003",
249e559b6f5SIan Rogers        "UMask": "0xe4"
250e559b6f5SIan Rogers    },
251e559b6f5SIan Rogers    {
252b5948fc6SIan Rogers        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
253*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
254b5948fc6SIan Rogers        "EventCode": "0x89",
255b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
256b5948fc6SIan Rogers        "SampleAfterValue": "200003",
257b5948fc6SIan Rogers        "UMask": "0x41"
258b5948fc6SIan Rogers    },
259b5948fc6SIan Rogers    {
260b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
261*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
262b5948fc6SIan Rogers        "EventCode": "0x89",
263b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
264b5948fc6SIan Rogers        "SampleAfterValue": "200003",
265b5948fc6SIan Rogers        "UMask": "0x81"
266b5948fc6SIan Rogers    },
267b5948fc6SIan Rogers    {
268b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
269*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
270b5948fc6SIan Rogers        "EventCode": "0x89",
271b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
272b5948fc6SIan Rogers        "SampleAfterValue": "200003",
273b5948fc6SIan Rogers        "UMask": "0x90"
274b5948fc6SIan Rogers    },
275b5948fc6SIan Rogers    {
276b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
277*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
278b5948fc6SIan Rogers        "EventCode": "0x89",
279b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
280b5948fc6SIan Rogers        "SampleAfterValue": "200003",
281b5948fc6SIan Rogers        "UMask": "0x84"
282b5948fc6SIan Rogers    },
283b5948fc6SIan Rogers    {
284b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
285*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
286b5948fc6SIan Rogers        "EventCode": "0x89",
287b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
288b5948fc6SIan Rogers        "SampleAfterValue": "200003",
289b5948fc6SIan Rogers        "UMask": "0xa0"
290b5948fc6SIan Rogers    },
291b5948fc6SIan Rogers    {
292b5948fc6SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
293*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
294b5948fc6SIan Rogers        "EventCode": "0x89",
295b5948fc6SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
296b5948fc6SIan Rogers        "SampleAfterValue": "200003",
297b5948fc6SIan Rogers        "UMask": "0x88"
298b5948fc6SIan Rogers    },
299b5948fc6SIan Rogers    {
300b5948fc6SIan Rogers        "BriefDescription": "All mispredicted macro branch instructions retired.",
301*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
302b5948fc6SIan Rogers        "EventCode": "0xC5",
303b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
304b5948fc6SIan Rogers        "SampleAfterValue": "400009"
305b5948fc6SIan Rogers    },
306b5948fc6SIan Rogers    {
307b5948fc6SIan Rogers        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
308*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
309b5948fc6SIan Rogers        "EventCode": "0xC5",
310b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
31159da390eSAndi Kleen        "PEBS": "2",
31259da390eSAndi Kleen        "SampleAfterValue": "400009",
313b5948fc6SIan Rogers        "UMask": "0x4"
31459da390eSAndi Kleen    },
31559da390eSAndi Kleen    {
316b5948fc6SIan Rogers        "BriefDescription": "Mispredicted conditional branch instructions retired. (Precise Event - PEBS).",
317*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
318b5948fc6SIan Rogers        "EventCode": "0xC5",
319b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
320b5948fc6SIan Rogers        "PEBS": "1",
32159da390eSAndi Kleen        "SampleAfterValue": "400009",
322b5948fc6SIan Rogers        "UMask": "0x1"
323b5948fc6SIan Rogers    },
324b5948fc6SIan Rogers    {
325b5948fc6SIan Rogers        "BriefDescription": "Direct and indirect mispredicted near call instructions retired. (Precise Event - PEBS).",
326*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
327b5948fc6SIan Rogers        "EventCode": "0xC5",
328b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
329b5948fc6SIan Rogers        "PEBS": "1",
330b5948fc6SIan Rogers        "SampleAfterValue": "100007",
331b5948fc6SIan Rogers        "UMask": "0x2"
332b5948fc6SIan Rogers    },
333b5948fc6SIan Rogers    {
33459da390eSAndi Kleen        "BriefDescription": "Mispredicted not taken branch instructions retired.(Precise Event - PEBS).",
335*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
33659da390eSAndi Kleen        "EventCode": "0xC5",
337b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
338b5948fc6SIan Rogers        "PEBS": "1",
33959da390eSAndi Kleen        "SampleAfterValue": "400009",
340b5948fc6SIan Rogers        "UMask": "0x10"
34159da390eSAndi Kleen    },
34259da390eSAndi Kleen    {
343b5948fc6SIan Rogers        "BriefDescription": "Mispredicted taken branch instructions retired. (Precise Event - PEBS).",
344*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
345b5948fc6SIan Rogers        "EventCode": "0xC5",
346b5948fc6SIan Rogers        "EventName": "BR_MISP_RETIRED.TAKEN",
347b5948fc6SIan Rogers        "PEBS": "1",
348b5948fc6SIan Rogers        "SampleAfterValue": "400009",
349b5948fc6SIan Rogers        "UMask": "0x20"
350b5948fc6SIan Rogers    },
351b5948fc6SIan Rogers    {
352b5948fc6SIan Rogers        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
353*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
354b5948fc6SIan Rogers        "EventCode": "0x3C",
355b5948fc6SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
356b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
357b5948fc6SIan Rogers        "UMask": "0x2"
358b5948fc6SIan Rogers    },
359b5948fc6SIan Rogers    {
360b5948fc6SIan Rogers        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
361*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
362b5948fc6SIan Rogers        "EventCode": "0x3C",
363b5948fc6SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
364b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
365b5948fc6SIan Rogers        "UMask": "0x1"
366b5948fc6SIan Rogers    },
367b5948fc6SIan Rogers    {
368b5948fc6SIan Rogers        "AnyThread": "1",
369b5948fc6SIan Rogers        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
370*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
371b5948fc6SIan Rogers        "EventCode": "0x3C",
372b5948fc6SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
373b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
374b5948fc6SIan Rogers        "UMask": "0x1"
375b5948fc6SIan Rogers    },
376b5948fc6SIan Rogers    {
377b5948fc6SIan Rogers        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
378*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
379b5948fc6SIan Rogers        "EventCode": "0x3C",
380b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
381b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
382b5948fc6SIan Rogers        "UMask": "0x2"
383b5948fc6SIan Rogers    },
384b5948fc6SIan Rogers    {
385b5948fc6SIan Rogers        "BriefDescription": "Reference cycles when the core is not in halt state.",
386*01cb5e3dSIan Rogers        "Counter": "Fixed counter 2",
387b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
388b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
389b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
390b5948fc6SIan Rogers        "UMask": "0x3"
391b5948fc6SIan Rogers    },
392b5948fc6SIan Rogers    {
393b5948fc6SIan Rogers        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
394*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
395b5948fc6SIan Rogers        "EventCode": "0x3C",
396b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
397b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
398b5948fc6SIan Rogers        "UMask": "0x1"
399b5948fc6SIan Rogers    },
400b5948fc6SIan Rogers    {
401b5948fc6SIan Rogers        "AnyThread": "1",
402b5948fc6SIan Rogers        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
403*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
404b5948fc6SIan Rogers        "EventCode": "0x3C",
405b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
406b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
407b5948fc6SIan Rogers        "UMask": "0x1"
408b5948fc6SIan Rogers    },
409b5948fc6SIan Rogers    {
410b5948fc6SIan Rogers        "BriefDescription": "Core cycles when the thread is not in halt state.",
411*01cb5e3dSIan Rogers        "Counter": "Fixed counter 1",
412b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD",
413b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
414b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
415b5948fc6SIan Rogers        "UMask": "0x2"
416b5948fc6SIan Rogers    },
417b5948fc6SIan Rogers    {
418b5948fc6SIan Rogers        "AnyThread": "1",
419b5948fc6SIan Rogers        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
420*01cb5e3dSIan Rogers        "Counter": "Fixed counter 1",
421b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
422b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
423b5948fc6SIan Rogers        "UMask": "0x2"
424b5948fc6SIan Rogers    },
425b5948fc6SIan Rogers    {
426b5948fc6SIan Rogers        "BriefDescription": "Thread cycles when thread is not in halt state.",
427*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
428b5948fc6SIan Rogers        "EventCode": "0x3C",
429b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
430b5948fc6SIan Rogers        "SampleAfterValue": "2000003"
431b5948fc6SIan Rogers    },
432b5948fc6SIan Rogers    {
433b5948fc6SIan Rogers        "AnyThread": "1",
434b5948fc6SIan Rogers        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
435*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
436b5948fc6SIan Rogers        "EventCode": "0x3C",
437b5948fc6SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
438b5948fc6SIan Rogers        "SampleAfterValue": "2000003"
439b5948fc6SIan Rogers    },
440b5948fc6SIan Rogers    {
441b5948fc6SIan Rogers        "BriefDescription": "Each cycle there was a miss-pending demand load this thread, increment by 1. Note this is in DCU and connected to Umask 1. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
442*01cb5e3dSIan Rogers        "Counter": "2",
443b5948fc6SIan Rogers        "CounterMask": "2",
444b5948fc6SIan Rogers        "EventCode": "0xA3",
445b5948fc6SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
446b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
447b5948fc6SIan Rogers        "UMask": "0x2"
448b5948fc6SIan Rogers    },
449b5948fc6SIan Rogers    {
450b5948fc6SIan Rogers        "BriefDescription": "Each cycle there was a MLC-miss pending demand load this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0.",
451*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
452b5948fc6SIan Rogers        "CounterMask": "1",
453b5948fc6SIan Rogers        "EventCode": "0xA3",
454b5948fc6SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
455b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
456b5948fc6SIan Rogers        "UMask": "0x1"
457b5948fc6SIan Rogers    },
458b5948fc6SIan Rogers    {
459b5948fc6SIan Rogers        "BriefDescription": "Each cycle there was no dispatch for this thread, increment by 1. Note this is connect to Umask 2. No dispatch can be deduced from the UOPS_EXECUTED event.",
460*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
461b5948fc6SIan Rogers        "CounterMask": "4",
462b5948fc6SIan Rogers        "EventCode": "0xA3",
463b5948fc6SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
464b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
465b5948fc6SIan Rogers        "UMask": "0x4"
466b5948fc6SIan Rogers    },
467b5948fc6SIan Rogers    {
468b5948fc6SIan Rogers        "BriefDescription": "Each cycle there was a miss-pending demand load this thread and no uops dispatched, increment by 1. Note this is in DCU and connected to Umask 1 and 2. Miss Pending demand load should be deduced by OR-ing increment bits of DCACHE_MISS_PEND.PENDING.",
469*01cb5e3dSIan Rogers        "Counter": "2",
470b5948fc6SIan Rogers        "CounterMask": "6",
471b5948fc6SIan Rogers        "EventCode": "0xA3",
472b5948fc6SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
473b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
474b5948fc6SIan Rogers        "UMask": "0x6"
475b5948fc6SIan Rogers    },
476b5948fc6SIan Rogers    {
477b5948fc6SIan Rogers        "BriefDescription": "Each cycle there was a MLC-miss pending demand load and no uops dispatched on this thread (i.e. Non-completed valid SQ entry allocated for demand load and waiting for Uncore), increment by 1. Note this is in MLC and connected to Umask 0 and 2.",
478*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
479b5948fc6SIan Rogers        "CounterMask": "5",
480b5948fc6SIan Rogers        "EventCode": "0xA3",
481b5948fc6SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
482b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
483b5948fc6SIan Rogers        "UMask": "0x5"
484b5948fc6SIan Rogers    },
485b5948fc6SIan Rogers    {
486b5948fc6SIan Rogers        "BriefDescription": "Stall cycles because IQ is full.",
487*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
488b5948fc6SIan Rogers        "EventCode": "0x87",
489b5948fc6SIan Rogers        "EventName": "ILD_STALL.IQ_FULL",
490b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
491b5948fc6SIan Rogers        "UMask": "0x4"
492b5948fc6SIan Rogers    },
493b5948fc6SIan Rogers    {
494b5948fc6SIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
495*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
496b5948fc6SIan Rogers        "EventCode": "0x87",
497b5948fc6SIan Rogers        "EventName": "ILD_STALL.LCP",
498b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
499b5948fc6SIan Rogers        "UMask": "0x1"
500b5948fc6SIan Rogers    },
501b5948fc6SIan Rogers    {
502b5948fc6SIan Rogers        "BriefDescription": "Instructions retired from execution.",
503*01cb5e3dSIan Rogers        "Counter": "Fixed counter 0",
504b5948fc6SIan Rogers        "EventName": "INST_RETIRED.ANY",
505b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers.",
506b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
507b5948fc6SIan Rogers        "UMask": "0x1"
508b5948fc6SIan Rogers    },
509b5948fc6SIan Rogers    {
510b5948fc6SIan Rogers        "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
511*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
512b5948fc6SIan Rogers        "EventCode": "0xC0",
513b5948fc6SIan Rogers        "EventName": "INST_RETIRED.ANY_P",
514b5948fc6SIan Rogers        "SampleAfterValue": "2000003"
515b5948fc6SIan Rogers    },
516b5948fc6SIan Rogers    {
517b5948fc6SIan Rogers        "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
518*01cb5e3dSIan Rogers        "Counter": "1",
519b5948fc6SIan Rogers        "EventCode": "0xC0",
520b5948fc6SIan Rogers        "EventName": "INST_RETIRED.PREC_DIST",
521b5948fc6SIan Rogers        "PEBS": "2",
522b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
523b5948fc6SIan Rogers        "UMask": "0x1"
524b5948fc6SIan Rogers    },
525b5948fc6SIan Rogers    {
526b5948fc6SIan Rogers        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
527*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
528b5948fc6SIan Rogers        "EventCode": "0x0D",
529b5948fc6SIan Rogers        "EventName": "INT_MISC.RAT_STALL_CYCLES",
530b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
531b5948fc6SIan Rogers        "UMask": "0x40"
532b5948fc6SIan Rogers    },
533b5948fc6SIan Rogers    {
534b5948fc6SIan Rogers        "BriefDescription": "Number of cycles waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
535*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
536b5948fc6SIan Rogers        "CounterMask": "1",
537b5948fc6SIan Rogers        "EventCode": "0x0D",
538b5948fc6SIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES",
539b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
540b5948fc6SIan Rogers        "UMask": "0x3"
541b5948fc6SIan Rogers    },
542b5948fc6SIan Rogers    {
543b5948fc6SIan Rogers        "AnyThread": "1",
544b5948fc6SIan Rogers        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).",
545*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
546b5948fc6SIan Rogers        "CounterMask": "1",
547b5948fc6SIan Rogers        "EventCode": "0x0D",
548b5948fc6SIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
549b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
550b5948fc6SIan Rogers        "UMask": "0x3"
551b5948fc6SIan Rogers    },
552b5948fc6SIan Rogers    {
553777e1312SIan Rogers        "BriefDescription": "Number of occurrences waiting for the checkpoints in Resource Allocation Table (RAT) to be recovered after Nuke due to all other cases except JEClear (e.g. whenever a ucode assist is needed like SSE exception, memory disambiguation, etc...).",
554*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
555b5948fc6SIan Rogers        "CounterMask": "1",
556b5948fc6SIan Rogers        "EdgeDetect": "1",
557b5948fc6SIan Rogers        "EventCode": "0x0D",
558b5948fc6SIan Rogers        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
559b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
560b5948fc6SIan Rogers        "UMask": "0x3"
561b5948fc6SIan Rogers    },
562b5948fc6SIan Rogers    {
563b5948fc6SIan Rogers        "BriefDescription": "Number of cases where any load ends up with a valid block-code written to the load buffer (including blocks due to Memory Order Buffer (MOB), Data Cache Unit (DCU), TLB, but load has no DCU miss).",
564*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
565b5948fc6SIan Rogers        "EventCode": "0x03",
566b5948fc6SIan Rogers        "EventName": "LD_BLOCKS.ALL_BLOCK",
567b5948fc6SIan Rogers        "SampleAfterValue": "100003",
568b5948fc6SIan Rogers        "UMask": "0x10"
569b5948fc6SIan Rogers    },
570b5948fc6SIan Rogers    {
571b5948fc6SIan Rogers        "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
572*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
573b5948fc6SIan Rogers        "EventCode": "0x03",
574b5948fc6SIan Rogers        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
575b5948fc6SIan Rogers        "SampleAfterValue": "100003",
576b5948fc6SIan Rogers        "UMask": "0x1"
577b5948fc6SIan Rogers    },
578b5948fc6SIan Rogers    {
579b5948fc6SIan Rogers        "BriefDescription": "This event counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
580*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
581b5948fc6SIan Rogers        "EventCode": "0x03",
582b5948fc6SIan Rogers        "EventName": "LD_BLOCKS.NO_SR",
583b5948fc6SIan Rogers        "SampleAfterValue": "100003",
584b5948fc6SIan Rogers        "UMask": "0x8"
585b5948fc6SIan Rogers    },
586b5948fc6SIan Rogers    {
587b5948fc6SIan Rogers        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
588*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
589b5948fc6SIan Rogers        "EventCode": "0x03",
590b5948fc6SIan Rogers        "EventName": "LD_BLOCKS.STORE_FORWARD",
5914507f603SIan Rogers        "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load.  The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceding smaller uncompleted store.  See the table of not supported store forwards in the Intel(R) 64 and IA-32 Architectures Optimization Reference Manual.  The penalty for blocked store forwarding is that the load must wait for the store to complete before it can be issued.",
592b5948fc6SIan Rogers        "SampleAfterValue": "100003",
593b5948fc6SIan Rogers        "UMask": "0x2"
594b5948fc6SIan Rogers    },
595b5948fc6SIan Rogers    {
596b5948fc6SIan Rogers        "BriefDescription": "False dependencies in MOB due to partial compare.",
597*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
598b5948fc6SIan Rogers        "EventCode": "0x07",
599b5948fc6SIan Rogers        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
600b5948fc6SIan Rogers        "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K.  This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline.  The enhanced address check typically has a performance penalty of 5 cycles.",
601b5948fc6SIan Rogers        "SampleAfterValue": "100003",
602b5948fc6SIan Rogers        "UMask": "0x1"
603b5948fc6SIan Rogers    },
604b5948fc6SIan Rogers    {
605b5948fc6SIan Rogers        "BriefDescription": "This event counts the number of times that load operations are temporarily blocked because of older stores, with addresses that are not yet known. A load operation may incur more than one block of this type.",
606*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
607b5948fc6SIan Rogers        "EventCode": "0x07",
608b5948fc6SIan Rogers        "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
609b5948fc6SIan Rogers        "SampleAfterValue": "100003",
610b5948fc6SIan Rogers        "UMask": "0x8"
611b5948fc6SIan Rogers    },
612b5948fc6SIan Rogers    {
613b5948fc6SIan Rogers        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
614*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
615b5948fc6SIan Rogers        "EventCode": "0x4C",
616b5948fc6SIan Rogers        "EventName": "LOAD_HIT_PRE.HW_PF",
617b5948fc6SIan Rogers        "SampleAfterValue": "100003",
618b5948fc6SIan Rogers        "UMask": "0x2"
619b5948fc6SIan Rogers    },
620b5948fc6SIan Rogers    {
621b5948fc6SIan Rogers        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
622*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
623b5948fc6SIan Rogers        "EventCode": "0x4C",
624b5948fc6SIan Rogers        "EventName": "LOAD_HIT_PRE.SW_PF",
625b5948fc6SIan Rogers        "SampleAfterValue": "100003",
626b5948fc6SIan Rogers        "UMask": "0x1"
627b5948fc6SIan Rogers    },
628b5948fc6SIan Rogers    {
629b5948fc6SIan Rogers        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
630*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
631b5948fc6SIan Rogers        "CounterMask": "4",
632b5948fc6SIan Rogers        "EventCode": "0xA8",
633b5948fc6SIan Rogers        "EventName": "LSD.CYCLES_4_UOPS",
634b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
635b5948fc6SIan Rogers        "UMask": "0x1"
636b5948fc6SIan Rogers    },
637b5948fc6SIan Rogers    {
638b5948fc6SIan Rogers        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
639*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
640b5948fc6SIan Rogers        "CounterMask": "1",
641b5948fc6SIan Rogers        "EventCode": "0xA8",
642b5948fc6SIan Rogers        "EventName": "LSD.CYCLES_ACTIVE",
643b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
644b5948fc6SIan Rogers        "UMask": "0x1"
645b5948fc6SIan Rogers    },
646b5948fc6SIan Rogers    {
647b5948fc6SIan Rogers        "BriefDescription": "Number of Uops delivered by the LSD.",
648*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
649b5948fc6SIan Rogers        "EventCode": "0xA8",
650b5948fc6SIan Rogers        "EventName": "LSD.UOPS",
651b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
652b5948fc6SIan Rogers        "UMask": "0x1"
653b5948fc6SIan Rogers    },
654b5948fc6SIan Rogers    {
655b5948fc6SIan Rogers        "BriefDescription": "Number of machine clears (nukes) of any type.",
656*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
657b5948fc6SIan Rogers        "CounterMask": "1",
658b5948fc6SIan Rogers        "EdgeDetect": "1",
659b5948fc6SIan Rogers        "EventCode": "0xc3",
660b5948fc6SIan Rogers        "EventName": "MACHINE_CLEARS.COUNT",
661b5948fc6SIan Rogers        "SampleAfterValue": "100003",
662b5948fc6SIan Rogers        "UMask": "0x1"
663b5948fc6SIan Rogers    },
664b5948fc6SIan Rogers    {
665b5948fc6SIan Rogers        "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.",
666*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
667b5948fc6SIan Rogers        "EventCode": "0xC3",
668b5948fc6SIan Rogers        "EventName": "MACHINE_CLEARS.MASKMOV",
669b5948fc6SIan Rogers        "PublicDescription": "Maskmov false fault - counts number of time ucode passes through Maskmov flow due to instruction's mask being 0 while the flow was completed without raising a fault.",
670b5948fc6SIan Rogers        "SampleAfterValue": "100003",
671b5948fc6SIan Rogers        "UMask": "0x20"
672b5948fc6SIan Rogers    },
673b5948fc6SIan Rogers    {
674b5948fc6SIan Rogers        "BriefDescription": "Self-modifying code (SMC) detected.",
675*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
676b5948fc6SIan Rogers        "EventCode": "0xC3",
677b5948fc6SIan Rogers        "EventName": "MACHINE_CLEARS.SMC",
678b5948fc6SIan Rogers        "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear.  Machine clears can have a significant performance impact if they are happening frequently.",
679b5948fc6SIan Rogers        "SampleAfterValue": "100003",
680b5948fc6SIan Rogers        "UMask": "0x4"
681b5948fc6SIan Rogers    },
682b5948fc6SIan Rogers    {
683b5948fc6SIan Rogers        "BriefDescription": "Retired instructions experiencing ITLB misses.",
684*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
685b5948fc6SIan Rogers        "EventCode": "0xC1",
686b5948fc6SIan Rogers        "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
687b5948fc6SIan Rogers        "SampleAfterValue": "100003",
688b5948fc6SIan Rogers        "UMask": "0x2"
689b5948fc6SIan Rogers    },
690b5948fc6SIan Rogers    {
691b5948fc6SIan Rogers        "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
692*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
693b5948fc6SIan Rogers        "EventCode": "0x59",
694b5948fc6SIan Rogers        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
695b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
696b5948fc6SIan Rogers        "UMask": "0x20"
697b5948fc6SIan Rogers    },
698b5948fc6SIan Rogers    {
699b5948fc6SIan Rogers        "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
700*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
701b5948fc6SIan Rogers        "CounterMask": "1",
702b5948fc6SIan Rogers        "EventCode": "0x59",
703b5948fc6SIan Rogers        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
704777e1312SIan Rogers        "PublicDescription": "This event counts the number of cycles spent executing performance-sensitive flags-merging uops. For example, shift CL (merge_arith_flags). For more details, See the Intel(R) 64 and IA-32 Architectures Optimization Reference Manual.",
705b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
706b5948fc6SIan Rogers        "UMask": "0x20"
707b5948fc6SIan Rogers    },
708b5948fc6SIan Rogers    {
709b5948fc6SIan Rogers        "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
710*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
711b5948fc6SIan Rogers        "EventCode": "0x59",
712b5948fc6SIan Rogers        "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
713b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
714b5948fc6SIan Rogers        "UMask": "0x80"
715b5948fc6SIan Rogers    },
716b5948fc6SIan Rogers    {
717b5948fc6SIan Rogers        "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
718*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
719b5948fc6SIan Rogers        "EventCode": "0x59",
720b5948fc6SIan Rogers        "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
721777e1312SIan Rogers        "PublicDescription": "This event counts the number of cycles with at least one slow LEA uop being allocated. A uop is generally considered as slow LEA if it has three sources (for example, two sources and immediate) regardless of whether it is a result of LEA instruction or not. Examples of the slow LEA uop are or uops with base, index, and offset source operands using base and index reqisters, where base is EBR/RBP/R13, using RIP relative or 16-bit addressing modes. See the Intel(R) 64 and IA-32 Architectures Optimization Reference Manual for more details about slow LEA instructions.",
722b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
723b5948fc6SIan Rogers        "UMask": "0x40"
724b5948fc6SIan Rogers    },
725b5948fc6SIan Rogers    {
726b5948fc6SIan Rogers        "BriefDescription": "Resource-related stall cycles.",
727*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
728b5948fc6SIan Rogers        "EventCode": "0xA2",
729b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.ANY",
730b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
731b5948fc6SIan Rogers        "UMask": "0x1"
732b5948fc6SIan Rogers    },
733b5948fc6SIan Rogers    {
734b5948fc6SIan Rogers        "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
735*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
736b5948fc6SIan Rogers        "EventCode": "0xA2",
737b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.LB",
738b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
739b5948fc6SIan Rogers        "UMask": "0x2"
740b5948fc6SIan Rogers    },
741b5948fc6SIan Rogers    {
742b5948fc6SIan Rogers        "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
743*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
744b5948fc6SIan Rogers        "EventCode": "0xA2",
745b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.LB_SB",
746b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
747b5948fc6SIan Rogers        "UMask": "0xa"
748b5948fc6SIan Rogers    },
749b5948fc6SIan Rogers    {
750b5948fc6SIan Rogers        "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
751*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
752b5948fc6SIan Rogers        "EventCode": "0xA2",
753b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.MEM_RS",
754b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
755b5948fc6SIan Rogers        "UMask": "0xe"
756b5948fc6SIan Rogers    },
757b5948fc6SIan Rogers    {
758b5948fc6SIan Rogers        "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
759*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
760b5948fc6SIan Rogers        "EventCode": "0xA2",
761b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.OOO_RSRC",
762b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
763b5948fc6SIan Rogers        "UMask": "0xf0"
764b5948fc6SIan Rogers    },
765b5948fc6SIan Rogers    {
766b5948fc6SIan Rogers        "BriefDescription": "Cycles stalled due to re-order buffer full.",
767*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
768b5948fc6SIan Rogers        "EventCode": "0xA2",
769b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.ROB",
770b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
771b5948fc6SIan Rogers        "UMask": "0x10"
772b5948fc6SIan Rogers    },
773b5948fc6SIan Rogers    {
774b5948fc6SIan Rogers        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
775*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
776b5948fc6SIan Rogers        "EventCode": "0xA2",
777b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.RS",
778b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
779b5948fc6SIan Rogers        "UMask": "0x4"
780b5948fc6SIan Rogers    },
781b5948fc6SIan Rogers    {
782b5948fc6SIan Rogers        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
783*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
784b5948fc6SIan Rogers        "EventCode": "0xA2",
785b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS.SB",
786b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
787b5948fc6SIan Rogers        "UMask": "0x8"
788b5948fc6SIan Rogers    },
789b5948fc6SIan Rogers    {
790b5948fc6SIan Rogers        "BriefDescription": "Cycles with either free list is empty.",
791*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
792b5948fc6SIan Rogers        "EventCode": "0x5B",
793b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
794b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
795b5948fc6SIan Rogers        "UMask": "0xc"
796b5948fc6SIan Rogers    },
797b5948fc6SIan Rogers    {
798b5948fc6SIan Rogers        "BriefDescription": "Resource stalls2 control structures full for physical registers.",
799*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
800b5948fc6SIan Rogers        "EventCode": "0x5B",
801b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
802b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
803b5948fc6SIan Rogers        "UMask": "0xf"
804b5948fc6SIan Rogers    },
805b5948fc6SIan Rogers    {
806b5948fc6SIan Rogers        "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
807*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
808b5948fc6SIan Rogers        "EventCode": "0x5B",
809b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS2.BOB_FULL",
810b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
811b5948fc6SIan Rogers        "UMask": "0x40"
812b5948fc6SIan Rogers    },
813b5948fc6SIan Rogers    {
814b5948fc6SIan Rogers        "BriefDescription": "Resource stalls out of order resources full.",
815*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
816b5948fc6SIan Rogers        "EventCode": "0x5B",
817b5948fc6SIan Rogers        "EventName": "RESOURCE_STALLS2.OOO_RSRC",
818b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
819b5948fc6SIan Rogers        "UMask": "0x4f"
820b5948fc6SIan Rogers    },
821b5948fc6SIan Rogers    {
822b5948fc6SIan Rogers        "BriefDescription": "Count cases of saving new LBR.",
823*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
824b5948fc6SIan Rogers        "EventCode": "0xCC",
82559da390eSAndi Kleen        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
82659da390eSAndi Kleen        "SampleAfterValue": "2000003",
827b5948fc6SIan Rogers        "UMask": "0x20"
82859da390eSAndi Kleen    },
82959da390eSAndi Kleen    {
830b5948fc6SIan Rogers        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
831*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
832b5948fc6SIan Rogers        "EventCode": "0x5E",
833b5948fc6SIan Rogers        "EventName": "RS_EVENTS.EMPTY_CYCLES",
834b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
835b5948fc6SIan Rogers        "UMask": "0x1"
836b5948fc6SIan Rogers    },
837b5948fc6SIan Rogers    {
838b5948fc6SIan Rogers        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
839*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
840b5948fc6SIan Rogers        "CounterMask": "1",
841b5948fc6SIan Rogers        "EdgeDetect": "1",
842b5948fc6SIan Rogers        "EventCode": "0x5E",
843b5948fc6SIan Rogers        "EventName": "RS_EVENTS.EMPTY_END",
844b5948fc6SIan Rogers        "Invert": "1",
845b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
846b5948fc6SIan Rogers        "UMask": "0x1"
847b5948fc6SIan Rogers    },
848b5948fc6SIan Rogers    {
849b5948fc6SIan Rogers        "BriefDescription": "Uops dispatched from any thread.",
850*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
851b5948fc6SIan Rogers        "EventCode": "0xB1",
852b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED.CORE",
853b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
854b5948fc6SIan Rogers        "UMask": "0x2"
855b5948fc6SIan Rogers    },
856b5948fc6SIan Rogers    {
857b5948fc6SIan Rogers        "BriefDescription": "Uops dispatched per thread.",
858*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
859b5948fc6SIan Rogers        "EventCode": "0xB1",
860b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED.THREAD",
861b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
862b5948fc6SIan Rogers        "UMask": "0x1"
863b5948fc6SIan Rogers    },
864b5948fc6SIan Rogers    {
865b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
866*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
867b5948fc6SIan Rogers        "EventCode": "0xA1",
868b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
869b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
870b5948fc6SIan Rogers        "UMask": "0x1"
871b5948fc6SIan Rogers    },
872b5948fc6SIan Rogers    {
873b5948fc6SIan Rogers        "AnyThread": "1",
874b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
875*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
876b5948fc6SIan Rogers        "EventCode": "0xA1",
877b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
878b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
879b5948fc6SIan Rogers        "UMask": "0x1"
880b5948fc6SIan Rogers    },
881b5948fc6SIan Rogers    {
882b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
883*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
884b5948fc6SIan Rogers        "EventCode": "0xA1",
885b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
886b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
887b5948fc6SIan Rogers        "UMask": "0x2"
888b5948fc6SIan Rogers    },
889b5948fc6SIan Rogers    {
890b5948fc6SIan Rogers        "AnyThread": "1",
891b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
892*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
893b5948fc6SIan Rogers        "EventCode": "0xA1",
894b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
895b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
896b5948fc6SIan Rogers        "UMask": "0x2"
897b5948fc6SIan Rogers    },
898b5948fc6SIan Rogers    {
899b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
900*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
901b5948fc6SIan Rogers        "EventCode": "0xA1",
902b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
903b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
904b5948fc6SIan Rogers        "UMask": "0xc"
905b5948fc6SIan Rogers    },
906b5948fc6SIan Rogers    {
907b5948fc6SIan Rogers        "AnyThread": "1",
908b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
909*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
910b5948fc6SIan Rogers        "EventCode": "0xA1",
911b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
912b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
913b5948fc6SIan Rogers        "UMask": "0xc"
914b5948fc6SIan Rogers    },
915b5948fc6SIan Rogers    {
916b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
917*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
918b5948fc6SIan Rogers        "EventCode": "0xA1",
919b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
920b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
921b5948fc6SIan Rogers        "UMask": "0x30"
922b5948fc6SIan Rogers    },
923b5948fc6SIan Rogers    {
924b5948fc6SIan Rogers        "AnyThread": "1",
925b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
926*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
927b5948fc6SIan Rogers        "EventCode": "0xA1",
928b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
929b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
930b5948fc6SIan Rogers        "UMask": "0x30"
931b5948fc6SIan Rogers    },
932b5948fc6SIan Rogers    {
933b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
934*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
935b5948fc6SIan Rogers        "EventCode": "0xA1",
936b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
937b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
938b5948fc6SIan Rogers        "UMask": "0x40"
939b5948fc6SIan Rogers    },
940b5948fc6SIan Rogers    {
941b5948fc6SIan Rogers        "AnyThread": "1",
942b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
943*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
944b5948fc6SIan Rogers        "EventCode": "0xA1",
945b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
946b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
947b5948fc6SIan Rogers        "UMask": "0x40"
948b5948fc6SIan Rogers    },
949b5948fc6SIan Rogers    {
950b5948fc6SIan Rogers        "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
951*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
952b5948fc6SIan Rogers        "EventCode": "0xA1",
953b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
954b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
955b5948fc6SIan Rogers        "UMask": "0x80"
956b5948fc6SIan Rogers    },
957b5948fc6SIan Rogers    {
958b5948fc6SIan Rogers        "AnyThread": "1",
959b5948fc6SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
960*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
961b5948fc6SIan Rogers        "EventCode": "0xA1",
962b5948fc6SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
963b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
964b5948fc6SIan Rogers        "UMask": "0x80"
965b5948fc6SIan Rogers    },
966b5948fc6SIan Rogers    {
967b5948fc6SIan Rogers        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
968*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
969b5948fc6SIan Rogers        "CounterMask": "1",
970b5948fc6SIan Rogers        "EventCode": "0xB1",
971b5948fc6SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
972b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
973b5948fc6SIan Rogers        "UMask": "0x2"
974b5948fc6SIan Rogers    },
975b5948fc6SIan Rogers    {
976b5948fc6SIan Rogers        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
977*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
978b5948fc6SIan Rogers        "CounterMask": "2",
979b5948fc6SIan Rogers        "EventCode": "0xB1",
980b5948fc6SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
981b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
982b5948fc6SIan Rogers        "UMask": "0x2"
983b5948fc6SIan Rogers    },
984b5948fc6SIan Rogers    {
985b5948fc6SIan Rogers        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
986*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
987b5948fc6SIan Rogers        "CounterMask": "3",
988b5948fc6SIan Rogers        "EventCode": "0xB1",
989b5948fc6SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
990b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
991b5948fc6SIan Rogers        "UMask": "0x2"
992b5948fc6SIan Rogers    },
993b5948fc6SIan Rogers    {
994b5948fc6SIan Rogers        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
995*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
996b5948fc6SIan Rogers        "CounterMask": "4",
997b5948fc6SIan Rogers        "EventCode": "0xB1",
998b5948fc6SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
999b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1000b5948fc6SIan Rogers        "UMask": "0x2"
1001b5948fc6SIan Rogers    },
1002b5948fc6SIan Rogers    {
1003b5948fc6SIan Rogers        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1004*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1005b5948fc6SIan Rogers        "EventCode": "0xB1",
1006b5948fc6SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1007b5948fc6SIan Rogers        "Invert": "1",
1008b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1009b5948fc6SIan Rogers        "UMask": "0x2"
1010b5948fc6SIan Rogers    },
1011b5948fc6SIan Rogers    {
1012b5948fc6SIan Rogers        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
1013*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1014b5948fc6SIan Rogers        "EventCode": "0x0E",
1015b5948fc6SIan Rogers        "EventName": "UOPS_ISSUED.ANY",
1016b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
1017b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1018b5948fc6SIan Rogers        "UMask": "0x1"
1019b5948fc6SIan Rogers    },
1020b5948fc6SIan Rogers    {
1021b5948fc6SIan Rogers        "AnyThread": "1",
1022b5948fc6SIan Rogers        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
1023*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1024b5948fc6SIan Rogers        "CounterMask": "1",
1025b5948fc6SIan Rogers        "EventCode": "0x0E",
1026b5948fc6SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
1027b5948fc6SIan Rogers        "Invert": "1",
1028b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1029b5948fc6SIan Rogers        "UMask": "0x1"
1030b5948fc6SIan Rogers    },
1031b5948fc6SIan Rogers    {
1032b5948fc6SIan Rogers        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
1033*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1034b5948fc6SIan Rogers        "CounterMask": "1",
1035b5948fc6SIan Rogers        "EventCode": "0x0E",
1036b5948fc6SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1037b5948fc6SIan Rogers        "Invert": "1",
1038b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1039b5948fc6SIan Rogers        "UMask": "0x1"
1040b5948fc6SIan Rogers    },
1041b5948fc6SIan Rogers    {
1042b5948fc6SIan Rogers        "BriefDescription": "Actually retired uops. (Precise Event - PEBS).",
1043*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1044b5948fc6SIan Rogers        "EventCode": "0xC2",
1045b5948fc6SIan Rogers        "EventName": "UOPS_RETIRED.ALL",
1046b5948fc6SIan Rogers        "PEBS": "1",
1047b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of micro-ops retired. (Precise Event)",
1048b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1049b5948fc6SIan Rogers        "UMask": "0x1"
1050b5948fc6SIan Rogers    },
1051b5948fc6SIan Rogers    {
1052b5948fc6SIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
1053*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1054b5948fc6SIan Rogers        "CounterMask": "1",
1055b5948fc6SIan Rogers        "EventCode": "0xC2",
1056b5948fc6SIan Rogers        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1057b5948fc6SIan Rogers        "Invert": "1",
1058b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1059b5948fc6SIan Rogers        "UMask": "0x1"
1060b5948fc6SIan Rogers    },
1061b5948fc6SIan Rogers    {
1062b5948fc6SIan Rogers        "BriefDescription": "Retirement slots used. (Precise Event - PEBS).",
1063*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1064b5948fc6SIan Rogers        "EventCode": "0xC2",
1065b5948fc6SIan Rogers        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1066b5948fc6SIan Rogers        "PEBS": "1",
1067b5948fc6SIan Rogers        "PublicDescription": "This event counts the number of retirement slots used each cycle.  There are potentially 4 slots that can be used each cycle - meaning, 4 micro-ops or 4 instructions could retire each cycle.  This event is used in determining the 'Retiring' category of the Top-Down pipeline slots characterization. (Precise Event - PEBS)",
1068b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1069b5948fc6SIan Rogers        "UMask": "0x2"
1070b5948fc6SIan Rogers    },
1071b5948fc6SIan Rogers    {
1072b5948fc6SIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
1073*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1074b5948fc6SIan Rogers        "CounterMask": "1",
1075b5948fc6SIan Rogers        "EventCode": "0xC2",
1076b5948fc6SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1077b5948fc6SIan Rogers        "Invert": "1",
1078b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1079b5948fc6SIan Rogers        "UMask": "0x1"
1080b5948fc6SIan Rogers    },
1081b5948fc6SIan Rogers    {
1082b5948fc6SIan Rogers        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1083*01cb5e3dSIan Rogers        "Counter": "0,1,2,3",
1084b5948fc6SIan Rogers        "CounterMask": "10",
1085b5948fc6SIan Rogers        "EventCode": "0xC2",
1086b5948fc6SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1087b5948fc6SIan Rogers        "Invert": "1",
1088b5948fc6SIan Rogers        "SampleAfterValue": "2000003",
1089b5948fc6SIan Rogers        "UMask": "0x1"
10906e82bdaeSAndi Kleen    }
10916e82bdaeSAndi Kleen]
1092