xref: /linux/tools/perf/pmu-events/arch/x86/sandybridge/pipeline.json (revision ff32fcca64437f679a2bf1c0a19d5def389a18e2)
1[
2    {
3        "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        "EventCode": "0xB6",
5        "EventName": "AGU_BYPASS_CANCEL.COUNT",
6        "SampleAfterValue": "100003",
7        "UMask": "0x1"
8    },
9    {
10        "BriefDescription": "Divide operations executed.",
11        "CounterMask": "1",
12        "EdgeDetect": "1",
13        "EventCode": "0x14",
14        "EventName": "ARITH.FPU_DIV",
15        "PublicDescription": "This event counts the number of the divide operations executed.",
16        "SampleAfterValue": "100003",
17        "UMask": "0x1"
18    },
19    {
20        "BriefDescription": "Cycles when divider is busy executing divide operations.",
21        "EventCode": "0x14",
22        "EventName": "ARITH.FPU_DIV_ACTIVE",
23        "SampleAfterValue": "2000003",
24        "UMask": "0x1"
25    },
26    {
27        "BriefDescription": "Speculative and retired  branches.",
28        "EventCode": "0x88",
29        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
30        "SampleAfterValue": "200003",
31        "UMask": "0xff"
32    },
33    {
34        "BriefDescription": "Speculative and retired macro-conditional branches.",
35        "EventCode": "0x88",
36        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
37        "SampleAfterValue": "200003",
38        "UMask": "0xc1"
39    },
40    {
41        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
42        "EventCode": "0x88",
43        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
44        "SampleAfterValue": "200003",
45        "UMask": "0xc2"
46    },
47    {
48        "BriefDescription": "Speculative and retired direct near calls.",
49        "EventCode": "0x88",
50        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
51        "SampleAfterValue": "200003",
52        "UMask": "0xd0"
53    },
54    {
55        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
56        "EventCode": "0x88",
57        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
58        "SampleAfterValue": "200003",
59        "UMask": "0xc4"
60    },
61    {
62        "BriefDescription": "Speculative and retired indirect return branches.",
63        "EventCode": "0x88",
64        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
65        "SampleAfterValue": "200003",
66        "UMask": "0xc8"
67    },
68    {
69        "BriefDescription": "Not taken macro-conditional branches.",
70        "EventCode": "0x88",
71        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
72        "SampleAfterValue": "200003",
73        "UMask": "0x41"
74    },
75    {
76        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
77        "EventCode": "0x88",
78        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
79        "SampleAfterValue": "200003",
80        "UMask": "0x81"
81    },
82    {
83        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
84        "EventCode": "0x88",
85        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
86        "SampleAfterValue": "200003",
87        "UMask": "0x82"
88    },
89    {
90        "BriefDescription": "Taken speculative and retired direct near calls.",
91        "EventCode": "0x88",
92        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
93        "SampleAfterValue": "200003",
94        "UMask": "0x90"
95    },
96    {
97        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
98        "EventCode": "0x88",
99        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
100        "SampleAfterValue": "200003",
101        "UMask": "0x84"
102    },
103    {
104        "BriefDescription": "Taken speculative and retired indirect calls.",
105        "EventCode": "0x88",
106        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
107        "SampleAfterValue": "200003",
108        "UMask": "0xa0"
109    },
110    {
111        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
112        "EventCode": "0x88",
113        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
114        "SampleAfterValue": "200003",
115        "UMask": "0x88"
116    },
117    {
118        "BriefDescription": "All (macro) branch instructions retired.",
119        "EventCode": "0xC4",
120        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
121        "SampleAfterValue": "400009"
122    },
123    {
124        "BriefDescription": "All (macro) branch instructions retired. (Precise Event - PEBS).",
125        "EventCode": "0xC4",
126        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
127        "PEBS": "2",
128        "SampleAfterValue": "400009",
129        "UMask": "0x4"
130    },
131    {
132        "BriefDescription": "Conditional branch instructions retired. (Precise Event - PEBS).",
133        "EventCode": "0xC4",
134        "EventName": "BR_INST_RETIRED.CONDITIONAL",
135        "PEBS": "1",
136        "SampleAfterValue": "400009",
137        "UMask": "0x1"
138    },
139    {
140        "BriefDescription": "Far branch instructions retired.",
141        "EventCode": "0xC4",
142        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
143        "SampleAfterValue": "100007",
144        "UMask": "0x40"
145    },
146    {
147        "BriefDescription": "Direct and indirect near call instructions retired. (Precise Event - PEBS).",
148        "EventCode": "0xC4",
149        "EventName": "BR_INST_RETIRED.NEAR_CALL",
150        "PEBS": "1",
151        "SampleAfterValue": "100007",
152        "UMask": "0x2"
153    },
154    {
155        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3). (Precise Event - PEBS).",
156        "EventCode": "0xC4",
157        "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
158        "PEBS": "1",
159        "SampleAfterValue": "100007",
160        "UMask": "0x2"
161    },
162    {
163        "BriefDescription": "Return instructions retired. (Precise Event - PEBS).",
164        "EventCode": "0xC4",
165        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
166        "PEBS": "1",
167        "SampleAfterValue": "100007",
168        "UMask": "0x8"
169    },
170    {
171        "BriefDescription": "Taken branch instructions retired. (Precise Event - PEBS).",
172        "EventCode": "0xC4",
173        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
174        "PEBS": "1",
175        "SampleAfterValue": "400009",
176        "UMask": "0x20"
177    },
178    {
179        "BriefDescription": "Not taken branch instructions retired.",
180        "EventCode": "0xC4",
181        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
182        "SampleAfterValue": "400009",
183        "UMask": "0x10"
184    },
185    {
186        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
187        "EventCode": "0x89",
188        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
189        "SampleAfterValue": "200003",
190        "UMask": "0xff"
191    },
192    {
193        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
194        "EventCode": "0x89",
195        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
196        "SampleAfterValue": "200003",
197        "UMask": "0xc1"
198    },
199    {
200        "BriefDescription": "Speculative and retired mispredicted direct near calls.",
201        "EventCode": "0x89",
202        "EventName": "BR_MISP_EXEC.ALL_DIRECT_NEAR_CALL",
203        "SampleAfterValue": "200003",
204        "UMask": "0xd0"
205    },
206    {
207        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
208        "EventCode": "0x89",
209        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
210        "SampleAfterValue": "200003",
211        "UMask": "0xc4"
212    },
213    {
214        "BriefDescription": "Speculative mispredicted indirect branches",
215        "EventCode": "0x89",
216        "EventName": "BR_MISP_EXEC.INDIRECT",
217        "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).",
218        "SampleAfterValue": "200003",
219        "UMask": "0xe4"
220    },
221    {
222        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
223        "EventCode": "0x89",
224        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
225        "SampleAfterValue": "200003",
226        "UMask": "0x41"
227    },
228    {
229        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
230        "EventCode": "0x89",
231        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
232        "SampleAfterValue": "200003",
233        "UMask": "0x81"
234    },
235    {
236        "BriefDescription": "Taken speculative and retired mispredicted direct near calls.",
237        "EventCode": "0x89",
238        "EventName": "BR_MISP_EXEC.TAKEN_DIRECT_NEAR_CALL",
239        "SampleAfterValue": "200003",
240        "UMask": "0x90"
241    },
242    {
243        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
244        "EventCode": "0x89",
245        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
246        "SampleAfterValue": "200003",
247        "UMask": "0x84"
248    },
249    {
250        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
251        "EventCode": "0x89",
252        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
253        "SampleAfterValue": "200003",
254        "UMask": "0xa0"
255    },
256    {
257        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
258        "EventCode": "0x89",
259        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
260        "SampleAfterValue": "200003",
261        "UMask": "0x88"
262    },
263    {
264        "BriefDescription": "All mispredicted macro branch instructions retired.",
265        "EventCode": "0xC5",
266        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
267        "SampleAfterValue": "400009"
268    },
269    {
270        "BriefDescription": "Mispredicted macro branch instructions retired. (Precise Event - PEBS).",
271        "EventCode": "0xC5",
272        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
273        "PEBS": "2",
274        "SampleAfterValue": "400009",
275        "UMask": "0x4"
276    },
277    {
278        "BriefDescription": "Mispredicted conditional branch instructions retired. (Precise Event - PEBS).",
279        "EventCode": "0xC5",
280        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
281        "PEBS": "1",
282        "SampleAfterValue": "400009",
283        "UMask": "0x1"
284    },
285    {
286        "BriefDescription": "Direct and indirect mispredicted near call instructions retired. (Precise Event - PEBS).",
287        "EventCode": "0xC5",
288        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
289        "PEBS": "1",
290        "SampleAfterValue": "100007",
291        "UMask": "0x2"
292    },
293    {
294        "BriefDescription": "Mispredicted not taken branch instructions retired.(Precise Event - PEBS).",
295        "EventCode": "0xC5",
296        "EventName": "BR_MISP_RETIRED.NOT_TAKEN",
297        "PEBS": "1",
298        "SampleAfterValue": "400009",
299        "UMask": "0x10"
300    },
301    {
302        "BriefDescription": "Mispredicted taken branch instructions retired. (Precise Event - PEBS).",
303        "EventCode": "0xC5",
304        "EventName": "BR_MISP_RETIRED.TAKEN",
305        "PEBS": "1",
306        "SampleAfterValue": "400009",
307        "UMask": "0x20"
308    },
309    {
310        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other is halted.",
311        "EventCode": "0x3C",
312        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
313        "SampleAfterValue": "2000003",
314        "UMask": "0x2"
315    },
316    {
317        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
318        "EventCode": "0x3C",
319        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
320        "SampleAfterValue": "2000003",
321        "UMask": "0x1"
322    },
323    {
324        "AnyThread": "1",
325        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
326        "EventCode": "0x3C",
327        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
328        "SampleAfterValue": "2000003",
329        "UMask": "0x1"
330    },
331    {
332        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
333        "EventCode": "0x3C",
334        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
335        "SampleAfterValue": "2000003",
336        "UMask": "0x2"
337    },
338    {
339        "BriefDescription": "Reference cycles when the core is not in halt state.",
340        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
341        "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.",
342        "SampleAfterValue": "2000003",
343        "UMask": "0x3"
344    },
345    {
346        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate).",
347        "EventCode": "0x3C",
348        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
349        "SampleAfterValue": "2000003",
350        "UMask": "0x1"
351    },
352    {
353        "AnyThread": "1",
354        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
355        "EventCode": "0x3C",
356        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
357        "SampleAfterValue": "2000003",
358        "UMask": "0x1"
359    },
360    {
361        "BriefDescription": "Core cycles when the thread is not in halt state.",
362        "EventName": "CPU_CLK_UNHALTED.THREAD",
363        "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.",
364        "SampleAfterValue": "2000003",
365        "UMask": "0x2"
366    },
367    {
368        "AnyThread": "1",
369        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
370        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
371        "SampleAfterValue": "2000003",
372        "UMask": "0x2"
373    },
374    {
375        "BriefDescription": "Thread cycles when thread is not in halt state.",
376        "EventCode": "0x3C",
377        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
378        "SampleAfterValue": "2000003"
379    },
380    {
381        "AnyThread": "1",
382        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
383        "EventCode": "0x3C",
384        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
385        "SampleAfterValue": "2000003"
386    },
387    {
388        "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.",
389        "CounterMask": "2",
390        "EventCode": "0xA3",
391        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
392        "SampleAfterValue": "2000003",
393        "UMask": "0x2"
394    },
395    {
396        "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.",
397        "CounterMask": "1",
398        "EventCode": "0xA3",
399        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
400        "SampleAfterValue": "2000003",
401        "UMask": "0x1"
402    },
403    {
404        "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.",
405        "CounterMask": "4",
406        "EventCode": "0xA3",
407        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_DISPATCH",
408        "SampleAfterValue": "2000003",
409        "UMask": "0x4"
410    },
411    {
412        "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.",
413        "CounterMask": "6",
414        "EventCode": "0xA3",
415        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
416        "SampleAfterValue": "2000003",
417        "UMask": "0x6"
418    },
419    {
420        "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.",
421        "CounterMask": "5",
422        "EventCode": "0xA3",
423        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
424        "SampleAfterValue": "2000003",
425        "UMask": "0x5"
426    },
427    {
428        "BriefDescription": "Stall cycles because IQ is full.",
429        "EventCode": "0x87",
430        "EventName": "ILD_STALL.IQ_FULL",
431        "SampleAfterValue": "2000003",
432        "UMask": "0x4"
433    },
434    {
435        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
436        "EventCode": "0x87",
437        "EventName": "ILD_STALL.LCP",
438        "SampleAfterValue": "2000003",
439        "UMask": "0x1"
440    },
441    {
442        "BriefDescription": "Instructions retired from execution.",
443        "EventName": "INST_RETIRED.ANY",
444        "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.",
445        "SampleAfterValue": "2000003",
446        "UMask": "0x1"
447    },
448    {
449        "BriefDescription": "Number of instructions retired. General Counter   - architectural event.",
450        "EventCode": "0xC0",
451        "EventName": "INST_RETIRED.ANY_P",
452        "SampleAfterValue": "2000003"
453    },
454    {
455        "BriefDescription": "Instructions retired. (Precise Event - PEBS).",
456        "EventCode": "0xC0",
457        "EventName": "INST_RETIRED.PREC_DIST",
458        "PEBS": "2",
459        "SampleAfterValue": "2000003",
460        "UMask": "0x1"
461    },
462    {
463        "BriefDescription": "Cycles when Resource Allocation Table (RAT) external stall is sent to Instruction Decode Queue (IDQ) for the thread.",
464        "EventCode": "0x0D",
465        "EventName": "INT_MISC.RAT_STALL_CYCLES",
466        "SampleAfterValue": "2000003",
467        "UMask": "0x40"
468    },
469    {
470        "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...).",
471        "CounterMask": "1",
472        "EventCode": "0x0D",
473        "EventName": "INT_MISC.RECOVERY_CYCLES",
474        "SampleAfterValue": "2000003",
475        "UMask": "0x3"
476    },
477    {
478        "AnyThread": "1",
479        "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).",
480        "CounterMask": "1",
481        "EventCode": "0x0D",
482        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
483        "SampleAfterValue": "2000003",
484        "UMask": "0x3"
485    },
486    {
487        "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...).",
488        "CounterMask": "1",
489        "EdgeDetect": "1",
490        "EventCode": "0x0D",
491        "EventName": "INT_MISC.RECOVERY_STALLS_COUNT",
492        "SampleAfterValue": "2000003",
493        "UMask": "0x3"
494    },
495    {
496        "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).",
497        "EventCode": "0x03",
498        "EventName": "LD_BLOCKS.ALL_BLOCK",
499        "SampleAfterValue": "100003",
500        "UMask": "0x10"
501    },
502    {
503        "BriefDescription": "Loads delayed due to SB blocks, preceding store operations with known addresses but unknown data.",
504        "EventCode": "0x03",
505        "EventName": "LD_BLOCKS.DATA_UNKNOWN",
506        "SampleAfterValue": "100003",
507        "UMask": "0x1"
508    },
509    {
510        "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.",
511        "EventCode": "0x03",
512        "EventName": "LD_BLOCKS.NO_SR",
513        "SampleAfterValue": "100003",
514        "UMask": "0x8"
515    },
516    {
517        "BriefDescription": "Cases when loads get true Block-on-Store blocking code preventing store forwarding.",
518        "EventCode": "0x03",
519        "EventName": "LD_BLOCKS.STORE_FORWARD",
520        "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.",
521        "SampleAfterValue": "100003",
522        "UMask": "0x2"
523    },
524    {
525        "BriefDescription": "False dependencies in MOB due to partial compare.",
526        "EventCode": "0x07",
527        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
528        "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.",
529        "SampleAfterValue": "100003",
530        "UMask": "0x1"
531    },
532    {
533        "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.",
534        "EventCode": "0x07",
535        "EventName": "LD_BLOCKS_PARTIAL.ALL_STA_BLOCK",
536        "SampleAfterValue": "100003",
537        "UMask": "0x8"
538    },
539    {
540        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch.",
541        "EventCode": "0x4C",
542        "EventName": "LOAD_HIT_PRE.HW_PF",
543        "SampleAfterValue": "100003",
544        "UMask": "0x2"
545    },
546    {
547        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch.",
548        "EventCode": "0x4C",
549        "EventName": "LOAD_HIT_PRE.SW_PF",
550        "SampleAfterValue": "100003",
551        "UMask": "0x1"
552    },
553    {
554        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
555        "CounterMask": "4",
556        "EventCode": "0xA8",
557        "EventName": "LSD.CYCLES_4_UOPS",
558        "SampleAfterValue": "2000003",
559        "UMask": "0x1"
560    },
561    {
562        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
563        "CounterMask": "1",
564        "EventCode": "0xA8",
565        "EventName": "LSD.CYCLES_ACTIVE",
566        "SampleAfterValue": "2000003",
567        "UMask": "0x1"
568    },
569    {
570        "BriefDescription": "Number of Uops delivered by the LSD.",
571        "EventCode": "0xA8",
572        "EventName": "LSD.UOPS",
573        "SampleAfterValue": "2000003",
574        "UMask": "0x1"
575    },
576    {
577        "BriefDescription": "Number of machine clears (nukes) of any type.",
578        "CounterMask": "1",
579        "EdgeDetect": "1",
580        "EventCode": "0xc3",
581        "EventName": "MACHINE_CLEARS.COUNT",
582        "SampleAfterValue": "100003",
583        "UMask": "0x1"
584    },
585    {
586        "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.",
587        "EventCode": "0xC3",
588        "EventName": "MACHINE_CLEARS.MASKMOV",
589        "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.",
590        "SampleAfterValue": "100003",
591        "UMask": "0x20"
592    },
593    {
594        "BriefDescription": "Self-modifying code (SMC) detected.",
595        "EventCode": "0xC3",
596        "EventName": "MACHINE_CLEARS.SMC",
597        "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.",
598        "SampleAfterValue": "100003",
599        "UMask": "0x4"
600    },
601    {
602        "BriefDescription": "Retired instructions experiencing ITLB misses.",
603        "EventCode": "0xC1",
604        "EventName": "OTHER_ASSISTS.ITLB_MISS_RETIRED",
605        "SampleAfterValue": "100003",
606        "UMask": "0x2"
607    },
608    {
609        "BriefDescription": "Increments the number of flags-merge uops in flight each cycle.",
610        "EventCode": "0x59",
611        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP",
612        "SampleAfterValue": "2000003",
613        "UMask": "0x20"
614    },
615    {
616        "BriefDescription": "Performance sensitive flags-merging uops added by Sandy Bridge u-arch.",
617        "CounterMask": "1",
618        "EventCode": "0x59",
619        "EventName": "PARTIAL_RAT_STALLS.FLAGS_MERGE_UOP_CYCLES",
620        "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.",
621        "SampleAfterValue": "2000003",
622        "UMask": "0x20"
623    },
624    {
625        "BriefDescription": "Multiply packed/scalar single precision uops allocated.",
626        "EventCode": "0x59",
627        "EventName": "PARTIAL_RAT_STALLS.MUL_SINGLE_UOP",
628        "SampleAfterValue": "2000003",
629        "UMask": "0x80"
630    },
631    {
632        "BriefDescription": "Cycles with at least one slow LEA uop being allocated.",
633        "EventCode": "0x59",
634        "EventName": "PARTIAL_RAT_STALLS.SLOW_LEA_WINDOW",
635        "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.",
636        "SampleAfterValue": "2000003",
637        "UMask": "0x40"
638    },
639    {
640        "BriefDescription": "Resource-related stall cycles.",
641        "EventCode": "0xA2",
642        "EventName": "RESOURCE_STALLS.ANY",
643        "SampleAfterValue": "2000003",
644        "UMask": "0x1"
645    },
646    {
647        "BriefDescription": "Counts the cycles of stall due to lack of load buffers.",
648        "EventCode": "0xA2",
649        "EventName": "RESOURCE_STALLS.LB",
650        "SampleAfterValue": "2000003",
651        "UMask": "0x2"
652    },
653    {
654        "BriefDescription": "Resource stalls due to load or store buffers all being in use.",
655        "EventCode": "0xA2",
656        "EventName": "RESOURCE_STALLS.LB_SB",
657        "SampleAfterValue": "2000003",
658        "UMask": "0xa"
659    },
660    {
661        "BriefDescription": "Resource stalls due to memory buffers or Reservation Station (RS) being fully utilized.",
662        "EventCode": "0xA2",
663        "EventName": "RESOURCE_STALLS.MEM_RS",
664        "SampleAfterValue": "2000003",
665        "UMask": "0xe"
666    },
667    {
668        "BriefDescription": "Resource stalls due to Rob being full, FCSW, MXCSR and OTHER.",
669        "EventCode": "0xA2",
670        "EventName": "RESOURCE_STALLS.OOO_RSRC",
671        "SampleAfterValue": "2000003",
672        "UMask": "0xf0"
673    },
674    {
675        "BriefDescription": "Cycles stalled due to re-order buffer full.",
676        "EventCode": "0xA2",
677        "EventName": "RESOURCE_STALLS.ROB",
678        "SampleAfterValue": "2000003",
679        "UMask": "0x10"
680    },
681    {
682        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
683        "EventCode": "0xA2",
684        "EventName": "RESOURCE_STALLS.RS",
685        "SampleAfterValue": "2000003",
686        "UMask": "0x4"
687    },
688    {
689        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
690        "EventCode": "0xA2",
691        "EventName": "RESOURCE_STALLS.SB",
692        "SampleAfterValue": "2000003",
693        "UMask": "0x8"
694    },
695    {
696        "BriefDescription": "Cycles with either free list is empty.",
697        "EventCode": "0x5B",
698        "EventName": "RESOURCE_STALLS2.ALL_FL_EMPTY",
699        "SampleAfterValue": "2000003",
700        "UMask": "0xc"
701    },
702    {
703        "BriefDescription": "Resource stalls2 control structures full for physical registers.",
704        "EventCode": "0x5B",
705        "EventName": "RESOURCE_STALLS2.ALL_PRF_CONTROL",
706        "SampleAfterValue": "2000003",
707        "UMask": "0xf"
708    },
709    {
710        "BriefDescription": "Cycles when Allocator is stalled if BOB is full and new branch needs it.",
711        "EventCode": "0x5B",
712        "EventName": "RESOURCE_STALLS2.BOB_FULL",
713        "SampleAfterValue": "2000003",
714        "UMask": "0x40"
715    },
716    {
717        "BriefDescription": "Resource stalls out of order resources full.",
718        "EventCode": "0x5B",
719        "EventName": "RESOURCE_STALLS2.OOO_RSRC",
720        "SampleAfterValue": "2000003",
721        "UMask": "0x4f"
722    },
723    {
724        "BriefDescription": "Count cases of saving new LBR.",
725        "EventCode": "0xCC",
726        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
727        "SampleAfterValue": "2000003",
728        "UMask": "0x20"
729    },
730    {
731        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread.",
732        "EventCode": "0x5E",
733        "EventName": "RS_EVENTS.EMPTY_CYCLES",
734        "SampleAfterValue": "2000003",
735        "UMask": "0x1"
736    },
737    {
738        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
739        "CounterMask": "1",
740        "EdgeDetect": "1",
741        "EventCode": "0x5E",
742        "EventName": "RS_EVENTS.EMPTY_END",
743        "Invert": "1",
744        "SampleAfterValue": "2000003",
745        "UMask": "0x1"
746    },
747    {
748        "BriefDescription": "Uops dispatched from any thread.",
749        "EventCode": "0xB1",
750        "EventName": "UOPS_DISPATCHED.CORE",
751        "SampleAfterValue": "2000003",
752        "UMask": "0x2"
753    },
754    {
755        "BriefDescription": "Uops dispatched per thread.",
756        "EventCode": "0xB1",
757        "EventName": "UOPS_DISPATCHED.THREAD",
758        "SampleAfterValue": "2000003",
759        "UMask": "0x1"
760    },
761    {
762        "BriefDescription": "Cycles per thread when uops are dispatched to port 0.",
763        "EventCode": "0xA1",
764        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
765        "SampleAfterValue": "2000003",
766        "UMask": "0x1"
767    },
768    {
769        "AnyThread": "1",
770        "BriefDescription": "Cycles per core when uops are dispatched to port 0.",
771        "EventCode": "0xA1",
772        "EventName": "UOPS_DISPATCHED_PORT.PORT_0_CORE",
773        "SampleAfterValue": "2000003",
774        "UMask": "0x1"
775    },
776    {
777        "BriefDescription": "Cycles per thread when uops are dispatched to port 1.",
778        "EventCode": "0xA1",
779        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
780        "SampleAfterValue": "2000003",
781        "UMask": "0x2"
782    },
783    {
784        "AnyThread": "1",
785        "BriefDescription": "Cycles per core when uops are dispatched to port 1.",
786        "EventCode": "0xA1",
787        "EventName": "UOPS_DISPATCHED_PORT.PORT_1_CORE",
788        "SampleAfterValue": "2000003",
789        "UMask": "0x2"
790    },
791    {
792        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 2.",
793        "EventCode": "0xA1",
794        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
795        "SampleAfterValue": "2000003",
796        "UMask": "0xc"
797    },
798    {
799        "AnyThread": "1",
800        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 2.",
801        "EventCode": "0xA1",
802        "EventName": "UOPS_DISPATCHED_PORT.PORT_2_CORE",
803        "SampleAfterValue": "2000003",
804        "UMask": "0xc"
805    },
806    {
807        "BriefDescription": "Cycles per thread when load or STA uops are dispatched to port 3.",
808        "EventCode": "0xA1",
809        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
810        "SampleAfterValue": "2000003",
811        "UMask": "0x30"
812    },
813    {
814        "AnyThread": "1",
815        "BriefDescription": "Cycles per core when load or STA uops are dispatched to port 3.",
816        "EventCode": "0xA1",
817        "EventName": "UOPS_DISPATCHED_PORT.PORT_3_CORE",
818        "SampleAfterValue": "2000003",
819        "UMask": "0x30"
820    },
821    {
822        "BriefDescription": "Cycles per thread when uops are dispatched to port 4.",
823        "EventCode": "0xA1",
824        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
825        "SampleAfterValue": "2000003",
826        "UMask": "0x40"
827    },
828    {
829        "AnyThread": "1",
830        "BriefDescription": "Cycles per core when uops are dispatched to port 4.",
831        "EventCode": "0xA1",
832        "EventName": "UOPS_DISPATCHED_PORT.PORT_4_CORE",
833        "SampleAfterValue": "2000003",
834        "UMask": "0x40"
835    },
836    {
837        "BriefDescription": "Cycles per thread when uops are dispatched to port 5.",
838        "EventCode": "0xA1",
839        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
840        "SampleAfterValue": "2000003",
841        "UMask": "0x80"
842    },
843    {
844        "AnyThread": "1",
845        "BriefDescription": "Cycles per core when uops are dispatched to port 5.",
846        "EventCode": "0xA1",
847        "EventName": "UOPS_DISPATCHED_PORT.PORT_5_CORE",
848        "SampleAfterValue": "2000003",
849        "UMask": "0x80"
850    },
851    {
852        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
853        "CounterMask": "1",
854        "EventCode": "0xB1",
855        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
856        "SampleAfterValue": "2000003",
857        "UMask": "0x2"
858    },
859    {
860        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
861        "CounterMask": "2",
862        "EventCode": "0xB1",
863        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
864        "SampleAfterValue": "2000003",
865        "UMask": "0x2"
866    },
867    {
868        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
869        "CounterMask": "3",
870        "EventCode": "0xB1",
871        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
872        "SampleAfterValue": "2000003",
873        "UMask": "0x2"
874    },
875    {
876        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
877        "CounterMask": "4",
878        "EventCode": "0xB1",
879        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
880        "SampleAfterValue": "2000003",
881        "UMask": "0x2"
882    },
883    {
884        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
885        "EventCode": "0xB1",
886        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
887        "Invert": "1",
888        "SampleAfterValue": "2000003",
889        "UMask": "0x2"
890    },
891    {
892        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS).",
893        "EventCode": "0x0E",
894        "EventName": "UOPS_ISSUED.ANY",
895        "PublicDescription": "This event counts the number of Uops issued by the front-end of the pipeilne to the back-end.",
896        "SampleAfterValue": "2000003",
897        "UMask": "0x1"
898    },
899    {
900        "AnyThread": "1",
901        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
902        "CounterMask": "1",
903        "EventCode": "0x0E",
904        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
905        "Invert": "1",
906        "SampleAfterValue": "2000003",
907        "UMask": "0x1"
908    },
909    {
910        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
911        "CounterMask": "1",
912        "EventCode": "0x0E",
913        "EventName": "UOPS_ISSUED.STALL_CYCLES",
914        "Invert": "1",
915        "SampleAfterValue": "2000003",
916        "UMask": "0x1"
917    },
918    {
919        "BriefDescription": "Actually retired uops. (Precise Event - PEBS).",
920        "EventCode": "0xC2",
921        "EventName": "UOPS_RETIRED.ALL",
922        "PEBS": "1",
923        "PublicDescription": "This event counts the number of micro-ops retired. (Precise Event)",
924        "SampleAfterValue": "2000003",
925        "UMask": "0x1"
926    },
927    {
928        "BriefDescription": "Cycles without actually retired uops.",
929        "CounterMask": "1",
930        "EventCode": "0xC2",
931        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
932        "Invert": "1",
933        "SampleAfterValue": "2000003",
934        "UMask": "0x1"
935    },
936    {
937        "BriefDescription": "Retirement slots used. (Precise Event - PEBS).",
938        "EventCode": "0xC2",
939        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
940        "PEBS": "1",
941        "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)",
942        "SampleAfterValue": "2000003",
943        "UMask": "0x2"
944    },
945    {
946        "BriefDescription": "Cycles without actually retired uops.",
947        "CounterMask": "1",
948        "EventCode": "0xC2",
949        "EventName": "UOPS_RETIRED.STALL_CYCLES",
950        "Invert": "1",
951        "SampleAfterValue": "2000003",
952        "UMask": "0x1"
953    },
954    {
955        "BriefDescription": "Cycles with less than 10 actually retired uops.",
956        "CounterMask": "10",
957        "EventCode": "0xC2",
958        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
959        "Invert": "1",
960        "SampleAfterValue": "2000003",
961        "UMask": "0x1"
962    }
963]
964