xref: /freebsd/lib/libpmc/pmu-events/arch/x86/jaketown/pipeline.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
3*18054d02SAlexander Motin        "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.",
4959826caSMatt Macy        "Counter": "0,1,2,3",
5*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
6959826caSMatt Macy        "EventCode": "0xB6",
7959826caSMatt Macy        "EventName": "AGU_BYPASS_CANCEL.COUNT",
8959826caSMatt Macy        "SampleAfterValue": "100003",
9*18054d02SAlexander Motin        "UMask": "0x1"
10959826caSMatt Macy    },
11959826caSMatt Macy    {
12*18054d02SAlexander Motin        "BriefDescription": "Divide operations executed.",
13959826caSMatt Macy        "Counter": "0,1,2,3",
14*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
15959826caSMatt Macy        "CounterMask": "1",
16959826caSMatt Macy        "EdgeDetect": "1",
17*18054d02SAlexander Motin        "EventCode": "0x14",
18*18054d02SAlexander Motin        "EventName": "ARITH.FPU_DIV",
19*18054d02SAlexander Motin        "PublicDescription": "This event counts the number of the divide operations executed.",
20959826caSMatt Macy        "SampleAfterValue": "100003",
21*18054d02SAlexander Motin        "UMask": "0x1"
22959826caSMatt Macy    },
23959826caSMatt Macy    {
24*18054d02SAlexander Motin        "BriefDescription": "Cycles when divider is busy executing divide operations.",
25959826caSMatt Macy        "Counter": "0,1,2,3",
26*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
27*18054d02SAlexander Motin        "EventCode": "0x14",
28*18054d02SAlexander Motin        "EventName": "ARITH.FPU_DIV_ACTIVE",
29*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
30*18054d02SAlexander Motin        "UMask": "0x1"
31*18054d02SAlexander Motin    },
32*18054d02SAlexander Motin    {
33*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired  branches.",
34*18054d02SAlexander Motin        "Counter": "0,1,2,3",
35*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
36*18054d02SAlexander Motin        "EventCode": "0x88",
37959826caSMatt Macy        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
38959826caSMatt Macy        "SampleAfterValue": "200003",
39*18054d02SAlexander Motin        "UMask": "0xff"
40959826caSMatt Macy    },
41959826caSMatt Macy    {
42*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired macro-conditional branches.",
43959826caSMatt Macy        "Counter": "0,1,2,3",
44*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
45*18054d02SAlexander Motin        "EventCode": "0x88",
46*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
47*18054d02SAlexander Motin        "SampleAfterValue": "200003",
48*18054d02SAlexander Motin        "UMask": "0xc1"
49*18054d02SAlexander Motin    },
50*18054d02SAlexander Motin    {
51*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
52*18054d02SAlexander Motin        "Counter": "0,1,2,3",
53*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
54*18054d02SAlexander Motin        "EventCode": "0x88",
55*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
56*18054d02SAlexander Motin        "SampleAfterValue": "200003",
57*18054d02SAlexander Motin        "UMask": "0xc2"
58*18054d02SAlexander Motin    },
59*18054d02SAlexander Motin    {
60*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired direct near calls.",
61*18054d02SAlexander Motin        "Counter": "0,1,2,3",
62*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
63*18054d02SAlexander Motin        "EventCode": "0x88",
64*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
65*18054d02SAlexander Motin        "SampleAfterValue": "200003",
66*18054d02SAlexander Motin        "UMask": "0xd0"
67*18054d02SAlexander Motin    },
68*18054d02SAlexander Motin    {
69*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
70*18054d02SAlexander Motin        "Counter": "0,1,2,3",
71*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
72*18054d02SAlexander Motin        "EventCode": "0x88",
73*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
74*18054d02SAlexander Motin        "SampleAfterValue": "200003",
75*18054d02SAlexander Motin        "UMask": "0xc4"
76*18054d02SAlexander Motin    },
77*18054d02SAlexander Motin    {
78*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired indirect return branches.",
79*18054d02SAlexander Motin        "Counter": "0,1,2,3",
80*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
81*18054d02SAlexander Motin        "EventCode": "0x88",
82*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
83*18054d02SAlexander Motin        "SampleAfterValue": "200003",
84*18054d02SAlexander Motin        "UMask": "0xc8"
85*18054d02SAlexander Motin    },
86*18054d02SAlexander Motin    {
87*18054d02SAlexander Motin        "BriefDescription": "Not taken macro-conditional branches.",
88*18054d02SAlexander Motin        "Counter": "0,1,2,3",
89*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
90*18054d02SAlexander Motin        "EventCode": "0x88",
91*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
92*18054d02SAlexander Motin        "SampleAfterValue": "200003",
93*18054d02SAlexander Motin        "UMask": "0x41"
94*18054d02SAlexander Motin    },
95*18054d02SAlexander Motin    {
96*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
97*18054d02SAlexander Motin        "Counter": "0,1,2,3",
98*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
99*18054d02SAlexander Motin        "EventCode": "0x88",
100*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
101*18054d02SAlexander Motin        "SampleAfterValue": "200003",
102*18054d02SAlexander Motin        "UMask": "0x81"
103*18054d02SAlexander Motin    },
104*18054d02SAlexander Motin    {
105*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
106*18054d02SAlexander Motin        "Counter": "0,1,2,3",
107*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
108*18054d02SAlexander Motin        "EventCode": "0x88",
109*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
110*18054d02SAlexander Motin        "SampleAfterValue": "200003",
111*18054d02SAlexander Motin        "UMask": "0x82"
112*18054d02SAlexander Motin    },
113*18054d02SAlexander Motin    {
114*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired direct near calls.",
115*18054d02SAlexander Motin        "Counter": "0,1,2,3",
116*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
117*18054d02SAlexander Motin        "EventCode": "0x88",
118*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
119*18054d02SAlexander Motin        "SampleAfterValue": "200003",
120*18054d02SAlexander Motin        "UMask": "0x90"
121*18054d02SAlexander Motin    },
122*18054d02SAlexander Motin    {
123*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
124*18054d02SAlexander Motin        "Counter": "0,1,2,3",
125*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
126*18054d02SAlexander Motin        "EventCode": "0x88",
127*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
128*18054d02SAlexander Motin        "SampleAfterValue": "200003",
129*18054d02SAlexander Motin        "UMask": "0x84"
130*18054d02SAlexander Motin    },
131*18054d02SAlexander Motin    {
132*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired indirect calls.",
133*18054d02SAlexander Motin        "Counter": "0,1,2,3",
134*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
135*18054d02SAlexander Motin        "EventCode": "0x88",
136*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
137*18054d02SAlexander Motin        "SampleAfterValue": "200003",
138*18054d02SAlexander Motin        "UMask": "0xa0"
139*18054d02SAlexander Motin    },
140*18054d02SAlexander Motin    {
141*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
142*18054d02SAlexander Motin        "Counter": "0,1,2,3",
143*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
144*18054d02SAlexander Motin        "EventCode": "0x88",
145*18054d02SAlexander Motin        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
146*18054d02SAlexander Motin        "SampleAfterValue": "200003",
147*18054d02SAlexander Motin        "UMask": "0x88"
148*18054d02SAlexander Motin    },
149*18054d02SAlexander Motin    {
150*18054d02SAlexander Motin        "BriefDescription": "All (macro) branch instructions retired.",
151*18054d02SAlexander Motin        "Counter": "0,1,2,3",
152*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
153*18054d02SAlexander Motin        "EventCode": "0xC4",
154*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
155*18054d02SAlexander Motin        "SampleAfterValue": "400009"
156*18054d02SAlexander Motin    },
157*18054d02SAlexander Motin    {
158*18054d02SAlexander Motin        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
159*18054d02SAlexander Motin        "Counter": "0,1,2,3",
160*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
161*18054d02SAlexander Motin        "EventCode": "0xC4",
162*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
163*18054d02SAlexander Motin        "PEBS": "2",
164*18054d02SAlexander Motin        "SampleAfterValue": "400009",
165*18054d02SAlexander Motin        "UMask": "0x4"
166*18054d02SAlexander Motin    },
167*18054d02SAlexander Motin    {
168*18054d02SAlexander Motin        "BriefDescription": "Conditional branch instructions retired.",
169*18054d02SAlexander Motin        "Counter": "0,1,2,3",
170*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
171*18054d02SAlexander Motin        "EventCode": "0xC4",
172*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.CONDITIONAL",
173*18054d02SAlexander Motin        "PEBS": "1",
174*18054d02SAlexander Motin        "SampleAfterValue": "400009",
175*18054d02SAlexander Motin        "UMask": "0x1"
176*18054d02SAlexander Motin    },
177*18054d02SAlexander Motin    {
178*18054d02SAlexander Motin        "BriefDescription": "Far branch instructions retired.",
179*18054d02SAlexander Motin        "Counter": "0,1,2,3",
180*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
181*18054d02SAlexander Motin        "EventCode": "0xC4",
182*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
183*18054d02SAlexander Motin        "SampleAfterValue": "100007",
184*18054d02SAlexander Motin        "UMask": "0x40"
185*18054d02SAlexander Motin    },
186*18054d02SAlexander Motin    {
187*18054d02SAlexander Motin        "BriefDescription": "Direct and indirect near call instructions retired.",
188*18054d02SAlexander Motin        "Counter": "0,1,2,3",
189*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
190*18054d02SAlexander Motin        "EventCode": "0xC4",
191*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_CALL",
192*18054d02SAlexander Motin        "PEBS": "1",
193*18054d02SAlexander Motin        "SampleAfterValue": "100007",
194*18054d02SAlexander Motin        "UMask": "0x2"
195*18054d02SAlexander Motin    },
196*18054d02SAlexander Motin    {
197*18054d02SAlexander Motin        "BriefDescription": "Return instructions retired.",
198*18054d02SAlexander Motin        "Counter": "0,1,2,3",
199*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
200*18054d02SAlexander Motin        "EventCode": "0xC4",
201*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
202*18054d02SAlexander Motin        "PEBS": "1",
203*18054d02SAlexander Motin        "SampleAfterValue": "100007",
204*18054d02SAlexander Motin        "UMask": "0x8"
205*18054d02SAlexander Motin    },
206*18054d02SAlexander Motin    {
207*18054d02SAlexander Motin        "BriefDescription": "Taken branch instructions retired.",
208*18054d02SAlexander Motin        "Counter": "0,1,2,3",
209*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
210*18054d02SAlexander Motin        "EventCode": "0xC4",
211*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
212*18054d02SAlexander Motin        "PEBS": "1",
213*18054d02SAlexander Motin        "SampleAfterValue": "400009",
214*18054d02SAlexander Motin        "UMask": "0x20"
215*18054d02SAlexander Motin    },
216*18054d02SAlexander Motin    {
217*18054d02SAlexander Motin        "BriefDescription": "Not taken branch instructions retired.",
218*18054d02SAlexander Motin        "Counter": "0,1,2,3",
219*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
220*18054d02SAlexander Motin        "EventCode": "0xC4",
221*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
222*18054d02SAlexander Motin        "SampleAfterValue": "400009",
223*18054d02SAlexander Motin        "UMask": "0x10"
224*18054d02SAlexander Motin    },
225*18054d02SAlexander Motin    {
226*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
227*18054d02SAlexander Motin        "Counter": "0,1,2,3",
228*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
229*18054d02SAlexander Motin        "EventCode": "0x89",
230959826caSMatt Macy        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
231959826caSMatt Macy        "SampleAfterValue": "200003",
232*18054d02SAlexander Motin        "UMask": "0xff"
233*18054d02SAlexander Motin    },
234*18054d02SAlexander Motin    {
235959826caSMatt Macy        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
236959826caSMatt Macy        "Counter": "0,1,2,3",
237*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
238*18054d02SAlexander Motin        "EventCode": "0x89",
239*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
240*18054d02SAlexander Motin        "SampleAfterValue": "200003",
241*18054d02SAlexander Motin        "UMask": "0xc1"
242959826caSMatt Macy    },
243959826caSMatt Macy    {
244*18054d02SAlexander Motin        "BriefDescription": "Speculative and retired mispredicted direct near calls.",
245959826caSMatt Macy        "Counter": "0,1,2,3",
246*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
247*18054d02SAlexander Motin        "EventCode": "0x89",
248*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
249*18054d02SAlexander Motin        "SampleAfterValue": "200003",
250*18054d02SAlexander Motin        "UMask": "0xd0"
251959826caSMatt Macy    },
252959826caSMatt Macy    {
253*18054d02SAlexander Motin        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
254959826caSMatt Macy        "Counter": "0,1,2,3",
255*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
256*18054d02SAlexander Motin        "EventCode": "0x89",
257*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
258*18054d02SAlexander Motin        "SampleAfterValue": "200003",
259*18054d02SAlexander Motin        "UMask": "0xc4"
260959826caSMatt Macy    },
261959826caSMatt Macy    {
262*18054d02SAlexander Motin        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
263959826caSMatt Macy        "Counter": "0,1,2,3",
264*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
265*18054d02SAlexander Motin        "EventCode": "0x89",
266*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
267*18054d02SAlexander Motin        "SampleAfterValue": "200003",
268*18054d02SAlexander Motin        "UMask": "0x41"
269959826caSMatt Macy    },
270959826caSMatt Macy    {
271*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
272*18054d02SAlexander Motin        "Counter": "0,1,2,3",
273*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
274*18054d02SAlexander Motin        "EventCode": "0x89",
275*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
276*18054d02SAlexander Motin        "SampleAfterValue": "200003",
277*18054d02SAlexander Motin        "UMask": "0x81"
278959826caSMatt Macy    },
279959826caSMatt Macy    {
280*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
281*18054d02SAlexander Motin        "Counter": "0,1,2,3",
282*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
283*18054d02SAlexander Motin        "EventCode": "0x89",
284*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
285*18054d02SAlexander Motin        "SampleAfterValue": "200003",
286*18054d02SAlexander Motin        "UMask": "0x90"
287*18054d02SAlexander Motin    },
288*18054d02SAlexander Motin    {
289*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
290*18054d02SAlexander Motin        "Counter": "0,1,2,3",
291*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
292*18054d02SAlexander Motin        "EventCode": "0x89",
293*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
294*18054d02SAlexander Motin        "SampleAfterValue": "200003",
295*18054d02SAlexander Motin        "UMask": "0x84"
296*18054d02SAlexander Motin    },
297*18054d02SAlexander Motin    {
298*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
299*18054d02SAlexander Motin        "Counter": "0,1,2,3",
300*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
301*18054d02SAlexander Motin        "EventCode": "0x89",
302*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
303*18054d02SAlexander Motin        "SampleAfterValue": "200003",
304*18054d02SAlexander Motin        "UMask": "0xa0"
305*18054d02SAlexander Motin    },
306*18054d02SAlexander Motin    {
307*18054d02SAlexander Motin        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
308*18054d02SAlexander Motin        "Counter": "0,1,2,3",
309*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
310*18054d02SAlexander Motin        "EventCode": "0x89",
311*18054d02SAlexander Motin        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
312*18054d02SAlexander Motin        "SampleAfterValue": "200003",
313*18054d02SAlexander Motin        "UMask": "0x88"
314*18054d02SAlexander Motin    },
315*18054d02SAlexander Motin    {
316*18054d02SAlexander Motin        "BriefDescription": "All mispredicted macro branch instructions retired.",
317*18054d02SAlexander Motin        "Counter": "0,1,2,3",
318*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
319*18054d02SAlexander Motin        "EventCode": "0xC5",
320*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
321*18054d02SAlexander Motin        "SampleAfterValue": "400009"
322*18054d02SAlexander Motin    },
323*18054d02SAlexander Motin    {
324*18054d02SAlexander Motin        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
325*18054d02SAlexander Motin        "Counter": "0,1,2,3",
326*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
327*18054d02SAlexander Motin        "EventCode": "0xC5",
328*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
329*18054d02SAlexander Motin        "PEBS": "2",
330*18054d02SAlexander Motin        "PublicDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS)",
331*18054d02SAlexander Motin        "SampleAfterValue": "400009",
332*18054d02SAlexander Motin        "UMask": "0x4"
333*18054d02SAlexander Motin    },
334*18054d02SAlexander Motin    {
335*18054d02SAlexander Motin        "BriefDescription": "Mispredicted conditional branch instructions retired.",
336*18054d02SAlexander Motin        "Counter": "0,1,2,3",
337*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
338*18054d02SAlexander Motin        "EventCode": "0xC5",
339*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
340*18054d02SAlexander Motin        "PEBS": "1",
341*18054d02SAlexander Motin        "SampleAfterValue": "400009",
342*18054d02SAlexander Motin        "UMask": "0x1"
343*18054d02SAlexander Motin    },
344*18054d02SAlexander Motin    {
345*18054d02SAlexander Motin        "BriefDescription": "Direct and indirect mispredicted near call instructions retired.",
346*18054d02SAlexander Motin        "Counter": "0,1,2,3",
347*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
348*18054d02SAlexander Motin        "EventCode": "0xC5",
349*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
350*18054d02SAlexander Motin        "PEBS": "1",
351*18054d02SAlexander Motin        "SampleAfterValue": "100007",
352*18054d02SAlexander Motin        "UMask": "0x2"
353*18054d02SAlexander Motin    },
354*18054d02SAlexander Motin    {
355*18054d02SAlexander Motin        "BriefDescription": "Mispredicted not taken branch instructions retired.",
356*18054d02SAlexander Motin        "Counter": "0,1,2,3",
357*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
358*18054d02SAlexander Motin        "EventCode": "0xC5",
359*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
360*18054d02SAlexander Motin        "PEBS": "1",
361*18054d02SAlexander Motin        "SampleAfterValue": "400009",
362*18054d02SAlexander Motin        "UMask": "0x10"
363*18054d02SAlexander Motin    },
364*18054d02SAlexander Motin    {
365*18054d02SAlexander Motin        "BriefDescription": "Mispredicted taken branch instructions retired.",
366*18054d02SAlexander Motin        "Counter": "0,1,2,3",
367*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
368*18054d02SAlexander Motin        "EventCode": "0xC5",
369*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.TAKEN",
370*18054d02SAlexander Motin        "PEBS": "1",
371*18054d02SAlexander Motin        "SampleAfterValue": "400009",
372*18054d02SAlexander Motin        "UMask": "0x20"
373*18054d02SAlexander Motin    },
374*18054d02SAlexander Motin    {
375*18054d02SAlexander Motin        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
376*18054d02SAlexander Motin        "Counter": "0,1,2,3",
377*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
378959826caSMatt Macy        "EventCode": "0x3C",
379*18054d02SAlexander Motin        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
380959826caSMatt Macy        "SampleAfterValue": "2000003",
381*18054d02SAlexander Motin        "UMask": "0x2"
382959826caSMatt Macy    },
383959826caSMatt Macy    {
384*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
385959826caSMatt Macy        "Counter": "0,1,2,3",
386*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
387*18054d02SAlexander Motin        "EventCode": "0x3C",
388*18054d02SAlexander Motin        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
389*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
390*18054d02SAlexander Motin        "UMask": "0x1"
391*18054d02SAlexander Motin    },
392*18054d02SAlexander Motin    {
393959826caSMatt Macy        "AnyThread": "1",
394*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
395*18054d02SAlexander Motin        "Counter": "0,1,2,3",
396*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
397*18054d02SAlexander Motin        "EventCode": "0x3C",
398959826caSMatt Macy        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
399959826caSMatt Macy        "SampleAfterValue": "2000003",
400*18054d02SAlexander Motin        "UMask": "0x1"
401959826caSMatt Macy    },
402959826caSMatt Macy    {
403*18054d02SAlexander Motin        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
404959826caSMatt Macy        "Counter": "0,1,2,3",
405*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
406959826caSMatt Macy        "EventCode": "0x3C",
407959826caSMatt Macy        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
408959826caSMatt Macy        "SampleAfterValue": "2000003",
409*18054d02SAlexander Motin        "UMask": "0x2"
410*18054d02SAlexander Motin    },
411*18054d02SAlexander Motin    {
412*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the core is not in halt state.",
413*18054d02SAlexander Motin        "Counter": "Fixed counter 3",
414*18054d02SAlexander Motin        "CounterHTOff": "Fixed counter 3",
415*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
416*18054d02SAlexander Motin        "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.",
417*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
418*18054d02SAlexander Motin        "UMask": "0x3"
419*18054d02SAlexander Motin    },
420*18054d02SAlexander Motin    {
421*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
422*18054d02SAlexander Motin        "Counter": "0,1,2,3",
423*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
424*18054d02SAlexander Motin        "EventCode": "0x3C",
425*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
426*18054d02SAlexander Motin        "PublicDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
427*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
428*18054d02SAlexander Motin        "UMask": "0x1"
429*18054d02SAlexander Motin    },
430*18054d02SAlexander Motin    {
431*18054d02SAlexander Motin        "AnyThread": "1",
432*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
433*18054d02SAlexander Motin        "Counter": "0,1,2,3",
434*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
435*18054d02SAlexander Motin        "EventCode": "0x3C",
436*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
437*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
438*18054d02SAlexander Motin        "UMask": "0x1"
439*18054d02SAlexander Motin    },
440*18054d02SAlexander Motin    {
441*18054d02SAlexander Motin        "BriefDescription": "Core cycles when the thread is not in halt state.",
442*18054d02SAlexander Motin        "Counter": "Fixed counter 2",
443*18054d02SAlexander Motin        "CounterHTOff": "Fixed counter 2",
444*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD",
445*18054d02SAlexander Motin        "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.",
446*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
447*18054d02SAlexander Motin        "UMask": "0x2"
448*18054d02SAlexander Motin    },
449*18054d02SAlexander Motin    {
450*18054d02SAlexander Motin        "AnyThread": "1",
451*18054d02SAlexander Motin        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
452*18054d02SAlexander Motin        "Counter": "Fixed counter 2",
453*18054d02SAlexander Motin        "CounterHTOff": "Fixed counter 2",
454*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
455*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
456*18054d02SAlexander Motin        "UMask": "0x2"
457*18054d02SAlexander Motin    },
458*18054d02SAlexander Motin    {
459*18054d02SAlexander Motin        "BriefDescription": "Thread cycles when thread is not in halt state.",
460*18054d02SAlexander Motin        "Counter": "0,1,2,3",
461*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
462*18054d02SAlexander Motin        "EventCode": "0x3C",
463*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
464*18054d02SAlexander Motin        "SampleAfterValue": "2000003"
465*18054d02SAlexander Motin    },
466*18054d02SAlexander Motin    {
467*18054d02SAlexander Motin        "AnyThread": "1",
468*18054d02SAlexander Motin        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
469*18054d02SAlexander Motin        "Counter": "0,1,2,3",
470*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
471*18054d02SAlexander Motin        "EventCode": "0x3C",
472*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
473*18054d02SAlexander Motin        "SampleAfterValue": "2000003"
474*18054d02SAlexander Motin    },
475*18054d02SAlexander Motin    {
476*18054d02SAlexander Motin        "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.",
477*18054d02SAlexander Motin        "Counter": "2",
478*18054d02SAlexander Motin        "CounterHTOff": "2",
479*18054d02SAlexander Motin        "CounterMask": "2",
480*18054d02SAlexander Motin        "EventCode": "0xA3",
481*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
482*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
483*18054d02SAlexander Motin        "UMask": "0x2"
484*18054d02SAlexander Motin    },
485*18054d02SAlexander Motin    {
486*18054d02SAlexander Motin        "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.",
487*18054d02SAlexander Motin        "Counter": "0,1,2,3",
488*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
489*18054d02SAlexander Motin        "CounterMask": "1",
490*18054d02SAlexander Motin        "EventCode": "0xA3",
491*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
492*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
493*18054d02SAlexander Motin        "UMask": "0x1"
494*18054d02SAlexander Motin    },
495*18054d02SAlexander Motin    {
496*18054d02SAlexander Motin        "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.",
497*18054d02SAlexander Motin        "Counter": "0,1,2,3",
498*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
499*18054d02SAlexander Motin        "CounterMask": "4",
500*18054d02SAlexander Motin        "EventCode": "0xA3",
501*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
502*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
503*18054d02SAlexander Motin        "UMask": "0x4"
504*18054d02SAlexander Motin    },
505*18054d02SAlexander Motin    {
506*18054d02SAlexander Motin        "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.",
507*18054d02SAlexander Motin        "Counter": "2",
508*18054d02SAlexander Motin        "CounterHTOff": "2",
509*18054d02SAlexander Motin        "CounterMask": "6",
510*18054d02SAlexander Motin        "EventCode": "0xA3",
511*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
512*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
513*18054d02SAlexander Motin        "UMask": "0x6"
514*18054d02SAlexander Motin    },
515*18054d02SAlexander Motin    {
516*18054d02SAlexander Motin        "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.",
517*18054d02SAlexander Motin        "Counter": "0,1,2,3",
518*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
519*18054d02SAlexander Motin        "CounterMask": "5",
520*18054d02SAlexander Motin        "EventCode": "0xA3",
521*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
522*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
523*18054d02SAlexander Motin        "UMask": "0x5"
524*18054d02SAlexander Motin    },
525*18054d02SAlexander Motin    {
526*18054d02SAlexander Motin        "BriefDescription": "Stall cycles because IQ is full.",
527*18054d02SAlexander Motin        "Counter": "0,1,2,3",
528*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
529*18054d02SAlexander Motin        "EventCode": "0x87",
530*18054d02SAlexander Motin        "EventName": "ILD_STALL.IQ_FULL",
531*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
532*18054d02SAlexander Motin        "UMask": "0x4"
533*18054d02SAlexander Motin    },
534*18054d02SAlexander Motin    {
535*18054d02SAlexander Motin        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
536*18054d02SAlexander Motin        "Counter": "0,1,2,3",
537*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
538*18054d02SAlexander Motin        "EventCode": "0x87",
539*18054d02SAlexander Motin        "EventName": "ILD_STALL.LCP",
540*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
541*18054d02SAlexander Motin        "UMask": "0x1"
542*18054d02SAlexander Motin    },
543*18054d02SAlexander Motin    {
544*18054d02SAlexander Motin        "BriefDescription": "Instructions retired from execution.",
545*18054d02SAlexander Motin        "Counter": "Fixed counter 1",
546*18054d02SAlexander Motin        "CounterHTOff": "Fixed counter 1",
547*18054d02SAlexander Motin        "EventName": "INST_RETIRED.ANY",
548*18054d02SAlexander Motin        "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.",
549*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
550*18054d02SAlexander Motin        "UMask": "0x1"
551*18054d02SAlexander Motin    },
552*18054d02SAlexander Motin    {
553*18054d02SAlexander Motin        "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
554*18054d02SAlexander Motin        "Counter": "0,1,2,3",
555*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
556*18054d02SAlexander Motin        "EventCode": "0xC0",
557*18054d02SAlexander Motin        "EventName": "INST_RETIRED.ANY_P",
558*18054d02SAlexander Motin        "SampleAfterValue": "2000003"
559*18054d02SAlexander Motin    },
560*18054d02SAlexander Motin    {
561*18054d02SAlexander Motin        "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
562*18054d02SAlexander Motin        "Counter": "1",
563*18054d02SAlexander Motin        "CounterHTOff": "1",
564*18054d02SAlexander Motin        "EventCode": "0xC0",
565*18054d02SAlexander Motin        "EventName": "INST_RETIRED.PREC_DIST",
566*18054d02SAlexander Motin        "PEBS": "2",
567*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
568*18054d02SAlexander Motin        "TakenAlone": "1",
569*18054d02SAlexander Motin        "UMask": "0x1"
570*18054d02SAlexander Motin    },
571*18054d02SAlexander Motin    {
572*18054d02SAlexander Motin        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
573*18054d02SAlexander Motin        "Counter": "0,1,2,3",
574*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
575*18054d02SAlexander Motin        "EventCode": "0x0D",
576*18054d02SAlexander Motin        "EventName": "INT_MISC.RAT_STALL_CYCLES",
577*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
578*18054d02SAlexander Motin        "UMask": "0x40"
579*18054d02SAlexander Motin    },
580*18054d02SAlexander Motin    {
581*18054d02SAlexander Motin        "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...).",
582*18054d02SAlexander Motin        "Counter": "0,1,2,3",
583*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
584*18054d02SAlexander Motin        "CounterMask": "1",
585*18054d02SAlexander Motin        "EventCode": "0x0D",
586*18054d02SAlexander Motin        "EventName": "INT_MISC.RECOVERY_CYCLES",
587*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
588*18054d02SAlexander Motin        "UMask": "0x3"
589*18054d02SAlexander Motin    },
590*18054d02SAlexander Motin    {
591*18054d02SAlexander Motin        "AnyThread": "1",
592*18054d02SAlexander Motin        "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).",
593*18054d02SAlexander Motin        "Counter": "0,1,2,3",
594*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
595*18054d02SAlexander Motin        "CounterMask": "1",
596*18054d02SAlexander Motin        "EventCode": "0x0D",
597*18054d02SAlexander Motin        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
598*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
599*18054d02SAlexander Motin        "UMask": "0x3"
600*18054d02SAlexander Motin    },
601*18054d02SAlexander Motin    {
602*18054d02SAlexander Motin        "BriefDescription": "Number of occurences 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...).",
603*18054d02SAlexander Motin        "Counter": "0,1,2,3",
604*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
605*18054d02SAlexander Motin        "CounterMask": "1",
606*18054d02SAlexander Motin        "EdgeDetect": "1",
607*18054d02SAlexander Motin        "EventCode": "0x0D",
608*18054d02SAlexander Motin        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
609*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
610*18054d02SAlexander Motin        "UMask": "0x3"
611*18054d02SAlexander Motin    },
612*18054d02SAlexander Motin    {
613*18054d02SAlexander Motin        "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).",
614*18054d02SAlexander Motin        "Counter": "0,1,2,3",
615*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
616*18054d02SAlexander Motin        "EventCode": "0x03",
617*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.ALL_BLOCK",
618*18054d02SAlexander Motin        "SampleAfterValue": "100003",
619*18054d02SAlexander Motin        "UMask": "0x10"
620*18054d02SAlexander Motin    },
621*18054d02SAlexander Motin    {
622*18054d02SAlexander Motin        "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
623*18054d02SAlexander Motin        "Counter": "0,1,2,3",
624*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
625*18054d02SAlexander Motin        "EventCode": "0x03",
626*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
627*18054d02SAlexander Motin        "SampleAfterValue": "100003",
628*18054d02SAlexander Motin        "UMask": "0x1"
629*18054d02SAlexander Motin    },
630*18054d02SAlexander Motin    {
631*18054d02SAlexander Motin        "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.",
632*18054d02SAlexander Motin        "Counter": "0,1,2,3",
633*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
634*18054d02SAlexander Motin        "EventCode": "0x03",
635*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.NO_SR",
636*18054d02SAlexander Motin        "SampleAfterValue": "100003",
637*18054d02SAlexander Motin        "UMask": "0x8"
638*18054d02SAlexander Motin    },
639*18054d02SAlexander Motin    {
640*18054d02SAlexander Motin        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
641*18054d02SAlexander Motin        "Counter": "0,1,2,3",
642*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
643*18054d02SAlexander Motin        "EventCode": "0x03",
644*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.STORE_FORWARD",
645*18054d02SAlexander Motin        "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 preceeding smaller uncompleted store.  See the table of not supported store forwards in the Intel? 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.",
646*18054d02SAlexander Motin        "SampleAfterValue": "100003",
647*18054d02SAlexander Motin        "UMask": "0x2"
648*18054d02SAlexander Motin    },
649*18054d02SAlexander Motin    {
650*18054d02SAlexander Motin        "BriefDescription": "False dependencies in MOB due to partial compare.",
651*18054d02SAlexander Motin        "Counter": "0,1,2,3",
652*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
653*18054d02SAlexander Motin        "EventCode": "0x07",
654*18054d02SAlexander Motin        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
655*18054d02SAlexander Motin        "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.",
656*18054d02SAlexander Motin        "SampleAfterValue": "100003",
657*18054d02SAlexander Motin        "UMask": "0x1"
658*18054d02SAlexander Motin    },
659*18054d02SAlexander Motin    {
660*18054d02SAlexander Motin        "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.",
661*18054d02SAlexander Motin        "Counter": "0,1,2,3",
662*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
663*18054d02SAlexander Motin        "EventCode": "0x07",
664*18054d02SAlexander Motin        "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
665*18054d02SAlexander Motin        "SampleAfterValue": "100003",
666*18054d02SAlexander Motin        "UMask": "0x8"
667*18054d02SAlexander Motin    },
668*18054d02SAlexander Motin    {
669*18054d02SAlexander Motin        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
670*18054d02SAlexander Motin        "Counter": "0,1,2,3",
671*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
672*18054d02SAlexander Motin        "EventCode": "0x4C",
673*18054d02SAlexander Motin        "EventName": "LOAD_HIT_PRE.HW_PF",
674*18054d02SAlexander Motin        "SampleAfterValue": "100003",
675*18054d02SAlexander Motin        "UMask": "0x2"
676*18054d02SAlexander Motin    },
677*18054d02SAlexander Motin    {
678*18054d02SAlexander Motin        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
679*18054d02SAlexander Motin        "Counter": "0,1,2,3",
680*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
681*18054d02SAlexander Motin        "EventCode": "0x4C",
682*18054d02SAlexander Motin        "EventName": "LOAD_HIT_PRE.SW_PF",
683*18054d02SAlexander Motin        "SampleAfterValue": "100003",
684*18054d02SAlexander Motin        "UMask": "0x1"
685*18054d02SAlexander Motin    },
686*18054d02SAlexander Motin    {
687*18054d02SAlexander Motin        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
688*18054d02SAlexander Motin        "Counter": "0,1,2,3",
689*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
690*18054d02SAlexander Motin        "CounterMask": "4",
691*18054d02SAlexander Motin        "EventCode": "0xA8",
692*18054d02SAlexander Motin        "EventName": "LSD.CYCLES_4_UOPS",
693*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
694*18054d02SAlexander Motin        "UMask": "0x1"
695*18054d02SAlexander Motin    },
696*18054d02SAlexander Motin    {
697*18054d02SAlexander Motin        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
698*18054d02SAlexander Motin        "Counter": "0,1,2,3",
699*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
700*18054d02SAlexander Motin        "CounterMask": "1",
701*18054d02SAlexander Motin        "EventCode": "0xA8",
702*18054d02SAlexander Motin        "EventName": "LSD.CYCLES_ACTIVE",
703*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
704*18054d02SAlexander Motin        "UMask": "0x1"
705*18054d02SAlexander Motin    },
706*18054d02SAlexander Motin    {
707*18054d02SAlexander Motin        "BriefDescription": "Number of Uops delivered by the LSD.",
708*18054d02SAlexander Motin        "Counter": "0,1,2,3",
709*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
710*18054d02SAlexander Motin        "EventCode": "0xA8",
711*18054d02SAlexander Motin        "EventName": "LSD.UOPS",
712*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
713*18054d02SAlexander Motin        "UMask": "0x1"
714*18054d02SAlexander Motin    },
715*18054d02SAlexander Motin    {
716*18054d02SAlexander Motin        "BriefDescription": "Number of machine clears (nukes) of any type.",
717*18054d02SAlexander Motin        "Counter": "0,1,2,3",
718*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
719*18054d02SAlexander Motin        "CounterMask": "1",
720*18054d02SAlexander Motin        "EdgeDetect": "1",
721*18054d02SAlexander Motin        "EventCode": "0xc3",
722*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.COUNT",
723*18054d02SAlexander Motin        "SampleAfterValue": "100003",
724*18054d02SAlexander Motin        "UMask": "0x1"
725*18054d02SAlexander Motin    },
726*18054d02SAlexander Motin    {
727*18054d02SAlexander Motin        "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.",
728*18054d02SAlexander Motin        "Counter": "0,1,2,3",
729*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
730*18054d02SAlexander Motin        "EventCode": "0xC3",
731*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.MASKMOV",
732*18054d02SAlexander Motin        "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.",
733*18054d02SAlexander Motin        "SampleAfterValue": "100003",
734*18054d02SAlexander Motin        "UMask": "0x20"
735*18054d02SAlexander Motin    },
736*18054d02SAlexander Motin    {
737*18054d02SAlexander Motin        "BriefDescription": "Self-modifying code (SMC) detected.",
738*18054d02SAlexander Motin        "Counter": "0,1,2,3",
739*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
740*18054d02SAlexander Motin        "EventCode": "0xC3",
741*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.SMC",
742*18054d02SAlexander Motin        "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.",
743*18054d02SAlexander Motin        "SampleAfterValue": "100003",
744*18054d02SAlexander Motin        "UMask": "0x4"
745*18054d02SAlexander Motin    },
746*18054d02SAlexander Motin    {
747*18054d02SAlexander Motin        "BriefDescription": "Retired instructions experiencing ITLB misses.",
748*18054d02SAlexander Motin        "Counter": "0,1,2,3",
749*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
750*18054d02SAlexander Motin        "EventCode": "0xC1",
751*18054d02SAlexander Motin        "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
752*18054d02SAlexander Motin        "SampleAfterValue": "100003",
753*18054d02SAlexander Motin        "UMask": "0x2"
754*18054d02SAlexander Motin    },
755*18054d02SAlexander Motin    {
756*18054d02SAlexander Motin        "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
757*18054d02SAlexander Motin        "Counter": "0,1,2,3",
758*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
759*18054d02SAlexander Motin        "EventCode": "0x59",
760*18054d02SAlexander Motin        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
761*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
762*18054d02SAlexander Motin        "UMask": "0x20"
763*18054d02SAlexander Motin    },
764*18054d02SAlexander Motin    {
765*18054d02SAlexander Motin        "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
766*18054d02SAlexander Motin        "Counter": "0,1,2,3",
767*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
768*18054d02SAlexander Motin        "CounterMask": "1",
769*18054d02SAlexander Motin        "EventCode": "0x59",
770*18054d02SAlexander Motin        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
771*18054d02SAlexander Motin        "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? 64 and IA-32 Architectures Optimization Reference Manual.",
772*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
773*18054d02SAlexander Motin        "UMask": "0x20"
774*18054d02SAlexander Motin    },
775*18054d02SAlexander Motin    {
776*18054d02SAlexander Motin        "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
777*18054d02SAlexander Motin        "Counter": "0,1,2,3",
778*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
779*18054d02SAlexander Motin        "EventCode": "0x59",
780*18054d02SAlexander Motin        "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
781*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
782*18054d02SAlexander Motin        "UMask": "0x80"
783*18054d02SAlexander Motin    },
784*18054d02SAlexander Motin    {
785*18054d02SAlexander Motin        "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
786*18054d02SAlexander Motin        "Counter": "0,1,2,3",
787*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
788*18054d02SAlexander Motin        "EventCode": "0x59",
789*18054d02SAlexander Motin        "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
790*18054d02SAlexander Motin        "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? 64 and IA-32 Architectures Optimization Reference Manual for more details about slow LEA instructions.",
791*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
792*18054d02SAlexander Motin        "UMask": "0x40"
793*18054d02SAlexander Motin    },
794*18054d02SAlexander Motin    {
795*18054d02SAlexander Motin        "BriefDescription": "Resource-related stall cycles.",
796*18054d02SAlexander Motin        "Counter": "0,1,2,3",
797*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
798*18054d02SAlexander Motin        "EventCode": "0xA2",
799*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.ANY",
800*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
801*18054d02SAlexander Motin        "UMask": "0x1"
802*18054d02SAlexander Motin    },
803*18054d02SAlexander Motin    {
804*18054d02SAlexander Motin        "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
805*18054d02SAlexander Motin        "Counter": "0,1,2,3",
806*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
807*18054d02SAlexander Motin        "EventCode": "0xA2",
808*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.LB",
809*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
810*18054d02SAlexander Motin        "UMask": "0x2"
811*18054d02SAlexander Motin    },
812*18054d02SAlexander Motin    {
813*18054d02SAlexander Motin        "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
814*18054d02SAlexander Motin        "Counter": "0,1,2,3",
815*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
816*18054d02SAlexander Motin        "EventCode": "0xA2",
817*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.LB_SB",
818*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
819*18054d02SAlexander Motin        "UMask": "0xa"
820*18054d02SAlexander Motin    },
821*18054d02SAlexander Motin    {
822*18054d02SAlexander Motin        "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
823*18054d02SAlexander Motin        "Counter": "0,1,2,3",
824*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
825*18054d02SAlexander Motin        "EventCode": "0xA2",
826*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.MEM_RS",
827*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
828*18054d02SAlexander Motin        "UMask": "0xe"
829*18054d02SAlexander Motin    },
830*18054d02SAlexander Motin    {
831*18054d02SAlexander Motin        "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
832*18054d02SAlexander Motin        "Counter": "0,1,2,3",
833*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
834*18054d02SAlexander Motin        "EventCode": "0xA2",
835*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.OOO_RSRC",
836*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
837*18054d02SAlexander Motin        "UMask": "0xf0"
838*18054d02SAlexander Motin    },
839*18054d02SAlexander Motin    {
840*18054d02SAlexander Motin        "BriefDescription": "Cycles stalled due to re-order buffer full.",
841*18054d02SAlexander Motin        "Counter": "0,1,2,3",
842*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
843*18054d02SAlexander Motin        "EventCode": "0xA2",
844*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.ROB",
845*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
846*18054d02SAlexander Motin        "UMask": "0x10"
847*18054d02SAlexander Motin    },
848*18054d02SAlexander Motin    {
849*18054d02SAlexander Motin        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
850*18054d02SAlexander Motin        "Counter": "0,1,2,3",
851*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
852*18054d02SAlexander Motin        "EventCode": "0xA2",
853*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.RS",
854*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
855*18054d02SAlexander Motin        "UMask": "0x4"
856*18054d02SAlexander Motin    },
857*18054d02SAlexander Motin    {
858*18054d02SAlexander Motin        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
859*18054d02SAlexander Motin        "Counter": "0,1,2,3",
860*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
861*18054d02SAlexander Motin        "EventCode": "0xA2",
862*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.SB",
863*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
864*18054d02SAlexander Motin        "UMask": "0x8"
865*18054d02SAlexander Motin    },
866*18054d02SAlexander Motin    {
867*18054d02SAlexander Motin        "BriefDescription": "Cycles with either free list is empty.",
868*18054d02SAlexander Motin        "Counter": "0,1,2,3",
869*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
870*18054d02SAlexander Motin        "EventCode": "0x5B",
871*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
872*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
873*18054d02SAlexander Motin        "UMask": "0xc"
874*18054d02SAlexander Motin    },
875*18054d02SAlexander Motin    {
876*18054d02SAlexander Motin        "BriefDescription": "Resource stalls2 control structures full for physical registers.",
877*18054d02SAlexander Motin        "Counter": "0,1,2,3",
878*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
879*18054d02SAlexander Motin        "EventCode": "0x5B",
880*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
881*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
882*18054d02SAlexander Motin        "UMask": "0xf"
883*18054d02SAlexander Motin    },
884*18054d02SAlexander Motin    {
885*18054d02SAlexander Motin        "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
886*18054d02SAlexander Motin        "Counter": "0,1,2,3",
887*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
888*18054d02SAlexander Motin        "EventCode": "0x5B",
889*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS2.BOB_FULL",
890*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
891*18054d02SAlexander Motin        "UMask": "0x40"
892*18054d02SAlexander Motin    },
893*18054d02SAlexander Motin    {
894*18054d02SAlexander Motin        "BriefDescription": "Resource stalls out of order resources full.",
895*18054d02SAlexander Motin        "Counter": "0,1,2,3",
896*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
897*18054d02SAlexander Motin        "EventCode": "0x5B",
898*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS2.OOO_RSRC",
899*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
900*18054d02SAlexander Motin        "UMask": "0x4f"
901*18054d02SAlexander Motin    },
902*18054d02SAlexander Motin    {
903*18054d02SAlexander Motin        "BriefDescription": "Count cases of saving new LBR.",
904*18054d02SAlexander Motin        "Counter": "0,1,2,3",
905*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
906*18054d02SAlexander Motin        "EventCode": "0xCC",
907*18054d02SAlexander Motin        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
908*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
909*18054d02SAlexander Motin        "UMask": "0x20"
910*18054d02SAlexander Motin    },
911*18054d02SAlexander Motin    {
912*18054d02SAlexander Motin        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
913*18054d02SAlexander Motin        "Counter": "0,1,2,3",
914*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
915*18054d02SAlexander Motin        "EventCode": "0x5E",
916*18054d02SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_CYCLES",
917*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
918*18054d02SAlexander Motin        "UMask": "0x1"
919*18054d02SAlexander Motin    },
920*18054d02SAlexander Motin    {
921*18054d02SAlexander Motin        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
922*18054d02SAlexander Motin        "Counter": "0,1,2,3",
923*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
924*18054d02SAlexander Motin        "CounterMask": "1",
925*18054d02SAlexander Motin        "EdgeDetect": "1",
926*18054d02SAlexander Motin        "EventCode": "0x5E",
927*18054d02SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_END",
928*18054d02SAlexander Motin        "Invert": "1",
929*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
930*18054d02SAlexander Motin        "UMask": "0x1"
931*18054d02SAlexander Motin    },
932*18054d02SAlexander Motin    {
933*18054d02SAlexander Motin        "BriefDescription": "Uops dispatched from any thread.",
934*18054d02SAlexander Motin        "Counter": "0,1,2,3",
935*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
936*18054d02SAlexander Motin        "EventCode": "0xB1",
937*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.CORE",
938*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
939*18054d02SAlexander Motin        "UMask": "0x2"
940*18054d02SAlexander Motin    },
941*18054d02SAlexander Motin    {
942*18054d02SAlexander Motin        "BriefDescription": "Uops dispatched per thread.",
943*18054d02SAlexander Motin        "Counter": "0,1,2,3",
944*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
945*18054d02SAlexander Motin        "EventCode": "0xB1",
946*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.THREAD",
947*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
948*18054d02SAlexander Motin        "UMask": "0x1"
949*18054d02SAlexander Motin    },
950*18054d02SAlexander Motin    {
951*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
952*18054d02SAlexander Motin        "Counter": "0,1,2,3",
953*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
954*18054d02SAlexander Motin        "EventCode": "0xA1",
955*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
956*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
957*18054d02SAlexander Motin        "UMask": "0x1"
958*18054d02SAlexander Motin    },
959*18054d02SAlexander Motin    {
960*18054d02SAlexander Motin        "AnyThread": "1",
961*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
962*18054d02SAlexander Motin        "Counter": "0,1,2,3",
963*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
964*18054d02SAlexander Motin        "EventCode": "0xA1",
965*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
966*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
967*18054d02SAlexander Motin        "UMask": "0x1"
968*18054d02SAlexander Motin    },
969*18054d02SAlexander Motin    {
970*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
971*18054d02SAlexander Motin        "Counter": "0,1,2,3",
972*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
973*18054d02SAlexander Motin        "EventCode": "0xA1",
974*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
975*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
976*18054d02SAlexander Motin        "UMask": "0x2"
977*18054d02SAlexander Motin    },
978*18054d02SAlexander Motin    {
979*18054d02SAlexander Motin        "AnyThread": "1",
980*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
981*18054d02SAlexander Motin        "Counter": "0,1,2,3",
982*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
983*18054d02SAlexander Motin        "EventCode": "0xA1",
984*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
985*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
986*18054d02SAlexander Motin        "UMask": "0x2"
987*18054d02SAlexander Motin    },
988*18054d02SAlexander Motin    {
989*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
990*18054d02SAlexander Motin        "Counter": "0,1,2,3",
991*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
992*18054d02SAlexander Motin        "EventCode": "0xA1",
993*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
994*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
995*18054d02SAlexander Motin        "UMask": "0xc"
996*18054d02SAlexander Motin    },
997*18054d02SAlexander Motin    {
998*18054d02SAlexander Motin        "AnyThread": "1",
999*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
1000*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1001*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1002*18054d02SAlexander Motin        "EventCode": "0xA1",
1003*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
1004*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1005*18054d02SAlexander Motin        "UMask": "0xc"
1006*18054d02SAlexander Motin    },
1007*18054d02SAlexander Motin    {
1008*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
1009*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1010*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1011*18054d02SAlexander Motin        "EventCode": "0xA1",
1012*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
1013*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1014*18054d02SAlexander Motin        "UMask": "0x30"
1015*18054d02SAlexander Motin    },
1016*18054d02SAlexander Motin    {
1017*18054d02SAlexander Motin        "AnyThread": "1",
1018*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
1019*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1020*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1021*18054d02SAlexander Motin        "EventCode": "0xA1",
1022*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
1023*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1024*18054d02SAlexander Motin        "UMask": "0x30"
1025*18054d02SAlexander Motin    },
1026*18054d02SAlexander Motin    {
1027*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
1028*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1029*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1030*18054d02SAlexander Motin        "EventCode": "0xA1",
1031*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
1032*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1033*18054d02SAlexander Motin        "UMask": "0x40"
1034*18054d02SAlexander Motin    },
1035*18054d02SAlexander Motin    {
1036*18054d02SAlexander Motin        "AnyThread": "1",
1037*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
1038*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1039*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1040*18054d02SAlexander Motin        "EventCode": "0xA1",
1041*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
1042*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1043*18054d02SAlexander Motin        "UMask": "0x40"
1044*18054d02SAlexander Motin    },
1045*18054d02SAlexander Motin    {
1046*18054d02SAlexander Motin        "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
1047*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1048*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1049*18054d02SAlexander Motin        "EventCode": "0xA1",
1050*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
1051*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1052*18054d02SAlexander Motin        "UMask": "0x80"
1053*18054d02SAlexander Motin    },
1054*18054d02SAlexander Motin    {
1055*18054d02SAlexander Motin        "AnyThread": "1",
1056*18054d02SAlexander Motin        "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
1057*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1058*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1059*18054d02SAlexander Motin        "EventCode": "0xA1",
1060*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
1061*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1062*18054d02SAlexander Motin        "UMask": "0x80"
1063*18054d02SAlexander Motin    },
1064*18054d02SAlexander Motin    {
1065*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
1066*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1067*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1068*18054d02SAlexander Motin        "CounterMask": "1",
1069*18054d02SAlexander Motin        "EventCode": "0xB1",
1070*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
1071*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1072*18054d02SAlexander Motin        "UMask": "0x2"
1073*18054d02SAlexander Motin    },
1074*18054d02SAlexander Motin    {
1075*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
1076*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1077*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1078*18054d02SAlexander Motin        "CounterMask": "2",
1079*18054d02SAlexander Motin        "EventCode": "0xB1",
1080*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
1081*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1082*18054d02SAlexander Motin        "UMask": "0x2"
1083*18054d02SAlexander Motin    },
1084*18054d02SAlexander Motin    {
1085*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
1086*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1087*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1088*18054d02SAlexander Motin        "CounterMask": "3",
1089*18054d02SAlexander Motin        "EventCode": "0xB1",
1090*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
1091*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1092*18054d02SAlexander Motin        "UMask": "0x2"
1093*18054d02SAlexander Motin    },
1094*18054d02SAlexander Motin    {
1095*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
1096*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1097*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1098*18054d02SAlexander Motin        "CounterMask": "4",
1099*18054d02SAlexander Motin        "EventCode": "0xB1",
1100*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
1101*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1102*18054d02SAlexander Motin        "UMask": "0x2"
1103*18054d02SAlexander Motin    },
1104*18054d02SAlexander Motin    {
1105*18054d02SAlexander Motin        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
1106*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1107*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1108*18054d02SAlexander Motin        "EventCode": "0xB1",
1109*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
1110*18054d02SAlexander Motin        "Invert": "1",
1111*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1112*18054d02SAlexander Motin        "UMask": "0x2"
1113*18054d02SAlexander Motin    },
1114*18054d02SAlexander Motin    {
1115*18054d02SAlexander Motin        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
1116*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1117*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1118*18054d02SAlexander Motin        "EventCode": "0x0E",
1119*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.ANY",
1120*18054d02SAlexander Motin        "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
1121*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1122*18054d02SAlexander Motin        "UMask": "0x1"
1123*18054d02SAlexander Motin    },
1124*18054d02SAlexander Motin    {
1125*18054d02SAlexander Motin        "AnyThread": "1",
1126*18054d02SAlexander Motin        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
1127*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1128*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
1129*18054d02SAlexander Motin        "CounterMask": "1",
1130*18054d02SAlexander Motin        "EventCode": "0x0E",
1131*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
1132*18054d02SAlexander Motin        "Invert": "1",
1133*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1134*18054d02SAlexander Motin        "UMask": "0x1"
1135*18054d02SAlexander Motin    },
1136*18054d02SAlexander Motin    {
1137*18054d02SAlexander Motin        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
1138*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1139*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
1140*18054d02SAlexander Motin        "CounterMask": "1",
1141*18054d02SAlexander Motin        "EventCode": "0x0E",
1142*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1143*18054d02SAlexander Motin        "Invert": "1",
1144*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1145*18054d02SAlexander Motin        "UMask": "0x1"
1146*18054d02SAlexander Motin    },
1147*18054d02SAlexander Motin    {
1148*18054d02SAlexander Motin        "BriefDescription": "Actually retired uops.",
1149*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1150*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1151*18054d02SAlexander Motin        "EventCode": "0xC2",
1152*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.ALL",
1153*18054d02SAlexander Motin        "PEBS": "1",
1154*18054d02SAlexander Motin        "PublicDescription": "This event counts the number of micro-ops retired.",
1155*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1156*18054d02SAlexander Motin        "UMask": "0x1"
1157*18054d02SAlexander Motin    },
1158*18054d02SAlexander Motin    {
1159*18054d02SAlexander Motin        "BriefDescription": "Cycles without actually retired uops.",
1160*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1161*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
1162*18054d02SAlexander Motin        "CounterMask": "1",
1163*18054d02SAlexander Motin        "EventCode": "0xC2",
1164*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
1165*18054d02SAlexander Motin        "Invert": "1",
1166*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1167*18054d02SAlexander Motin        "UMask": "0x1"
1168*18054d02SAlexander Motin    },
1169*18054d02SAlexander Motin    {
1170*18054d02SAlexander Motin        "BriefDescription": "Retirement slots used.",
1171*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1172*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1173*18054d02SAlexander Motin        "EventCode": "0xC2",
1174*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
1175*18054d02SAlexander Motin        "PEBS": "1",
1176*18054d02SAlexander Motin        "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.",
1177*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1178*18054d02SAlexander Motin        "UMask": "0x2"
1179*18054d02SAlexander Motin    },
1180*18054d02SAlexander Motin    {
1181*18054d02SAlexander Motin        "BriefDescription": "Cycles without actually retired uops.",
1182*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1183*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
1184*18054d02SAlexander Motin        "CounterMask": "1",
1185*18054d02SAlexander Motin        "EventCode": "0xC2",
1186*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1187*18054d02SAlexander Motin        "Invert": "1",
1188*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1189*18054d02SAlexander Motin        "UMask": "0x1"
1190*18054d02SAlexander Motin    },
1191*18054d02SAlexander Motin    {
1192*18054d02SAlexander Motin        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1193*18054d02SAlexander Motin        "Counter": "0,1,2,3",
1194*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
1195*18054d02SAlexander Motin        "CounterMask": "10",
1196*18054d02SAlexander Motin        "EventCode": "0xC2",
1197*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1198*18054d02SAlexander Motin        "Invert": "1",
1199*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1200*18054d02SAlexander Motin        "UMask": "0x1"
1201959826caSMatt Macy    }
1202959826caSMatt Macy]