1630171d4SAndi Kleen[
2630171d4SAndi Kleen    {
32c72404eSJin Yao        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
42c72404eSJin Yao        "EventCode": "0xE6",
52c72404eSJin Yao        "EventName": "BACLEARS.ANY",
62c72404eSJin Yao        "PublicDescription": "Counts the number of times the front-end is resteered when it finds a branch instruction in a fetch line. This occurs for the first time a branch instruction is fetched or when the branch is not tracked by the BPU (Branch Prediction Unit) anymore.",
72c72404eSJin Yao        "SampleAfterValue": "100003",
82c72404eSJin Yao        "UMask": "0x1"
92c72404eSJin Yao    },
102c72404eSJin Yao    {
112c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
122c72404eSJin Yao        "EventCode": "0xAB",
132c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.COUNT",
142c72404eSJin Yao        "PublicDescription": "This event counts the number of the Decode Stream Buffer (DSB)-to-MITE switches including all misses because of missing Decode Stream Buffer (DSB) cache and u-arch forced misses.\nNote: Invoking MITE requires two or three cycles delay.",
15630171d4SAndi Kleen        "SampleAfterValue": "2000003",
162c72404eSJin Yao        "UMask": "0x1"
172c72404eSJin Yao    },
182c72404eSJin Yao    {
192c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
202c72404eSJin Yao        "EventCode": "0xAB",
212c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
222c72404eSJin Yao        "PublicDescription": "Counts Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles. These cycles do not include uops routed through because of the switch itself, for example, when Instruction Decode Queue (IDQ) pre-allocation is unavailable, or Instruction Decode Queue (IDQ) is full. SBD-to-MITE switch true penalty cycles happen after the merge mux (MM) receives Decode Stream Buffer (DSB) Sync-indication until receiving the first MITE uop. MM is placed before Instruction Decode Queue (IDQ) to merge uops being fed from the MITE and Decode Stream Buffer (DSB) paths. Decode Stream Buffer (DSB) inserts the Sync-indication whenever a Decode Stream Buffer (DSB)-to-MITE switch occurs.Penalty: A Decode Stream Buffer (DSB) hit followed by a Decode Stream Buffer (DSB) miss can cost up to six cycles in which no uops are delivered to the IDQ. Most often, such switches from the Decode Stream Buffer (DSB) to the legacy pipeline cost 02 cycles.",
232c72404eSJin Yao        "SampleAfterValue": "2000003",
242c72404eSJin Yao        "UMask": "0x2"
252c72404eSJin Yao    },
262c72404eSJin Yao    {
273bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced DSB miss.",
283bad20d7SIan Rogers        "EventCode": "0xC6",
293bad20d7SIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
303bad20d7SIan Rogers        "MSRIndex": "0x3F7",
313bad20d7SIan Rogers        "MSRValue": "0x1",
323bad20d7SIan Rogers        "PEBS": "1",
333bad20d7SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
343bad20d7SIan Rogers        "SampleAfterValue": "100007",
353bad20d7SIan Rogers        "UMask": "0x1"
363bad20d7SIan Rogers    },
373bad20d7SIan Rogers    {
383bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
392c72404eSJin Yao        "EventCode": "0xC6",
402c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.DSB_MISS",
412c72404eSJin Yao        "MSRIndex": "0x3F7",
422c72404eSJin Yao        "MSRValue": "0x11",
432c72404eSJin Yao        "PEBS": "1",
443bad20d7SIan Rogers        "PublicDescription": "Number of retired Instructions that experienced a critical DSB (Decode stream buffer i.e. the decoded instruction-cache) miss. Critical means stalls were exposed to the back-end as a result of the DSB miss.",
452c72404eSJin Yao        "SampleAfterValue": "100007",
462c72404eSJin Yao        "UMask": "0x1"
47630171d4SAndi Kleen    },
48630171d4SAndi Kleen    {
49b5ff7f27SJin Yao        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
50630171d4SAndi Kleen        "EventCode": "0xC6",
5119f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
52630171d4SAndi Kleen        "MSRIndex": "0x3F7",
53b5ff7f27SJin Yao        "MSRValue": "0x14",
54b5ff7f27SJin Yao        "PEBS": "1",
5519f2d40cSAndi Kleen        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
56630171d4SAndi Kleen        "SampleAfterValue": "100007",
57b5ff7f27SJin Yao        "UMask": "0x1"
58630171d4SAndi Kleen    },
59630171d4SAndi Kleen    {
602c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
612c72404eSJin Yao        "EventCode": "0xC6",
622c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L1I_MISS",
632c72404eSJin Yao        "MSRIndex": "0x3F7",
642c72404eSJin Yao        "MSRValue": "0x12",
652c72404eSJin Yao        "PEBS": "1",
662c72404eSJin Yao        "SampleAfterValue": "100007",
672c72404eSJin Yao        "UMask": "0x1"
682c72404eSJin Yao    },
692c72404eSJin Yao    {
702c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
712c72404eSJin Yao        "EventCode": "0xC6",
722c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L2_MISS",
732c72404eSJin Yao        "MSRIndex": "0x3F7",
742c72404eSJin Yao        "MSRValue": "0x13",
752c72404eSJin Yao        "PEBS": "1",
762c72404eSJin Yao        "SampleAfterValue": "100007",
772c72404eSJin Yao        "UMask": "0x1"
782c72404eSJin Yao    },
792c72404eSJin Yao    {
802c72404eSJin Yao        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
812c72404eSJin Yao        "EventCode": "0xc6",
822c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
832c72404eSJin Yao        "MSRIndex": "0x3F7",
842c72404eSJin Yao        "MSRValue": "0x400106",
852c72404eSJin Yao        "PEBS": "2",
862c72404eSJin Yao        "PublicDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of at least 1 cycle which was not interrupted by a back-end stall.",
872c72404eSJin Yao        "SampleAfterValue": "100007",
882c72404eSJin Yao        "UMask": "0x1"
892c72404eSJin Yao    },
902c72404eSJin Yao    {
91b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 128 cycles which was not interrupted by a back-end stall.",
92630171d4SAndi Kleen        "EventCode": "0xC6",
9319f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
94630171d4SAndi Kleen        "MSRIndex": "0x3F7",
95b5ff7f27SJin Yao        "MSRValue": "0x408006",
96b5ff7f27SJin Yao        "PEBS": "1",
97630171d4SAndi Kleen        "SampleAfterValue": "100007",
98b5ff7f27SJin Yao        "UMask": "0x1"
99630171d4SAndi Kleen    },
100630171d4SAndi Kleen    {
101b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 16 cycles which was not interrupted by a back-end stall.",
102b5ff7f27SJin Yao        "EventCode": "0xC6",
10319f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
10419f2d40cSAndi Kleen        "MSRIndex": "0x3F7",
105b5ff7f27SJin Yao        "MSRValue": "0x401006",
106b5ff7f27SJin Yao        "PEBS": "1",
10719f2d40cSAndi Kleen        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 16 cycles. During this period the front-end delivered no uops.",
10819f2d40cSAndi Kleen        "SampleAfterValue": "100007",
109b5ff7f27SJin Yao        "UMask": "0x1"
11019f2d40cSAndi Kleen    },
11119f2d40cSAndi Kleen    {
112b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 2 cycles which was not interrupted by a back-end stall.",
113b5ff7f27SJin Yao        "EventCode": "0xC6",
114b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
115b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
116b5ff7f27SJin Yao        "MSRValue": "0x400206",
117b5ff7f27SJin Yao        "PEBS": "1",
118b5ff7f27SJin Yao        "SampleAfterValue": "100007",
119b5ff7f27SJin Yao        "UMask": "0x1"
120b5ff7f27SJin Yao    },
121b5ff7f27SJin Yao    {
122b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 256 cycles which was not interrupted by a back-end stall.",
123b5ff7f27SJin Yao        "EventCode": "0xC6",
124b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
125b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
126b5ff7f27SJin Yao        "MSRValue": "0x410006",
127b5ff7f27SJin Yao        "PEBS": "1",
128b5ff7f27SJin Yao        "SampleAfterValue": "100007",
129b5ff7f27SJin Yao        "UMask": "0x1"
130b5ff7f27SJin Yao    },
131b5ff7f27SJin Yao    {
1322c72404eSJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 1 bubble-slot for a period of 2 cycles which was not interrupted by a back-end stall.",
1332c72404eSJin Yao        "EventCode": "0xC6",
1342c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
1352c72404eSJin Yao        "MSRIndex": "0x3F7",
1362c72404eSJin Yao        "MSRValue": "0x100206",
1372c72404eSJin Yao        "PEBS": "1",
1382c72404eSJin Yao        "PublicDescription": "Counts retired instructions that are delivered to the back-end after the front-end had at least 1 bubble-slot for a period of 2 cycles. A bubble-slot is an empty issue-pipeline slot while there was no RAT stall.",
1392c72404eSJin Yao        "SampleAfterValue": "100007",
1402c72404eSJin Yao        "UMask": "0x1"
1412c72404eSJin Yao    },
1422c72404eSJin Yao    {
143b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 2 bubble-slots for a period of 2 cycles which was not interrupted by a back-end stall.",
144b5ff7f27SJin Yao        "EventCode": "0xC6",
145b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_2",
146b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
147b5ff7f27SJin Yao        "MSRValue": "0x200206",
148b5ff7f27SJin Yao        "PEBS": "1",
149b5ff7f27SJin Yao        "SampleAfterValue": "100007",
150b5ff7f27SJin Yao        "UMask": "0x1"
151b5ff7f27SJin Yao    },
152b5ff7f27SJin Yao    {
153b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end had at least 3 bubble-slots for a period of 2 cycles which was not interrupted by a back-end stall.",
154b5ff7f27SJin Yao        "EventCode": "0xC6",
155b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_3",
156b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
157b5ff7f27SJin Yao        "MSRValue": "0x300206",
158b5ff7f27SJin Yao        "PEBS": "1",
159b5ff7f27SJin Yao        "SampleAfterValue": "100007",
160b5ff7f27SJin Yao        "UMask": "0x1"
161b5ff7f27SJin Yao    },
162b5ff7f27SJin Yao    {
163b5ff7f27SJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 32 cycles which was not interrupted by a back-end stall.",
164b5ff7f27SJin Yao        "EventCode": "0xC6",
165b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
166b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
167b5ff7f27SJin Yao        "MSRValue": "0x402006",
168b5ff7f27SJin Yao        "PEBS": "1",
169b5ff7f27SJin Yao        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 32 cycles. During this period the front-end delivered no uops.",
170b5ff7f27SJin Yao        "SampleAfterValue": "100007",
171b5ff7f27SJin Yao        "UMask": "0x1"
172b5ff7f27SJin Yao    },
173b5ff7f27SJin Yao    {
1742c72404eSJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 4 cycles which was not interrupted by a back-end stall.",
1752c72404eSJin Yao        "EventCode": "0xC6",
1762c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
1772c72404eSJin Yao        "MSRIndex": "0x3F7",
1782c72404eSJin Yao        "MSRValue": "0x400406",
1792c72404eSJin Yao        "PEBS": "1",
1802c72404eSJin Yao        "SampleAfterValue": "100007",
1812c72404eSJin Yao        "UMask": "0x1"
1822c72404eSJin Yao    },
1832c72404eSJin Yao    {
1842c72404eSJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 512 cycles which was not interrupted by a back-end stall.",
1852c72404eSJin Yao        "EventCode": "0xC6",
1862c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
1872c72404eSJin Yao        "MSRIndex": "0x3F7",
1882c72404eSJin Yao        "MSRValue": "0x420006",
1892c72404eSJin Yao        "PEBS": "1",
1902c72404eSJin Yao        "SampleAfterValue": "100007",
1912c72404eSJin Yao        "UMask": "0x1"
1922c72404eSJin Yao    },
1932c72404eSJin Yao    {
1942c72404eSJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 64 cycles which was not interrupted by a back-end stall.",
1952c72404eSJin Yao        "EventCode": "0xC6",
1962c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
1972c72404eSJin Yao        "MSRIndex": "0x3F7",
1982c72404eSJin Yao        "MSRValue": "0x404006",
1992c72404eSJin Yao        "PEBS": "1",
2002c72404eSJin Yao        "SampleAfterValue": "100007",
2012c72404eSJin Yao        "UMask": "0x1"
2022c72404eSJin Yao    },
2032c72404eSJin Yao    {
2042c72404eSJin Yao        "BriefDescription": "Retired instructions that are fetched after an interval where the front-end delivered no uops for a period of 8 cycles which was not interrupted by a back-end stall.",
2052c72404eSJin Yao        "EventCode": "0xC6",
2062c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
2072c72404eSJin Yao        "MSRIndex": "0x3F7",
2082c72404eSJin Yao        "MSRValue": "0x400806",
2092c72404eSJin Yao        "PEBS": "1",
2102c72404eSJin Yao        "PublicDescription": "Counts retired instructions that are delivered to the back-end after a front-end stall of at least 8 cycles. During this period the front-end delivered no uops.",
2112c72404eSJin Yao        "SampleAfterValue": "100007",
2122c72404eSJin Yao        "UMask": "0x1"
2132c72404eSJin Yao    },
2142c72404eSJin Yao    {
2152c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
2162c72404eSJin Yao        "EventCode": "0xC6",
2172c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.STLB_MISS",
2182c72404eSJin Yao        "MSRIndex": "0x3F7",
2192c72404eSJin Yao        "MSRValue": "0x15",
2202c72404eSJin Yao        "PEBS": "1",
2212c72404eSJin Yao        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
2222c72404eSJin Yao        "SampleAfterValue": "100007",
2232c72404eSJin Yao        "UMask": "0x1"
2242c72404eSJin Yao    },
2252c72404eSJin Yao    {
2262c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
2272c72404eSJin Yao        "EventCode": "0x80",
2282c72404eSJin Yao        "EventName": "ICACHE_16B.IFDATA_STALL",
2292c72404eSJin Yao        "PublicDescription": "Cycles where a code line fetch is stalled due to an L1 instruction cache miss. The legacy decode pipeline works at a 16 Byte granularity.",
230b5ff7f27SJin Yao        "SampleAfterValue": "2000003",
2312c72404eSJin Yao        "UMask": "0x4"
2322c72404eSJin Yao    },
2332c72404eSJin Yao    {
2342c72404eSJin Yao        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
2352c72404eSJin Yao        "EventCode": "0x83",
2362c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_HIT",
2372c72404eSJin Yao        "SampleAfterValue": "200003",
238b5ff7f27SJin Yao        "UMask": "0x1"
239b5ff7f27SJin Yao    },
240b5ff7f27SJin Yao    {
241b5ff7f27SJin Yao        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
242b5ff7f27SJin Yao        "EventCode": "0x83",
243b5ff7f27SJin Yao        "EventName": "ICACHE_64B.IFTAG_MISS",
244b5ff7f27SJin Yao        "SampleAfterValue": "200003",
245b5ff7f27SJin Yao        "UMask": "0x2"
246b5ff7f27SJin Yao    },
247b5ff7f27SJin Yao    {
2482c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
2492c72404eSJin Yao        "EventCode": "0x83",
2502c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_STALL",
2512c72404eSJin Yao        "SampleAfterValue": "200003",
2522c72404eSJin Yao        "UMask": "0x4"
2532c72404eSJin Yao    },
2542c72404eSJin Yao    {
2552c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
2562c72404eSJin Yao        "CounterMask": "4",
2572c72404eSJin Yao        "EventCode": "0x79",
2582c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
2592c72404eSJin Yao        "PublicDescription": "Counts the number of cycles 4 uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
2602c72404eSJin Yao        "SampleAfterValue": "2000003",
2612c72404eSJin Yao        "UMask": "0x18"
2622c72404eSJin Yao    },
2632c72404eSJin Yao    {
2642c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
2652c72404eSJin Yao        "CounterMask": "1",
2662c72404eSJin Yao        "EventCode": "0x79",
2672c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
2682c72404eSJin Yao        "PublicDescription": "Counts the number of cycles uops were delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Count includes uops that may 'bypass' the IDQ.",
2692c72404eSJin Yao        "SampleAfterValue": "2000003",
2702c72404eSJin Yao        "UMask": "0x18"
2712c72404eSJin Yao    },
2722c72404eSJin Yao    {
2732c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering 4 Uops",
2742c72404eSJin Yao        "CounterMask": "4",
2752c72404eSJin Yao        "EventCode": "0x79",
2762c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
2772c72404eSJin Yao        "PublicDescription": "Counts the number of cycles 4 uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. Counting includes uops that may 'bypass' the IDQ. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
2782c72404eSJin Yao        "SampleAfterValue": "2000003",
2792c72404eSJin Yao        "UMask": "0x24"
2802c72404eSJin Yao    },
2812c72404eSJin Yao    {
2822c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering any Uop",
2832c72404eSJin Yao        "CounterMask": "1",
2842c72404eSJin Yao        "EventCode": "0x79",
2852c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
2862c72404eSJin Yao        "PublicDescription": "Counts the number of cycles uops were delivered to the Instruction Decode Queue (IDQ) from the MITE (legacy decode pipeline) path. Counting includes uops that may 'bypass' the IDQ. During these cycles uops are not being delivered from the Decode Stream Buffer (DSB).",
2872c72404eSJin Yao        "SampleAfterValue": "2000003",
2882c72404eSJin Yao        "UMask": "0x24"
2892c72404eSJin Yao    },
2902c72404eSJin Yao    {
2912c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
2922c72404eSJin Yao        "CounterMask": "1",
2932c72404eSJin Yao        "EventCode": "0x79",
2942c72404eSJin Yao        "EventName": "IDQ.DSB_CYCLES",
2952c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may 'bypass' the IDQ.",
2962c72404eSJin Yao        "SampleAfterValue": "2000003",
2972c72404eSJin Yao        "UMask": "0x8"
2982c72404eSJin Yao    },
2992c72404eSJin Yao    {
3002c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
3012c72404eSJin Yao        "EventCode": "0x79",
3022c72404eSJin Yao        "EventName": "IDQ.DSB_UOPS",
3032c72404eSJin Yao        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path. Counting includes uops that may 'bypass' the IDQ.",
3042c72404eSJin Yao        "SampleAfterValue": "2000003",
3052c72404eSJin Yao        "UMask": "0x8"
3062c72404eSJin Yao    },
3072c72404eSJin Yao    {
3082c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
3092c72404eSJin Yao        "CounterMask": "1",
3102c72404eSJin Yao        "EventCode": "0x79",
3112c72404eSJin Yao        "EventName": "IDQ.MITE_CYCLES",
3122c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may 'bypass' the IDQ.",
3132c72404eSJin Yao        "SampleAfterValue": "2000003",
3142c72404eSJin Yao        "UMask": "0x4"
3152c72404eSJin Yao    },
3162c72404eSJin Yao    {
3172c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
3182c72404eSJin Yao        "EventCode": "0x79",
3192c72404eSJin Yao        "EventName": "IDQ.MITE_UOPS",
3202c72404eSJin Yao        "PublicDescription": "Counts the number of uops delivered to Instruction Decode Queue (IDQ) from the MITE path. Counting includes uops that may 'bypass' the IDQ. This also means that uops are not being delivered from the Decode Stream Buffer (DSB).",
3212c72404eSJin Yao        "SampleAfterValue": "2000003",
3222c72404eSJin Yao        "UMask": "0x4"
3232c72404eSJin Yao    },
3242c72404eSJin Yao    {
325*100ee7c3SIan Rogers        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3262c72404eSJin Yao        "CounterMask": "1",
3272c72404eSJin Yao        "EventCode": "0x79",
3282c72404eSJin Yao        "EventName": "IDQ.MS_CYCLES",
3292c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ. Uops maybe initiated by Decode Stream Buffer (DSB) or MITE.",
3302c72404eSJin Yao        "SampleAfterValue": "2000003",
3312c72404eSJin Yao        "UMask": "0x30"
3322c72404eSJin Yao    },
3332c72404eSJin Yao    {
334*100ee7c3SIan Rogers        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3352c72404eSJin Yao        "CounterMask": "1",
3362c72404eSJin Yao        "EventCode": "0x79",
3372c72404eSJin Yao        "EventName": "IDQ.MS_DSB_CYCLES",
3382c72404eSJin Yao        "PublicDescription": "Counts cycles during which uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.",
3392c72404eSJin Yao        "SampleAfterValue": "2000003",
3402c72404eSJin Yao        "UMask": "0x10"
3412c72404eSJin Yao    },
3422c72404eSJin Yao    {
343*100ee7c3SIan Rogers        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3442c72404eSJin Yao        "EventCode": "0x79",
3452c72404eSJin Yao        "EventName": "IDQ.MS_MITE_UOPS",
3462c72404eSJin Yao        "PublicDescription": "Counts the number of uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while the Microcode Sequencer (MS) is busy. Counting includes uops that may 'bypass' the IDQ.",
3472c72404eSJin Yao        "SampleAfterValue": "2000003",
3482c72404eSJin Yao        "UMask": "0x20"
3492c72404eSJin Yao    },
3502c72404eSJin Yao    {
3512c72404eSJin Yao        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
3522c72404eSJin Yao        "CounterMask": "1",
3532c72404eSJin Yao        "EdgeDetect": "1",
3542c72404eSJin Yao        "EventCode": "0x79",
3552c72404eSJin Yao        "EventName": "IDQ.MS_SWITCHES",
3562c72404eSJin Yao        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
3572c72404eSJin Yao        "SampleAfterValue": "2000003",
3582c72404eSJin Yao        "UMask": "0x30"
3592c72404eSJin Yao    },
3602c72404eSJin Yao    {
361*100ee7c3SIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3622c72404eSJin Yao        "EventCode": "0x79",
3632c72404eSJin Yao        "EventName": "IDQ.MS_UOPS",
3642c72404eSJin Yao        "PublicDescription": "Counts the total number of uops delivered by the Microcode Sequencer (MS). Any instruction over 4 uops will be delivered by the MS. Some instructions such as transcendentals may additionally generate uops from the MS.",
3652c72404eSJin Yao        "SampleAfterValue": "2000003",
3662c72404eSJin Yao        "UMask": "0x30"
3672c72404eSJin Yao    },
3682c72404eSJin Yao    {
3692c72404eSJin Yao        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
3702c72404eSJin Yao        "EventCode": "0x9C",
3712c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
3722c72404eSJin Yao        "PublicDescription": "Counts the number of uops not delivered to Resource Allocation Table (RAT) per thread adding 4  x when Resource Allocation Table (RAT) is not stalled and Instruction Decode Queue (IDQ) delivers x uops to Resource Allocation Table (RAT) (where x belongs to {0,1,2,3}). Counting does not cover cases when: a. IDQ-Resource Allocation Table (RAT) pipe serves the other thread. b. Resource Allocation Table (RAT) is stalled for the thread (including uop drops and clear BE conditions).  c. Instruction Decode Queue (IDQ) delivers four uops.",
3732c72404eSJin Yao        "SampleAfterValue": "2000003",
3742c72404eSJin Yao        "UMask": "0x1"
3752c72404eSJin Yao    },
3762c72404eSJin Yao    {
3772c72404eSJin Yao        "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled",
3782c72404eSJin Yao        "CounterMask": "4",
3792c72404eSJin Yao        "EventCode": "0x9C",
3802c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
3812c72404eSJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles when no uops are delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core =4.",
3822c72404eSJin Yao        "SampleAfterValue": "2000003",
3832c72404eSJin Yao        "UMask": "0x1"
3842c72404eSJin Yao    },
3852c72404eSJin Yao    {
3862c72404eSJin Yao        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
3872c72404eSJin Yao        "CounterMask": "1",
3882c72404eSJin Yao        "EventCode": "0x9C",
3892c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
3902c72404eSJin Yao        "Invert": "1",
3912c72404eSJin Yao        "SampleAfterValue": "2000003",
3922c72404eSJin Yao        "UMask": "0x1"
3932c72404eSJin Yao    },
3942c72404eSJin Yao    {
3952c72404eSJin Yao        "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled",
3962c72404eSJin Yao        "CounterMask": "3",
3972c72404eSJin Yao        "EventCode": "0x9C",
3982c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
3992c72404eSJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles when less than 1 uop is delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core >= 3.",
4002c72404eSJin Yao        "SampleAfterValue": "2000003",
4012c72404eSJin Yao        "UMask": "0x1"
4022c72404eSJin Yao    },
4032c72404eSJin Yao    {
4042c72404eSJin Yao        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
4052c72404eSJin Yao        "CounterMask": "2",
4062c72404eSJin Yao        "EventCode": "0x9C",
4072c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
4082c72404eSJin Yao        "PublicDescription": "Cycles with less than 2 uops delivered by the front-end.",
4092c72404eSJin Yao        "SampleAfterValue": "2000003",
4102c72404eSJin Yao        "UMask": "0x1"
4112c72404eSJin Yao    },
4122c72404eSJin Yao    {
4132c72404eSJin Yao        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
4142c72404eSJin Yao        "CounterMask": "1",
4152c72404eSJin Yao        "EventCode": "0x9C",
4162c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
4172c72404eSJin Yao        "PublicDescription": "Cycles with less than 3 uops delivered by the front-end.",
4182c72404eSJin Yao        "SampleAfterValue": "2000003",
419b5ff7f27SJin Yao        "UMask": "0x1"
420630171d4SAndi Kleen    }
421630171d4SAndi Kleen]
422