xref: /linux/tools/perf/pmu-events/arch/x86/haswell/pipeline.json (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1dcfbad10SAndi Kleen[
2dcfbad10SAndi Kleen    {
34dd25272SIan Rogers        "BriefDescription": "Any uop executed by the Divider. (This includes all divide uops, sqrt, ...)",
4*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5dcfbad10SAndi Kleen        "EventCode": "0x14",
6dcfbad10SAndi Kleen        "EventName": "ARITH.DIVIDER_UOPS",
7dcfbad10SAndi Kleen        "SampleAfterValue": "2000003",
84dd25272SIan Rogers        "UMask": "0x2"
9dcfbad10SAndi Kleen    },
10dcfbad10SAndi Kleen    {
114dd25272SIan Rogers        "BriefDescription": "Speculative and retired  branches",
12*b59307d0SIan Rogers        "Counter": "0,1,2,3",
13dcfbad10SAndi Kleen        "EventCode": "0x88",
144dd25272SIan Rogers        "EventName": "BR_INST_EXEC.ALL_BRANCHES",
154dd25272SIan Rogers        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
16dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
174dd25272SIan Rogers        "UMask": "0xff"
18dcfbad10SAndi Kleen    },
19dcfbad10SAndi Kleen    {
204dd25272SIan Rogers        "BriefDescription": "Speculative and retired macro-conditional branches.",
21*b59307d0SIan Rogers        "Counter": "0,1,2,3",
22dcfbad10SAndi Kleen        "EventCode": "0x88",
23dcfbad10SAndi Kleen        "EventName": "BR_INST_EXEC.ALL_CONDITIONAL",
24dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
254dd25272SIan Rogers        "UMask": "0xc1"
26dcfbad10SAndi Kleen    },
27dcfbad10SAndi Kleen    {
284dd25272SIan Rogers        "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.",
29*b59307d0SIan Rogers        "Counter": "0,1,2,3",
304dd25272SIan Rogers        "EventCode": "0x88",
31dcfbad10SAndi Kleen        "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP",
32dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
334dd25272SIan Rogers        "UMask": "0xc2"
34dcfbad10SAndi Kleen    },
35dcfbad10SAndi Kleen    {
364dd25272SIan Rogers        "BriefDescription": "Speculative and retired direct near calls.",
37*b59307d0SIan Rogers        "Counter": "0,1,2,3",
38dcfbad10SAndi Kleen        "EventCode": "0x88",
39dcfbad10SAndi Kleen        "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL",
40dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
414dd25272SIan Rogers        "UMask": "0xd0"
42dcfbad10SAndi Kleen    },
43dcfbad10SAndi Kleen    {
444dd25272SIan Rogers        "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.",
45*b59307d0SIan Rogers        "Counter": "0,1,2,3",
46dcfbad10SAndi Kleen        "EventCode": "0x88",
474dd25272SIan Rogers        "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
48dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
494dd25272SIan Rogers        "UMask": "0xc4"
50dcfbad10SAndi Kleen    },
51dcfbad10SAndi Kleen    {
524dd25272SIan Rogers        "BriefDescription": "Speculative and retired indirect return branches.",
53*b59307d0SIan Rogers        "Counter": "0,1,2,3",
544dd25272SIan Rogers        "EventCode": "0x88",
554dd25272SIan Rogers        "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN",
56dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
574dd25272SIan Rogers        "UMask": "0xc8"
58dcfbad10SAndi Kleen    },
59dcfbad10SAndi Kleen    {
604dd25272SIan Rogers        "BriefDescription": "Not taken macro-conditional branches.",
61*b59307d0SIan Rogers        "Counter": "0,1,2,3",
624dd25272SIan Rogers        "EventCode": "0x88",
634dd25272SIan Rogers        "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL",
64dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
654dd25272SIan Rogers        "UMask": "0x41"
66dcfbad10SAndi Kleen    },
67dcfbad10SAndi Kleen    {
684dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired macro-conditional branches.",
69*b59307d0SIan Rogers        "Counter": "0,1,2,3",
704dd25272SIan Rogers        "EventCode": "0x88",
714dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL",
72dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
734dd25272SIan Rogers        "UMask": "0x81"
74dcfbad10SAndi Kleen    },
75dcfbad10SAndi Kleen    {
764dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.",
77*b59307d0SIan Rogers        "Counter": "0,1,2,3",
784dd25272SIan Rogers        "EventCode": "0x88",
794dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP",
80dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
814dd25272SIan Rogers        "UMask": "0x82"
82dcfbad10SAndi Kleen    },
83dcfbad10SAndi Kleen    {
844dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired direct near calls.",
85*b59307d0SIan Rogers        "Counter": "0,1,2,3",
864dd25272SIan Rogers        "EventCode": "0x88",
874dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL",
88ca3a2d05SAndi Kleen        "SampleAfterValue": "200003",
894dd25272SIan Rogers        "UMask": "0x90"
90ca3a2d05SAndi Kleen    },
91ca3a2d05SAndi Kleen    {
924dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.",
93*b59307d0SIan Rogers        "Counter": "0,1,2,3",
944dd25272SIan Rogers        "EventCode": "0x88",
954dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
964dd25272SIan Rogers        "SampleAfterValue": "200003",
974dd25272SIan Rogers        "UMask": "0x84"
984dd25272SIan Rogers    },
994dd25272SIan Rogers    {
1004dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired indirect calls.",
101*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1024dd25272SIan Rogers        "EventCode": "0x88",
1034dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL",
1044dd25272SIan Rogers        "SampleAfterValue": "200003",
1054dd25272SIan Rogers        "UMask": "0xa0"
1064dd25272SIan Rogers    },
1074dd25272SIan Rogers    {
1084dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.",
109*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1104dd25272SIan Rogers        "EventCode": "0x88",
1114dd25272SIan Rogers        "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN",
1124dd25272SIan Rogers        "SampleAfterValue": "200003",
1134dd25272SIan Rogers        "UMask": "0x88"
1144dd25272SIan Rogers    },
1154dd25272SIan Rogers    {
1164dd25272SIan Rogers        "BriefDescription": "All (macro) branch instructions retired.",
117*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1184dd25272SIan Rogers        "EventCode": "0xC4",
1194dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
1204dd25272SIan Rogers        "PublicDescription": "Branch instructions at retirement.",
1214dd25272SIan Rogers        "SampleAfterValue": "400009"
1224dd25272SIan Rogers    },
1234dd25272SIan Rogers    {
1244dd25272SIan Rogers        "BriefDescription": "All (macro) branch instructions retired.",
125*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1264dd25272SIan Rogers        "EventCode": "0xC4",
1274dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
1284dd25272SIan Rogers        "PEBS": "2",
1294dd25272SIan Rogers        "SampleAfterValue": "400009",
1304dd25272SIan Rogers        "UMask": "0x4"
1314dd25272SIan Rogers    },
1324dd25272SIan Rogers    {
1334dd25272SIan Rogers        "BriefDescription": "Conditional branch instructions retired.",
134*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1354dd25272SIan Rogers        "EventCode": "0xC4",
1364dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.CONDITIONAL",
1374dd25272SIan Rogers        "PEBS": "1",
1384dd25272SIan Rogers        "PublicDescription": "Counts the number of conditional branch instructions retired.",
1394dd25272SIan Rogers        "SampleAfterValue": "400009",
1404dd25272SIan Rogers        "UMask": "0x1"
1414dd25272SIan Rogers    },
1424dd25272SIan Rogers    {
1434dd25272SIan Rogers        "BriefDescription": "Far branch instructions retired.",
144*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1454dd25272SIan Rogers        "EventCode": "0xC4",
1464dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
1474dd25272SIan Rogers        "PublicDescription": "Number of far branches retired.",
1484dd25272SIan Rogers        "SampleAfterValue": "100003",
1494dd25272SIan Rogers        "UMask": "0x40"
1504dd25272SIan Rogers    },
1514dd25272SIan Rogers    {
1524dd25272SIan Rogers        "BriefDescription": "Direct and indirect near call instructions retired.",
153*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1544dd25272SIan Rogers        "EventCode": "0xC4",
1554dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL",
1564dd25272SIan Rogers        "PEBS": "1",
1574dd25272SIan Rogers        "SampleAfterValue": "100003",
1584dd25272SIan Rogers        "UMask": "0x2"
1594dd25272SIan Rogers    },
1604dd25272SIan Rogers    {
1614dd25272SIan Rogers        "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).",
162*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1634dd25272SIan Rogers        "EventCode": "0xC4",
1644dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_CALL_R3",
1654dd25272SIan Rogers        "PEBS": "1",
1664dd25272SIan Rogers        "SampleAfterValue": "100003",
1674dd25272SIan Rogers        "UMask": "0x2"
1684dd25272SIan Rogers    },
1694dd25272SIan Rogers    {
1704dd25272SIan Rogers        "BriefDescription": "Return instructions retired.",
171*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1724dd25272SIan Rogers        "EventCode": "0xC4",
1734dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
1744dd25272SIan Rogers        "PEBS": "1",
1754dd25272SIan Rogers        "PublicDescription": "Counts the number of near return instructions retired.",
1764dd25272SIan Rogers        "SampleAfterValue": "100003",
1774dd25272SIan Rogers        "UMask": "0x8"
1784dd25272SIan Rogers    },
1794dd25272SIan Rogers    {
1804dd25272SIan Rogers        "BriefDescription": "Taken branch instructions retired.",
181*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1824dd25272SIan Rogers        "EventCode": "0xC4",
1834dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
1844dd25272SIan Rogers        "PEBS": "1",
1854dd25272SIan Rogers        "PublicDescription": "Number of near taken branches retired.",
1864dd25272SIan Rogers        "SampleAfterValue": "400009",
1874dd25272SIan Rogers        "UMask": "0x20"
1884dd25272SIan Rogers    },
1894dd25272SIan Rogers    {
1904dd25272SIan Rogers        "BriefDescription": "Not taken branch instructions retired.",
191*b59307d0SIan Rogers        "Counter": "0,1,2,3",
1924dd25272SIan Rogers        "EventCode": "0xC4",
1934dd25272SIan Rogers        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
1944dd25272SIan Rogers        "PublicDescription": "Counts the number of not taken branch instructions retired.",
1954dd25272SIan Rogers        "SampleAfterValue": "400009",
1964dd25272SIan Rogers        "UMask": "0x10"
1974dd25272SIan Rogers    },
1984dd25272SIan Rogers    {
1994dd25272SIan Rogers        "BriefDescription": "Speculative and retired mispredicted macro conditional branches",
200*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2014dd25272SIan Rogers        "EventCode": "0x89",
2024dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.ALL_BRANCHES",
2034dd25272SIan Rogers        "PublicDescription": "Counts all near executed branches (not necessarily retired).",
2044dd25272SIan Rogers        "SampleAfterValue": "200003",
2054dd25272SIan Rogers        "UMask": "0xff"
2064dd25272SIan Rogers    },
2074dd25272SIan Rogers    {
2084dd25272SIan Rogers        "BriefDescription": "Speculative and retired mispredicted macro conditional branches.",
209*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2104dd25272SIan Rogers        "EventCode": "0x89",
211dcfbad10SAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL",
212dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
2134dd25272SIan Rogers        "UMask": "0xc1"
214dcfbad10SAndi Kleen    },
215dcfbad10SAndi Kleen    {
2164dd25272SIan Rogers        "BriefDescription": "Mispredicted indirect branches excluding calls and returns.",
217*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2184dd25272SIan Rogers        "EventCode": "0x89",
219dcfbad10SAndi Kleen        "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET",
220dcfbad10SAndi Kleen        "SampleAfterValue": "200003",
2214dd25272SIan Rogers        "UMask": "0xc4"
222dcfbad10SAndi Kleen    },
223dcfbad10SAndi Kleen    {
22467245a7eSIan Rogers        "BriefDescription": "Speculative mispredicted indirect branches",
225*b59307d0SIan Rogers        "Counter": "0,1,2,3",
22667245a7eSIan Rogers        "EventCode": "0x89",
22767245a7eSIan Rogers        "EventName": "BR_MISP_EXEC.INDIRECT",
22867245a7eSIan Rogers        "PublicDescription": "Counts speculatively miss-predicted indirect branches at execution time. Counts for indirect near CALL or JMP instructions (RET excluded).",
22967245a7eSIan Rogers        "SampleAfterValue": "200003",
23067245a7eSIan Rogers        "UMask": "0xe4"
23167245a7eSIan Rogers    },
23267245a7eSIan Rogers    {
2334dd25272SIan Rogers        "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.",
234*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2354dd25272SIan Rogers        "EventCode": "0x89",
2364dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL",
2374dd25272SIan Rogers        "SampleAfterValue": "200003",
2384dd25272SIan Rogers        "UMask": "0x41"
239ca3a2d05SAndi Kleen    },
240ca3a2d05SAndi Kleen    {
2414dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.",
242*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2434dd25272SIan Rogers        "EventCode": "0x89",
2444dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL",
2454dd25272SIan Rogers        "SampleAfterValue": "200003",
2464dd25272SIan Rogers        "UMask": "0x81"
247ca3a2d05SAndi Kleen    },
248ca3a2d05SAndi Kleen    {
2494dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.",
250*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2514dd25272SIan Rogers        "EventCode": "0x89",
2524dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET",
2534dd25272SIan Rogers        "SampleAfterValue": "200003",
2544dd25272SIan Rogers        "UMask": "0x84"
255ca3a2d05SAndi Kleen    },
256ca3a2d05SAndi Kleen    {
2574dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect calls.",
258*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2594dd25272SIan Rogers        "EventCode": "0x89",
2604dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL",
2614dd25272SIan Rogers        "SampleAfterValue": "200003",
2624dd25272SIan Rogers        "UMask": "0xa0"
263ca3a2d05SAndi Kleen    },
264ca3a2d05SAndi Kleen    {
2654dd25272SIan Rogers        "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.",
266*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2674dd25272SIan Rogers        "EventCode": "0x89",
2684dd25272SIan Rogers        "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR",
2694dd25272SIan Rogers        "SampleAfterValue": "200003",
2704dd25272SIan Rogers        "UMask": "0x88"
271dcfbad10SAndi Kleen    },
272dcfbad10SAndi Kleen    {
273ca3a2d05SAndi Kleen        "BriefDescription": "All mispredicted macro branch instructions retired.",
274*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2754dd25272SIan Rogers        "EventCode": "0xC5",
2764dd25272SIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
2774dd25272SIan Rogers        "PublicDescription": "Mispredicted branch instructions at retirement.",
2784dd25272SIan Rogers        "SampleAfterValue": "400009"
279ca3a2d05SAndi Kleen    },
280ca3a2d05SAndi Kleen    {
2814dd25272SIan Rogers        "BriefDescription": "Mispredicted macro branch instructions retired.",
282*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2834dd25272SIan Rogers        "EventCode": "0xC5",
2844dd25272SIan Rogers        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
285ca3a2d05SAndi Kleen        "PEBS": "2",
286ca3a2d05SAndi Kleen        "PublicDescription": "This event counts all mispredicted branch instructions retired. This is a precise event.",
287ca3a2d05SAndi Kleen        "SampleAfterValue": "400009",
2884dd25272SIan Rogers        "UMask": "0x4"
289ca3a2d05SAndi Kleen    },
290ca3a2d05SAndi Kleen    {
2914dd25272SIan Rogers        "BriefDescription": "Mispredicted conditional branch instructions retired.",
292*b59307d0SIan Rogers        "Counter": "0,1,2,3",
2934dd25272SIan Rogers        "EventCode": "0xC5",
2944dd25272SIan Rogers        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
295ca3a2d05SAndi Kleen        "PEBS": "1",
296ca3a2d05SAndi Kleen        "SampleAfterValue": "400009",
2974dd25272SIan Rogers        "UMask": "0x1"
2984dd25272SIan Rogers    },
2994dd25272SIan Rogers    {
300ca3a2d05SAndi Kleen        "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.",
301*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3024dd25272SIan Rogers        "EventCode": "0xC5",
3034dd25272SIan Rogers        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
3044dd25272SIan Rogers        "PEBS": "1",
3054dd25272SIan Rogers        "PublicDescription": "Number of near branch instructions retired that were taken but mispredicted.",
3064dd25272SIan Rogers        "SampleAfterValue": "400009",
3074dd25272SIan Rogers        "UMask": "0x20"
308ca3a2d05SAndi Kleen    },
309ca3a2d05SAndi Kleen    {
3104dd25272SIan Rogers        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
311*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3124dd25272SIan Rogers        "EventCode": "0x3c",
3134dd25272SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
314ca3a2d05SAndi Kleen        "SampleAfterValue": "100003",
3154dd25272SIan Rogers        "UMask": "0x2"
3164dd25272SIan Rogers    },
3174dd25272SIan Rogers    {
3184dd25272SIan Rogers        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
319*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3204dd25272SIan Rogers        "EventCode": "0x3C",
3214dd25272SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
3224dd25272SIan Rogers        "PublicDescription": "Increments at the frequency of XCLK (100 MHz) when not halted.",
3234dd25272SIan Rogers        "SampleAfterValue": "100003",
3244dd25272SIan Rogers        "UMask": "0x1"
3254dd25272SIan Rogers    },
3264dd25272SIan Rogers    {
3274dd25272SIan Rogers        "AnyThread": "1",
3284dd25272SIan Rogers        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)",
329*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3304dd25272SIan Rogers        "EventCode": "0x3C",
3314dd25272SIan Rogers        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
3324dd25272SIan Rogers        "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
3334dd25272SIan Rogers        "SampleAfterValue": "100003",
3344dd25272SIan Rogers        "UMask": "0x1"
3354dd25272SIan Rogers    },
3364dd25272SIan Rogers    {
3374dd25272SIan Rogers        "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.",
338*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3394dd25272SIan Rogers        "EventCode": "0x3C",
3404dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
3414dd25272SIan Rogers        "SampleAfterValue": "100003",
3424dd25272SIan Rogers        "UMask": "0x2"
3434dd25272SIan Rogers    },
3444dd25272SIan Rogers    {
3454dd25272SIan Rogers        "BriefDescription": "Reference cycles when the core is not in halt state.",
346*b59307d0SIan Rogers        "Counter": "Fixed counter 2",
3474dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
3484dd25272SIan Rogers        "PublicDescription": "This event counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state.",
3494dd25272SIan Rogers        "SampleAfterValue": "2000003",
3504dd25272SIan Rogers        "UMask": "0x3"
3514dd25272SIan Rogers    },
3524dd25272SIan Rogers    {
3534dd25272SIan Rogers        "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)",
354*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3554dd25272SIan Rogers        "EventCode": "0x3C",
3564dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
3574dd25272SIan Rogers        "PublicDescription": "Reference cycles when the thread is unhalted. (counts at 100 MHz rate)",
3584dd25272SIan Rogers        "SampleAfterValue": "100003",
3594dd25272SIan Rogers        "UMask": "0x1"
3604dd25272SIan Rogers    },
3614dd25272SIan Rogers    {
3624dd25272SIan Rogers        "AnyThread": "1",
3634dd25272SIan Rogers        "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)",
364*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3654dd25272SIan Rogers        "EventCode": "0x3C",
3664dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
3674dd25272SIan Rogers        "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).",
3684dd25272SIan Rogers        "SampleAfterValue": "100003",
3694dd25272SIan Rogers        "UMask": "0x1"
3704dd25272SIan Rogers    },
3714dd25272SIan Rogers    {
3724dd25272SIan Rogers        "BriefDescription": "Core cycles when the thread is not in halt state.",
373*b59307d0SIan Rogers        "Counter": "Fixed counter 1",
3744dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD",
3754dd25272SIan Rogers        "PublicDescription": "This event counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling.",
3764dd25272SIan Rogers        "SampleAfterValue": "2000003",
3774dd25272SIan Rogers        "UMask": "0x2"
3784dd25272SIan Rogers    },
3794dd25272SIan Rogers    {
3804dd25272SIan Rogers        "AnyThread": "1",
3814dd25272SIan Rogers        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
382*b59307d0SIan Rogers        "Counter": "Fixed counter 1",
3834dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
3844dd25272SIan Rogers        "SampleAfterValue": "2000003",
3854dd25272SIan Rogers        "UMask": "0x2"
3864dd25272SIan Rogers    },
3874dd25272SIan Rogers    {
3884dd25272SIan Rogers        "BriefDescription": "Thread cycles when thread is not in halt state",
389*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3904dd25272SIan Rogers        "EventCode": "0x3C",
3914dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
3924dd25272SIan Rogers        "PublicDescription": "Counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling.",
3934dd25272SIan Rogers        "SampleAfterValue": "2000003"
3944dd25272SIan Rogers    },
3954dd25272SIan Rogers    {
3964dd25272SIan Rogers        "AnyThread": "1",
3974dd25272SIan Rogers        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
398*b59307d0SIan Rogers        "Counter": "0,1,2,3",
3994dd25272SIan Rogers        "EventCode": "0x3C",
4004dd25272SIan Rogers        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
4014dd25272SIan Rogers        "SampleAfterValue": "2000003"
4024dd25272SIan Rogers    },
4034dd25272SIan Rogers    {
4044dd25272SIan Rogers        "BriefDescription": "Cycles with pending L1 cache miss loads.",
405*b59307d0SIan Rogers        "Counter": "2",
4064dd25272SIan Rogers        "CounterMask": "8",
4074dd25272SIan Rogers        "EventCode": "0xA3",
4084dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING",
4094dd25272SIan Rogers        "PublicDescription": "Cycles with pending L1 data cache miss loads. Set Cmask=8 to count cycle.",
4104dd25272SIan Rogers        "SampleAfterValue": "2000003",
4114dd25272SIan Rogers        "UMask": "0x8"
4124dd25272SIan Rogers    },
4134dd25272SIan Rogers    {
4144dd25272SIan Rogers        "BriefDescription": "Cycles with pending L2 cache miss loads.",
415*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4164dd25272SIan Rogers        "CounterMask": "1",
4174dd25272SIan Rogers        "Errata": "HSD78, HSM63, HSM80",
4184dd25272SIan Rogers        "EventCode": "0xa3",
4194dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING",
4204dd25272SIan Rogers        "PublicDescription": "Cycles with pending L2 miss loads. Set Cmask=2 to count cycle.",
4214dd25272SIan Rogers        "SampleAfterValue": "2000003",
4224dd25272SIan Rogers        "UMask": "0x1"
4234dd25272SIan Rogers    },
4244dd25272SIan Rogers    {
4254dd25272SIan Rogers        "BriefDescription": "Cycles with pending memory loads.",
426*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4274dd25272SIan Rogers        "CounterMask": "2",
4284dd25272SIan Rogers        "EventCode": "0xA3",
4294dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING",
4304dd25272SIan Rogers        "PublicDescription": "Cycles with pending memory loads. Set Cmask=2 to count cycle.",
4314dd25272SIan Rogers        "SampleAfterValue": "2000003",
4324dd25272SIan Rogers        "UMask": "0x2"
4334dd25272SIan Rogers    },
4344dd25272SIan Rogers    {
4354dd25272SIan Rogers        "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.",
436*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4374dd25272SIan Rogers        "CounterMask": "4",
4384dd25272SIan Rogers        "EventCode": "0xA3",
4394dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE",
4404dd25272SIan Rogers        "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline.",
4414dd25272SIan Rogers        "SampleAfterValue": "2000003",
4424dd25272SIan Rogers        "UMask": "0x4"
4434dd25272SIan Rogers    },
4444dd25272SIan Rogers    {
4454dd25272SIan Rogers        "BriefDescription": "Execution stalls due to L1 data cache misses",
446*b59307d0SIan Rogers        "Counter": "2",
4474dd25272SIan Rogers        "CounterMask": "12",
4484dd25272SIan Rogers        "EventCode": "0xA3",
4494dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING",
4504dd25272SIan Rogers        "PublicDescription": "Execution stalls due to L1 data cache miss loads. Set Cmask=0CH.",
4514dd25272SIan Rogers        "SampleAfterValue": "2000003",
4524dd25272SIan Rogers        "UMask": "0xc"
4534dd25272SIan Rogers    },
4544dd25272SIan Rogers    {
4554dd25272SIan Rogers        "BriefDescription": "Execution stalls due to L2 cache misses.",
456*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4574dd25272SIan Rogers        "CounterMask": "5",
4584dd25272SIan Rogers        "Errata": "HSM63, HSM80",
4594dd25272SIan Rogers        "EventCode": "0xa3",
4604dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING",
4614dd25272SIan Rogers        "PublicDescription": "Number of loads missed L2.",
4624dd25272SIan Rogers        "SampleAfterValue": "2000003",
4634dd25272SIan Rogers        "UMask": "0x5"
4644dd25272SIan Rogers    },
4654dd25272SIan Rogers    {
4664dd25272SIan Rogers        "BriefDescription": "Execution stalls due to memory subsystem.",
467*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4684dd25272SIan Rogers        "CounterMask": "6",
4694dd25272SIan Rogers        "EventCode": "0xA3",
4704dd25272SIan Rogers        "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING",
4714dd25272SIan Rogers        "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline and there were memory instructions pending (waiting for data).",
4724dd25272SIan Rogers        "SampleAfterValue": "2000003",
4734dd25272SIan Rogers        "UMask": "0x6"
4744dd25272SIan Rogers    },
4754dd25272SIan Rogers    {
4764dd25272SIan Rogers        "BriefDescription": "Stall cycles because IQ is full",
477*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4784dd25272SIan Rogers        "EventCode": "0x87",
4794dd25272SIan Rogers        "EventName": "ILD_STALL.IQ_FULL",
4804dd25272SIan Rogers        "PublicDescription": "Stall cycles due to IQ is full.",
4814dd25272SIan Rogers        "SampleAfterValue": "2000003",
4824dd25272SIan Rogers        "UMask": "0x4"
4834dd25272SIan Rogers    },
4844dd25272SIan Rogers    {
4854dd25272SIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
486*b59307d0SIan Rogers        "Counter": "0,1,2,3",
4874dd25272SIan Rogers        "EventCode": "0x87",
4884dd25272SIan Rogers        "EventName": "ILD_STALL.LCP",
4894dd25272SIan Rogers        "PublicDescription": "This event counts cycles where the decoder is stalled on an instruction with a length changing prefix (LCP).",
4904dd25272SIan Rogers        "SampleAfterValue": "2000003",
4914dd25272SIan Rogers        "UMask": "0x1"
4924dd25272SIan Rogers    },
4934dd25272SIan Rogers    {
4944dd25272SIan Rogers        "BriefDescription": "Instructions retired from execution.",
495*b59307d0SIan Rogers        "Counter": "Fixed counter 0",
4964dd25272SIan Rogers        "Errata": "HSD140, HSD143",
4974dd25272SIan Rogers        "EventName": "INST_RETIRED.ANY",
4984dd25272SIan Rogers        "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. INST_RETIRED.ANY is counted by a designated fixed counter, leaving the programmable counters available for other events. Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.",
4994dd25272SIan Rogers        "SampleAfterValue": "2000003",
5004dd25272SIan Rogers        "UMask": "0x1"
5014dd25272SIan Rogers    },
5024dd25272SIan Rogers    {
5034dd25272SIan Rogers        "BriefDescription": "Number of instructions retired. General Counter   - architectural event",
504*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5054dd25272SIan Rogers        "Errata": "HSD11, HSD140",
5064dd25272SIan Rogers        "EventCode": "0xC0",
5074dd25272SIan Rogers        "EventName": "INST_RETIRED.ANY_P",
5084dd25272SIan Rogers        "PublicDescription": "Number of instructions at retirement.",
5094dd25272SIan Rogers        "SampleAfterValue": "2000003"
5104dd25272SIan Rogers    },
5114dd25272SIan Rogers    {
5124dd25272SIan Rogers        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
513*b59307d0SIan Rogers        "Counter": "1",
5144dd25272SIan Rogers        "Errata": "HSD140",
5154dd25272SIan Rogers        "EventCode": "0xC0",
5164dd25272SIan Rogers        "EventName": "INST_RETIRED.PREC_DIST",
5174dd25272SIan Rogers        "PEBS": "2",
5184dd25272SIan Rogers        "PublicDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution.",
5194dd25272SIan Rogers        "SampleAfterValue": "2000003",
5204dd25272SIan Rogers        "UMask": "0x1"
5214dd25272SIan Rogers    },
5224dd25272SIan Rogers    {
5234dd25272SIan Rogers        "BriefDescription": "FP operations retired. X87 FP operations that have no exceptions: Counts also flows that have several X87 or flows that use X87 uops in the exception handling.",
524*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5254dd25272SIan Rogers        "EventCode": "0xC0",
5264dd25272SIan Rogers        "EventName": "INST_RETIRED.X87",
5274dd25272SIan Rogers        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.",
5284dd25272SIan Rogers        "SampleAfterValue": "2000003",
5294dd25272SIan Rogers        "UMask": "0x2"
5304dd25272SIan Rogers    },
5314dd25272SIan Rogers    {
5324dd25272SIan Rogers        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
533*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5344dd25272SIan Rogers        "CounterMask": "1",
5354dd25272SIan Rogers        "EventCode": "0x0D",
5364dd25272SIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES",
5374dd25272SIan Rogers        "PublicDescription": "This event counts the number of cycles spent waiting for a recovery after an event such as a processor nuke, JEClear, assist, hle/rtm abort etc.",
5384dd25272SIan Rogers        "SampleAfterValue": "2000003",
5394dd25272SIan Rogers        "UMask": "0x3"
5404dd25272SIan Rogers    },
5414dd25272SIan Rogers    {
5424dd25272SIan Rogers        "AnyThread": "1",
5434dd25272SIan Rogers        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke)",
544*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5454dd25272SIan Rogers        "CounterMask": "1",
5464dd25272SIan Rogers        "EventCode": "0x0D",
5474dd25272SIan Rogers        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
5484dd25272SIan Rogers        "PublicDescription": "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).",
5494dd25272SIan Rogers        "SampleAfterValue": "2000003",
5504dd25272SIan Rogers        "UMask": "0x3"
5514dd25272SIan Rogers    },
5524dd25272SIan Rogers    {
5534dd25272SIan Rogers        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use",
554*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5554dd25272SIan Rogers        "EventCode": "0x03",
5564dd25272SIan Rogers        "EventName": "LD_BLOCKS.NO_SR",
5574dd25272SIan Rogers        "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
5584dd25272SIan Rogers        "SampleAfterValue": "100003",
5594dd25272SIan Rogers        "UMask": "0x8"
5604dd25272SIan Rogers    },
5614dd25272SIan Rogers    {
5624dd25272SIan Rogers        "BriefDescription": "loads blocked by overlapping with store buffer that cannot be forwarded",
563*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5644dd25272SIan Rogers        "EventCode": "0x03",
5654dd25272SIan Rogers        "EventName": "LD_BLOCKS.STORE_FORWARD",
5664dd25272SIan Rogers        "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load.  The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceding smaller uncompleted store. The penalty for blocked store forwarding is that the load must wait for the store to write its value to the cache before it can be issued.",
5674dd25272SIan Rogers        "SampleAfterValue": "100003",
5684dd25272SIan Rogers        "UMask": "0x2"
5694dd25272SIan Rogers    },
5704dd25272SIan Rogers    {
5714dd25272SIan Rogers        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
572*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5734dd25272SIan Rogers        "EventCode": "0x07",
5744dd25272SIan Rogers        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
5754dd25272SIan Rogers        "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K.  This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline which can have a performance impact.",
5764dd25272SIan Rogers        "SampleAfterValue": "100003",
5774dd25272SIan Rogers        "UMask": "0x1"
5784dd25272SIan Rogers    },
5794dd25272SIan Rogers    {
5804dd25272SIan Rogers        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch",
581*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5824dd25272SIan Rogers        "EventCode": "0x4c",
5834dd25272SIan Rogers        "EventName": "LOAD_HIT_PRE.HW_PF",
5844dd25272SIan Rogers        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for H/W prefetch.",
5854dd25272SIan Rogers        "SampleAfterValue": "100003",
5864dd25272SIan Rogers        "UMask": "0x2"
5874dd25272SIan Rogers    },
5884dd25272SIan Rogers    {
5894dd25272SIan Rogers        "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch",
590*b59307d0SIan Rogers        "Counter": "0,1,2,3",
5914dd25272SIan Rogers        "EventCode": "0x4c",
5924dd25272SIan Rogers        "EventName": "LOAD_HIT_PRE.SW_PF",
5934dd25272SIan Rogers        "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for S/W prefetch.",
5944dd25272SIan Rogers        "SampleAfterValue": "100003",
5954dd25272SIan Rogers        "UMask": "0x1"
5964dd25272SIan Rogers    },
5974dd25272SIan Rogers    {
5984dd25272SIan Rogers        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
599*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6004dd25272SIan Rogers        "CounterMask": "4",
6014dd25272SIan Rogers        "EventCode": "0xA8",
6024dd25272SIan Rogers        "EventName": "LSD.CYCLES_4_UOPS",
6034dd25272SIan Rogers        "SampleAfterValue": "2000003",
6044dd25272SIan Rogers        "UMask": "0x1"
6054dd25272SIan Rogers    },
6064dd25272SIan Rogers    {
6074dd25272SIan Rogers        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
608*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6094dd25272SIan Rogers        "CounterMask": "1",
6104dd25272SIan Rogers        "EventCode": "0xA8",
6114dd25272SIan Rogers        "EventName": "LSD.CYCLES_ACTIVE",
6124dd25272SIan Rogers        "SampleAfterValue": "2000003",
6134dd25272SIan Rogers        "UMask": "0x1"
6144dd25272SIan Rogers    },
6154dd25272SIan Rogers    {
6164dd25272SIan Rogers        "BriefDescription": "Number of Uops delivered by the LSD.",
617*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6184dd25272SIan Rogers        "EventCode": "0xa8",
6194dd25272SIan Rogers        "EventName": "LSD.UOPS",
6204dd25272SIan Rogers        "PublicDescription": "Number of uops delivered by the LSD.",
6214dd25272SIan Rogers        "SampleAfterValue": "2000003",
6224dd25272SIan Rogers        "UMask": "0x1"
6234dd25272SIan Rogers    },
6244dd25272SIan Rogers    {
6254dd25272SIan Rogers        "BriefDescription": "Number of machine clears (nukes) of any type.",
626*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6274dd25272SIan Rogers        "CounterMask": "1",
6284dd25272SIan Rogers        "EdgeDetect": "1",
6294dd25272SIan Rogers        "EventCode": "0xC3",
6304dd25272SIan Rogers        "EventName": "MACHINE_CLEARS.COUNT",
6314dd25272SIan Rogers        "SampleAfterValue": "100003",
6324dd25272SIan Rogers        "UMask": "0x1"
6334dd25272SIan Rogers    },
6344dd25272SIan Rogers    {
6354dd25272SIan Rogers        "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.",
636*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6374dd25272SIan Rogers        "EventCode": "0xC3",
6384dd25272SIan Rogers        "EventName": "MACHINE_CLEARS.CYCLES",
6394dd25272SIan Rogers        "SampleAfterValue": "2000003",
6404dd25272SIan Rogers        "UMask": "0x1"
6414dd25272SIan Rogers    },
6424dd25272SIan Rogers    {
6434dd25272SIan Rogers        "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.",
644*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6454dd25272SIan Rogers        "EventCode": "0xC3",
6464dd25272SIan Rogers        "EventName": "MACHINE_CLEARS.MASKMOV",
6474dd25272SIan Rogers        "SampleAfterValue": "100003",
6484dd25272SIan Rogers        "UMask": "0x20"
6494dd25272SIan Rogers    },
6504dd25272SIan Rogers    {
6514dd25272SIan Rogers        "BriefDescription": "Self-modifying code (SMC) detected.",
652*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6534dd25272SIan Rogers        "EventCode": "0xC3",
6544dd25272SIan Rogers        "EventName": "MACHINE_CLEARS.SMC",
6554dd25272SIan Rogers        "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear.  Machine clears can have a significant performance impact if they are happening frequently.",
6564dd25272SIan Rogers        "SampleAfterValue": "100003",
6574dd25272SIan Rogers        "UMask": "0x4"
6584dd25272SIan Rogers    },
6594dd25272SIan Rogers    {
6604dd25272SIan Rogers        "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.",
661*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6624dd25272SIan Rogers        "EventCode": "0x58",
6634dd25272SIan Rogers        "EventName": "MOVE_ELIMINATION.INT_ELIMINATED",
6644dd25272SIan Rogers        "PublicDescription": "Number of integer move elimination candidate uops that were eliminated.",
6654dd25272SIan Rogers        "SampleAfterValue": "1000003",
6664dd25272SIan Rogers        "UMask": "0x1"
6674dd25272SIan Rogers    },
6684dd25272SIan Rogers    {
6694dd25272SIan Rogers        "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.",
670*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6714dd25272SIan Rogers        "EventCode": "0x58",
6724dd25272SIan Rogers        "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED",
6734dd25272SIan Rogers        "PublicDescription": "Number of integer move elimination candidate uops that were not eliminated.",
6744dd25272SIan Rogers        "SampleAfterValue": "1000003",
6754dd25272SIan Rogers        "UMask": "0x4"
6764dd25272SIan Rogers    },
6774dd25272SIan Rogers    {
6784dd25272SIan Rogers        "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.",
679*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6804dd25272SIan Rogers        "EventCode": "0xC1",
6814dd25272SIan Rogers        "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST",
6824dd25272SIan Rogers        "PublicDescription": "Number of microcode assists invoked by HW upon uop writeback.",
6834dd25272SIan Rogers        "SampleAfterValue": "100003",
6844dd25272SIan Rogers        "UMask": "0x40"
6854dd25272SIan Rogers    },
6864dd25272SIan Rogers    {
6874dd25272SIan Rogers        "BriefDescription": "Resource-related stall cycles",
688*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6894dd25272SIan Rogers        "Errata": "HSD135",
6904dd25272SIan Rogers        "EventCode": "0xA2",
6914dd25272SIan Rogers        "EventName": "RESOURCE_STALLS.ANY",
6924dd25272SIan Rogers        "PublicDescription": "Cycles allocation is stalled due to resource related reason.",
6934dd25272SIan Rogers        "SampleAfterValue": "2000003",
6944dd25272SIan Rogers        "UMask": "0x1"
6954dd25272SIan Rogers    },
6964dd25272SIan Rogers    {
6974dd25272SIan Rogers        "BriefDescription": "Cycles stalled due to re-order buffer full.",
698*b59307d0SIan Rogers        "Counter": "0,1,2,3",
6994dd25272SIan Rogers        "EventCode": "0xA2",
7004dd25272SIan Rogers        "EventName": "RESOURCE_STALLS.ROB",
7014dd25272SIan Rogers        "SampleAfterValue": "2000003",
7024dd25272SIan Rogers        "UMask": "0x10"
7034dd25272SIan Rogers    },
7044dd25272SIan Rogers    {
7054dd25272SIan Rogers        "BriefDescription": "Cycles stalled due to no eligible RS entry available.",
706*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7074dd25272SIan Rogers        "EventCode": "0xA2",
7084dd25272SIan Rogers        "EventName": "RESOURCE_STALLS.RS",
7094dd25272SIan Rogers        "SampleAfterValue": "2000003",
7104dd25272SIan Rogers        "UMask": "0x4"
7114dd25272SIan Rogers    },
7124dd25272SIan Rogers    {
7134dd25272SIan Rogers        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
714*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7154dd25272SIan Rogers        "EventCode": "0xA2",
7164dd25272SIan Rogers        "EventName": "RESOURCE_STALLS.SB",
7174dd25272SIan Rogers        "PublicDescription": "This event counts cycles during which no instructions were allocated because no Store Buffers (SB) were available.",
7184dd25272SIan Rogers        "SampleAfterValue": "2000003",
7194dd25272SIan Rogers        "UMask": "0x8"
7204dd25272SIan Rogers    },
7214dd25272SIan Rogers    {
7224dd25272SIan Rogers        "BriefDescription": "Count cases of saving new LBR",
723*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7244dd25272SIan Rogers        "EventCode": "0xCC",
7254dd25272SIan Rogers        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
7264dd25272SIan Rogers        "PublicDescription": "Count cases of saving new LBR records by hardware.",
7274dd25272SIan Rogers        "SampleAfterValue": "2000003",
7284dd25272SIan Rogers        "UMask": "0x20"
7294dd25272SIan Rogers    },
7304dd25272SIan Rogers    {
7314dd25272SIan Rogers        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
732*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7334dd25272SIan Rogers        "EventCode": "0x5E",
7344dd25272SIan Rogers        "EventName": "RS_EVENTS.EMPTY_CYCLES",
7354dd25272SIan Rogers        "PublicDescription": "This event counts cycles when the Reservation Station ( RS ) is empty for the thread. The RS is a structure that buffers allocated micro-ops from the Front-end. If there are many cycles when the RS is empty, it may represent an underflow of instructions delivered from the Front-end.",
7364dd25272SIan Rogers        "SampleAfterValue": "2000003",
7374dd25272SIan Rogers        "UMask": "0x1"
7384dd25272SIan Rogers    },
7394dd25272SIan Rogers    {
7404dd25272SIan Rogers        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
741*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7424dd25272SIan Rogers        "CounterMask": "1",
7434dd25272SIan Rogers        "EdgeDetect": "1",
7444dd25272SIan Rogers        "EventCode": "0x5E",
7454dd25272SIan Rogers        "EventName": "RS_EVENTS.EMPTY_END",
7464dd25272SIan Rogers        "Invert": "1",
7474dd25272SIan Rogers        "SampleAfterValue": "200003",
7484dd25272SIan Rogers        "UMask": "0x1"
7494dd25272SIan Rogers    },
7504dd25272SIan Rogers    {
7514dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 0.",
752*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7534dd25272SIan Rogers        "EventCode": "0xA1",
7544dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
7554dd25272SIan Rogers        "SampleAfterValue": "2000003",
7564dd25272SIan Rogers        "UMask": "0x1"
7574dd25272SIan Rogers    },
7584dd25272SIan Rogers    {
7594dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 1.",
760*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7614dd25272SIan Rogers        "EventCode": "0xA1",
7624dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
7634dd25272SIan Rogers        "SampleAfterValue": "2000003",
7644dd25272SIan Rogers        "UMask": "0x2"
7654dd25272SIan Rogers    },
7664dd25272SIan Rogers    {
7674dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 2.",
768*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7694dd25272SIan Rogers        "EventCode": "0xA1",
7704dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
7714dd25272SIan Rogers        "SampleAfterValue": "2000003",
7724dd25272SIan Rogers        "UMask": "0x4"
7734dd25272SIan Rogers    },
7744dd25272SIan Rogers    {
7754dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 3.",
776*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7774dd25272SIan Rogers        "EventCode": "0xA1",
7784dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
7794dd25272SIan Rogers        "SampleAfterValue": "2000003",
7804dd25272SIan Rogers        "UMask": "0x8"
7814dd25272SIan Rogers    },
7824dd25272SIan Rogers    {
7834dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 4.",
784*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7854dd25272SIan Rogers        "EventCode": "0xA1",
7864dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
7874dd25272SIan Rogers        "SampleAfterValue": "2000003",
7884dd25272SIan Rogers        "UMask": "0x10"
7894dd25272SIan Rogers    },
7904dd25272SIan Rogers    {
7914dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 5.",
792*b59307d0SIan Rogers        "Counter": "0,1,2,3",
7934dd25272SIan Rogers        "EventCode": "0xA1",
7944dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
7954dd25272SIan Rogers        "SampleAfterValue": "2000003",
7964dd25272SIan Rogers        "UMask": "0x20"
7974dd25272SIan Rogers    },
7984dd25272SIan Rogers    {
7994dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 6.",
800*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8014dd25272SIan Rogers        "EventCode": "0xA1",
8024dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
8034dd25272SIan Rogers        "SampleAfterValue": "2000003",
8044dd25272SIan Rogers        "UMask": "0x40"
8054dd25272SIan Rogers    },
8064dd25272SIan Rogers    {
8074dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 7.",
808*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8094dd25272SIan Rogers        "EventCode": "0xA1",
8104dd25272SIan Rogers        "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
8114dd25272SIan Rogers        "SampleAfterValue": "2000003",
8124dd25272SIan Rogers        "UMask": "0x80"
8134dd25272SIan Rogers    },
8144dd25272SIan Rogers    {
8154dd25272SIan Rogers        "BriefDescription": "Number of uops executed on the core.",
816*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8174dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8184dd25272SIan Rogers        "EventCode": "0xB1",
8194dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE",
8204dd25272SIan Rogers        "PublicDescription": "Counts total number of uops to be executed per-core each cycle.",
8214dd25272SIan Rogers        "SampleAfterValue": "2000003",
8224dd25272SIan Rogers        "UMask": "0x2"
8234dd25272SIan Rogers    },
8244dd25272SIan Rogers    {
8254dd25272SIan Rogers        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
826*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8274dd25272SIan Rogers        "CounterMask": "1",
8284dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8294dd25272SIan Rogers        "EventCode": "0xb1",
8304dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
8314dd25272SIan Rogers        "SampleAfterValue": "2000003",
8324dd25272SIan Rogers        "UMask": "0x2"
8334dd25272SIan Rogers    },
8344dd25272SIan Rogers    {
8354dd25272SIan Rogers        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
836*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8374dd25272SIan Rogers        "CounterMask": "2",
8384dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8394dd25272SIan Rogers        "EventCode": "0xb1",
8404dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
8414dd25272SIan Rogers        "SampleAfterValue": "2000003",
8424dd25272SIan Rogers        "UMask": "0x2"
8434dd25272SIan Rogers    },
8444dd25272SIan Rogers    {
8454dd25272SIan Rogers        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
846*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8474dd25272SIan Rogers        "CounterMask": "3",
8484dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8494dd25272SIan Rogers        "EventCode": "0xb1",
8504dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
8514dd25272SIan Rogers        "SampleAfterValue": "2000003",
8524dd25272SIan Rogers        "UMask": "0x2"
8534dd25272SIan Rogers    },
8544dd25272SIan Rogers    {
8554dd25272SIan Rogers        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
856*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8574dd25272SIan Rogers        "CounterMask": "4",
8584dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8594dd25272SIan Rogers        "EventCode": "0xb1",
8604dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
8614dd25272SIan Rogers        "SampleAfterValue": "2000003",
8624dd25272SIan Rogers        "UMask": "0x2"
8634dd25272SIan Rogers    },
8644dd25272SIan Rogers    {
8654dd25272SIan Rogers        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
866*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8674dd25272SIan Rogers        "Errata": "HSD30, HSM31",
8684dd25272SIan Rogers        "EventCode": "0xb1",
8694dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
8704dd25272SIan Rogers        "Invert": "1",
8714dd25272SIan Rogers        "SampleAfterValue": "2000003",
8724dd25272SIan Rogers        "UMask": "0x2"
8734dd25272SIan Rogers    },
8744dd25272SIan Rogers    {
8754dd25272SIan Rogers        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
876*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8774dd25272SIan Rogers        "CounterMask": "1",
8784dd25272SIan Rogers        "Errata": "HSD144, HSD30, HSM31",
8794dd25272SIan Rogers        "EventCode": "0xB1",
8804dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
8814dd25272SIan Rogers        "PublicDescription": "This events counts the cycles where at least one uop was executed. It is counted per thread.",
8824dd25272SIan Rogers        "SampleAfterValue": "2000003",
8834dd25272SIan Rogers        "UMask": "0x1"
8844dd25272SIan Rogers    },
8854dd25272SIan Rogers    {
8864dd25272SIan Rogers        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
887*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8884dd25272SIan Rogers        "CounterMask": "2",
8894dd25272SIan Rogers        "Errata": "HSD144, HSD30, HSM31",
8904dd25272SIan Rogers        "EventCode": "0xB1",
8914dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
8924dd25272SIan Rogers        "PublicDescription": "This events counts the cycles where at least two uop were executed. It is counted per thread.",
8934dd25272SIan Rogers        "SampleAfterValue": "2000003",
8944dd25272SIan Rogers        "UMask": "0x1"
8954dd25272SIan Rogers    },
8964dd25272SIan Rogers    {
8974dd25272SIan Rogers        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
898*b59307d0SIan Rogers        "Counter": "0,1,2,3",
8994dd25272SIan Rogers        "CounterMask": "3",
9004dd25272SIan Rogers        "Errata": "HSD144, HSD30, HSM31",
9014dd25272SIan Rogers        "EventCode": "0xB1",
9024dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
9034dd25272SIan Rogers        "PublicDescription": "This events counts the cycles where at least three uop were executed. It is counted per thread.",
9044dd25272SIan Rogers        "SampleAfterValue": "2000003",
9054dd25272SIan Rogers        "UMask": "0x1"
9064dd25272SIan Rogers    },
9074dd25272SIan Rogers    {
9084dd25272SIan Rogers        "BriefDescription": "Cycles where at least 4 uops were executed per-thread.",
909*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9104dd25272SIan Rogers        "CounterMask": "4",
9114dd25272SIan Rogers        "Errata": "HSD144, HSD30, HSM31",
9124dd25272SIan Rogers        "EventCode": "0xB1",
9134dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
9144dd25272SIan Rogers        "SampleAfterValue": "2000003",
9154dd25272SIan Rogers        "UMask": "0x1"
9164dd25272SIan Rogers    },
9174dd25272SIan Rogers    {
9184dd25272SIan Rogers        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
919*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9204dd25272SIan Rogers        "CounterMask": "1",
9214dd25272SIan Rogers        "Errata": "HSD144, HSD30, HSM31",
9224dd25272SIan Rogers        "EventCode": "0xB1",
9234dd25272SIan Rogers        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
9244dd25272SIan Rogers        "Invert": "1",
9254dd25272SIan Rogers        "SampleAfterValue": "2000003",
9264dd25272SIan Rogers        "UMask": "0x1"
9274dd25272SIan Rogers    },
9284dd25272SIan Rogers    {
9294dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 0",
930*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9314dd25272SIan Rogers        "EventCode": "0xA1",
9324dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_0",
9334dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 0 in this thread.",
9344dd25272SIan Rogers        "SampleAfterValue": "2000003",
9354dd25272SIan Rogers        "UMask": "0x1"
9364dd25272SIan Rogers    },
9374dd25272SIan Rogers    {
9384dd25272SIan Rogers        "AnyThread": "1",
9394dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are executed in port 0.",
940*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9414dd25272SIan Rogers        "EventCode": "0xA1",
9424dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE",
9434dd25272SIan Rogers        "SampleAfterValue": "2000003",
9444dd25272SIan Rogers        "UMask": "0x1"
9454dd25272SIan Rogers    },
9464dd25272SIan Rogers    {
9474dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 1",
948*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9494dd25272SIan Rogers        "EventCode": "0xA1",
9504dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_1",
9514dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 1 in this thread.",
9524dd25272SIan Rogers        "SampleAfterValue": "2000003",
9534dd25272SIan Rogers        "UMask": "0x2"
9544dd25272SIan Rogers    },
9554dd25272SIan Rogers    {
9564dd25272SIan Rogers        "AnyThread": "1",
9574dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are executed in port 1.",
958*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9594dd25272SIan Rogers        "EventCode": "0xA1",
9604dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE",
9614dd25272SIan Rogers        "SampleAfterValue": "2000003",
9624dd25272SIan Rogers        "UMask": "0x2"
9634dd25272SIan Rogers    },
9644dd25272SIan Rogers    {
9654dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 2",
966*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9674dd25272SIan Rogers        "EventCode": "0xA1",
9684dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_2",
9694dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 2 in this thread.",
9704dd25272SIan Rogers        "SampleAfterValue": "2000003",
9714dd25272SIan Rogers        "UMask": "0x4"
9724dd25272SIan Rogers    },
9734dd25272SIan Rogers    {
9744dd25272SIan Rogers        "AnyThread": "1",
9754dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 2.",
976*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9774dd25272SIan Rogers        "EventCode": "0xA1",
9784dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE",
9794dd25272SIan Rogers        "SampleAfterValue": "2000003",
9804dd25272SIan Rogers        "UMask": "0x4"
9814dd25272SIan Rogers    },
9824dd25272SIan Rogers    {
9834dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 3",
984*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9854dd25272SIan Rogers        "EventCode": "0xA1",
9864dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_3",
9874dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 3 in this thread.",
9884dd25272SIan Rogers        "SampleAfterValue": "2000003",
9894dd25272SIan Rogers        "UMask": "0x8"
9904dd25272SIan Rogers    },
9914dd25272SIan Rogers    {
9924dd25272SIan Rogers        "AnyThread": "1",
9934dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 3.",
994*b59307d0SIan Rogers        "Counter": "0,1,2,3",
9954dd25272SIan Rogers        "EventCode": "0xA1",
9964dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE",
9974dd25272SIan Rogers        "SampleAfterValue": "2000003",
9984dd25272SIan Rogers        "UMask": "0x8"
9994dd25272SIan Rogers    },
10004dd25272SIan Rogers    {
10014dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 4",
1002*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10034dd25272SIan Rogers        "EventCode": "0xA1",
10044dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_4",
10054dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 4 in this thread.",
10064dd25272SIan Rogers        "SampleAfterValue": "2000003",
10074dd25272SIan Rogers        "UMask": "0x10"
10084dd25272SIan Rogers    },
10094dd25272SIan Rogers    {
10104dd25272SIan Rogers        "AnyThread": "1",
10114dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are executed in port 4.",
1012*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10134dd25272SIan Rogers        "EventCode": "0xA1",
10144dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE",
10154dd25272SIan Rogers        "SampleAfterValue": "2000003",
10164dd25272SIan Rogers        "UMask": "0x10"
10174dd25272SIan Rogers    },
10184dd25272SIan Rogers    {
10194dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 5",
1020*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10214dd25272SIan Rogers        "EventCode": "0xA1",
10224dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_5",
10234dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 5 in this thread.",
10244dd25272SIan Rogers        "SampleAfterValue": "2000003",
10254dd25272SIan Rogers        "UMask": "0x20"
10264dd25272SIan Rogers    },
10274dd25272SIan Rogers    {
10284dd25272SIan Rogers        "AnyThread": "1",
10294dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are executed in port 5.",
1030*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10314dd25272SIan Rogers        "EventCode": "0xA1",
10324dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE",
10334dd25272SIan Rogers        "SampleAfterValue": "2000003",
10344dd25272SIan Rogers        "UMask": "0x20"
10354dd25272SIan Rogers    },
10364dd25272SIan Rogers    {
10374dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 6",
1038*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10394dd25272SIan Rogers        "EventCode": "0xA1",
10404dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_6",
10414dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 6 in this thread.",
10424dd25272SIan Rogers        "SampleAfterValue": "2000003",
10434dd25272SIan Rogers        "UMask": "0x40"
10444dd25272SIan Rogers    },
10454dd25272SIan Rogers    {
10464dd25272SIan Rogers        "AnyThread": "1",
10474dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are executed in port 6.",
1048*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10494dd25272SIan Rogers        "EventCode": "0xA1",
10504dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE",
10514dd25272SIan Rogers        "SampleAfterValue": "2000003",
10524dd25272SIan Rogers        "UMask": "0x40"
10534dd25272SIan Rogers    },
10544dd25272SIan Rogers    {
10554dd25272SIan Rogers        "BriefDescription": "Cycles per thread when uops are executed in port 7",
1056*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10574dd25272SIan Rogers        "EventCode": "0xA1",
10584dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_7",
10594dd25272SIan Rogers        "PublicDescription": "Cycles which a uop is dispatched on port 7 in this thread.",
10604dd25272SIan Rogers        "SampleAfterValue": "2000003",
10614dd25272SIan Rogers        "UMask": "0x80"
10624dd25272SIan Rogers    },
10634dd25272SIan Rogers    {
10644dd25272SIan Rogers        "AnyThread": "1",
10654dd25272SIan Rogers        "BriefDescription": "Cycles per core when uops are dispatched to port 7.",
1066*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10674dd25272SIan Rogers        "EventCode": "0xA1",
10684dd25272SIan Rogers        "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE",
10694dd25272SIan Rogers        "SampleAfterValue": "2000003",
10704dd25272SIan Rogers        "UMask": "0x80"
10714dd25272SIan Rogers    },
10724dd25272SIan Rogers    {
10734dd25272SIan Rogers        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
1074*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10754dd25272SIan Rogers        "EventCode": "0x0E",
10764dd25272SIan Rogers        "EventName": "UOPS_ISSUED.ANY",
10774dd25272SIan Rogers        "PublicDescription": "This event counts the number of uops issued by the Front-end of the pipeline to the Back-end. This event is counted at the allocation stage and will count both retired and non-retired uops.",
10784dd25272SIan Rogers        "SampleAfterValue": "2000003",
10794dd25272SIan Rogers        "UMask": "0x1"
10804dd25272SIan Rogers    },
10814dd25272SIan Rogers    {
10824dd25272SIan Rogers        "AnyThread": "1",
10834dd25272SIan Rogers        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.",
1084*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10854dd25272SIan Rogers        "CounterMask": "1",
10864dd25272SIan Rogers        "EventCode": "0x0E",
10874dd25272SIan Rogers        "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES",
10884dd25272SIan Rogers        "Invert": "1",
10894dd25272SIan Rogers        "SampleAfterValue": "2000003",
10904dd25272SIan Rogers        "UMask": "0x1"
10914dd25272SIan Rogers    },
10924dd25272SIan Rogers    {
10934dd25272SIan Rogers        "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.",
1094*b59307d0SIan Rogers        "Counter": "0,1,2,3",
10954dd25272SIan Rogers        "EventCode": "0x0E",
10964dd25272SIan Rogers        "EventName": "UOPS_ISSUED.FLAGS_MERGE",
10974dd25272SIan Rogers        "PublicDescription": "Number of flags-merge uops allocated. Such uops add delay.",
10984dd25272SIan Rogers        "SampleAfterValue": "2000003",
10994dd25272SIan Rogers        "UMask": "0x10"
11004dd25272SIan Rogers    },
11014dd25272SIan Rogers    {
11024dd25272SIan Rogers        "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated",
1103*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11044dd25272SIan Rogers        "EventCode": "0x0E",
11054dd25272SIan Rogers        "EventName": "UOPS_ISSUED.SINGLE_MUL",
11064dd25272SIan Rogers        "PublicDescription": "Number of multiply packed/scalar single precision uops allocated.",
11074dd25272SIan Rogers        "SampleAfterValue": "2000003",
11084dd25272SIan Rogers        "UMask": "0x40"
11094dd25272SIan Rogers    },
11104dd25272SIan Rogers    {
11114dd25272SIan Rogers        "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.",
1112*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11134dd25272SIan Rogers        "EventCode": "0x0E",
11144dd25272SIan Rogers        "EventName": "UOPS_ISSUED.SLOW_LEA",
11154dd25272SIan Rogers        "PublicDescription": "Number of slow LEA or similar uops allocated. Such uop has 3 sources (for example, 2 sources + immediate) regardless of whether it is a result of LEA instruction or not.",
11164dd25272SIan Rogers        "SampleAfterValue": "2000003",
11174dd25272SIan Rogers        "UMask": "0x20"
11184dd25272SIan Rogers    },
11194dd25272SIan Rogers    {
11204dd25272SIan Rogers        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.",
1121*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11224dd25272SIan Rogers        "CounterMask": "1",
11234dd25272SIan Rogers        "EventCode": "0x0E",
11244dd25272SIan Rogers        "EventName": "UOPS_ISSUED.STALL_CYCLES",
11254dd25272SIan Rogers        "Invert": "1",
11264dd25272SIan Rogers        "SampleAfterValue": "2000003",
11274dd25272SIan Rogers        "UMask": "0x1"
11284dd25272SIan Rogers    },
11294dd25272SIan Rogers    {
11304dd25272SIan Rogers        "BriefDescription": "Actually retired uops.",
1131*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11324dd25272SIan Rogers        "EventCode": "0xC2",
11334dd25272SIan Rogers        "EventName": "UOPS_RETIRED.ALL",
11344dd25272SIan Rogers        "PEBS": "1",
11354dd25272SIan Rogers        "PublicDescription": "Counts the number of micro-ops retired. Use Cmask=1 and invert to count active cycles or stalled cycles.",
11364dd25272SIan Rogers        "SampleAfterValue": "2000003",
11374dd25272SIan Rogers        "UMask": "0x1"
11384dd25272SIan Rogers    },
11394dd25272SIan Rogers    {
11404dd25272SIan Rogers        "AnyThread": "1",
11414dd25272SIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
1142*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11434dd25272SIan Rogers        "CounterMask": "1",
11444dd25272SIan Rogers        "EventCode": "0xC2",
11454dd25272SIan Rogers        "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES",
11464dd25272SIan Rogers        "Invert": "1",
11474dd25272SIan Rogers        "SampleAfterValue": "2000003",
11484dd25272SIan Rogers        "UMask": "0x1"
11494dd25272SIan Rogers    },
11504dd25272SIan Rogers    {
11514dd25272SIan Rogers        "BriefDescription": "Retirement slots used.",
1152*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11534dd25272SIan Rogers        "EventCode": "0xC2",
11544dd25272SIan Rogers        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
11554dd25272SIan Rogers        "PEBS": "1",
11564dd25272SIan Rogers        "PublicDescription": "This event counts the number of retirement slots used each cycle.  There are potentially 4 slots that can be used each cycle - meaning, 4 uops or 4 instructions could retire each cycle.",
11574dd25272SIan Rogers        "SampleAfterValue": "2000003",
11584dd25272SIan Rogers        "UMask": "0x2"
11594dd25272SIan Rogers    },
11604dd25272SIan Rogers    {
11614dd25272SIan Rogers        "BriefDescription": "Cycles without actually retired uops.",
1162*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11634dd25272SIan Rogers        "CounterMask": "1",
11644dd25272SIan Rogers        "EventCode": "0xC2",
11654dd25272SIan Rogers        "EventName": "UOPS_RETIRED.STALL_CYCLES",
11664dd25272SIan Rogers        "Invert": "1",
11674dd25272SIan Rogers        "SampleAfterValue": "2000003",
11684dd25272SIan Rogers        "UMask": "0x1"
11694dd25272SIan Rogers    },
11704dd25272SIan Rogers    {
11714dd25272SIan Rogers        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1172*b59307d0SIan Rogers        "Counter": "0,1,2,3",
11738e6389f9SIan Rogers        "CounterMask": "16",
11744dd25272SIan Rogers        "EventCode": "0xC2",
11754dd25272SIan Rogers        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
11764dd25272SIan Rogers        "Invert": "1",
11774dd25272SIan Rogers        "SampleAfterValue": "2000003",
11784dd25272SIan Rogers        "UMask": "0x1"
1179dcfbad10SAndi Kleen    }
1180dcfbad10SAndi Kleen]
1181