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    {
11*b5d2644dSIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to ILD_STALL.LCP]",
12*b5d2644dSIan Rogers        "EventCode": "0x87",
13*b5d2644dSIan Rogers        "EventName": "DECODE.LCP",
14*b5d2644dSIan Rogers        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to ILD_STALL.LCP]",
15*b5d2644dSIan Rogers        "SampleAfterValue": "2000003",
16*b5d2644dSIan Rogers        "UMask": "0x1"
17*b5d2644dSIan Rogers    },
18*b5d2644dSIan Rogers    {
192c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
202c72404eSJin Yao        "EventCode": "0xAB",
212c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.COUNT",
222c72404eSJin 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.",
23630171d4SAndi Kleen        "SampleAfterValue": "2000003",
242c72404eSJin Yao        "UMask": "0x1"
252c72404eSJin Yao    },
262c72404eSJin Yao    {
272c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
282c72404eSJin Yao        "EventCode": "0xAB",
292c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
302c72404eSJin 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.",
312c72404eSJin Yao        "SampleAfterValue": "2000003",
322c72404eSJin Yao        "UMask": "0x2"
332c72404eSJin Yao    },
342c72404eSJin Yao    {
353bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced DSB miss.",
363bad20d7SIan Rogers        "EventCode": "0xC6",
373bad20d7SIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
383bad20d7SIan Rogers        "MSRIndex": "0x3F7",
393bad20d7SIan Rogers        "MSRValue": "0x1",
403bad20d7SIan Rogers        "PEBS": "1",
413bad20d7SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
423bad20d7SIan Rogers        "SampleAfterValue": "100007",
433bad20d7SIan Rogers        "UMask": "0x1"
443bad20d7SIan Rogers    },
453bad20d7SIan Rogers    {
463bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
472c72404eSJin Yao        "EventCode": "0xC6",
482c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.DSB_MISS",
492c72404eSJin Yao        "MSRIndex": "0x3F7",
502c72404eSJin Yao        "MSRValue": "0x11",
512c72404eSJin Yao        "PEBS": "1",
523bad20d7SIan 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.",
532c72404eSJin Yao        "SampleAfterValue": "100007",
542c72404eSJin Yao        "UMask": "0x1"
55630171d4SAndi Kleen    },
56630171d4SAndi Kleen    {
57b5ff7f27SJin Yao        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
58630171d4SAndi Kleen        "EventCode": "0xC6",
5919f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
60630171d4SAndi Kleen        "MSRIndex": "0x3F7",
61b5ff7f27SJin Yao        "MSRValue": "0x14",
62b5ff7f27SJin Yao        "PEBS": "1",
6319f2d40cSAndi Kleen        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
64630171d4SAndi Kleen        "SampleAfterValue": "100007",
65b5ff7f27SJin Yao        "UMask": "0x1"
66630171d4SAndi Kleen    },
67630171d4SAndi Kleen    {
682c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
692c72404eSJin Yao        "EventCode": "0xC6",
702c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L1I_MISS",
712c72404eSJin Yao        "MSRIndex": "0x3F7",
722c72404eSJin Yao        "MSRValue": "0x12",
732c72404eSJin Yao        "PEBS": "1",
742c72404eSJin Yao        "SampleAfterValue": "100007",
752c72404eSJin Yao        "UMask": "0x1"
762c72404eSJin Yao    },
772c72404eSJin Yao    {
782c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
792c72404eSJin Yao        "EventCode": "0xC6",
802c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L2_MISS",
812c72404eSJin Yao        "MSRIndex": "0x3F7",
822c72404eSJin Yao        "MSRValue": "0x13",
832c72404eSJin Yao        "PEBS": "1",
842c72404eSJin Yao        "SampleAfterValue": "100007",
852c72404eSJin Yao        "UMask": "0x1"
862c72404eSJin Yao    },
872c72404eSJin Yao    {
882c72404eSJin Yao        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
892c72404eSJin Yao        "EventCode": "0xc6",
902c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
912c72404eSJin Yao        "MSRIndex": "0x3F7",
922c72404eSJin Yao        "MSRValue": "0x400106",
932c72404eSJin Yao        "PEBS": "2",
942c72404eSJin 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.",
952c72404eSJin Yao        "SampleAfterValue": "100007",
962c72404eSJin Yao        "UMask": "0x1"
972c72404eSJin Yao    },
982c72404eSJin Yao    {
99b5ff7f27SJin 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.",
100630171d4SAndi Kleen        "EventCode": "0xC6",
10119f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
102630171d4SAndi Kleen        "MSRIndex": "0x3F7",
103b5ff7f27SJin Yao        "MSRValue": "0x408006",
104b5ff7f27SJin Yao        "PEBS": "1",
105630171d4SAndi Kleen        "SampleAfterValue": "100007",
106b5ff7f27SJin Yao        "UMask": "0x1"
107630171d4SAndi Kleen    },
108630171d4SAndi Kleen    {
109b5ff7f27SJin 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.",
110b5ff7f27SJin Yao        "EventCode": "0xC6",
11119f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
11219f2d40cSAndi Kleen        "MSRIndex": "0x3F7",
113b5ff7f27SJin Yao        "MSRValue": "0x401006",
114b5ff7f27SJin Yao        "PEBS": "1",
11519f2d40cSAndi 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.",
11619f2d40cSAndi Kleen        "SampleAfterValue": "100007",
117b5ff7f27SJin Yao        "UMask": "0x1"
11819f2d40cSAndi Kleen    },
11919f2d40cSAndi Kleen    {
120b5ff7f27SJin 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.",
121b5ff7f27SJin Yao        "EventCode": "0xC6",
122b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
123b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
124b5ff7f27SJin Yao        "MSRValue": "0x400206",
125b5ff7f27SJin Yao        "PEBS": "1",
126b5ff7f27SJin Yao        "SampleAfterValue": "100007",
127b5ff7f27SJin Yao        "UMask": "0x1"
128b5ff7f27SJin Yao    },
129b5ff7f27SJin Yao    {
130b5ff7f27SJin 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.",
131b5ff7f27SJin Yao        "EventCode": "0xC6",
132b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
133b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
134b5ff7f27SJin Yao        "MSRValue": "0x410006",
135b5ff7f27SJin Yao        "PEBS": "1",
136b5ff7f27SJin Yao        "SampleAfterValue": "100007",
137b5ff7f27SJin Yao        "UMask": "0x1"
138b5ff7f27SJin Yao    },
139b5ff7f27SJin Yao    {
1402c72404eSJin 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.",
1412c72404eSJin Yao        "EventCode": "0xC6",
1422c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
1432c72404eSJin Yao        "MSRIndex": "0x3F7",
1442c72404eSJin Yao        "MSRValue": "0x100206",
1452c72404eSJin Yao        "PEBS": "1",
1462c72404eSJin 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.",
1472c72404eSJin Yao        "SampleAfterValue": "100007",
1482c72404eSJin Yao        "UMask": "0x1"
1492c72404eSJin Yao    },
1502c72404eSJin Yao    {
151b5ff7f27SJin 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.",
152b5ff7f27SJin Yao        "EventCode": "0xC6",
153b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_2",
154b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
155b5ff7f27SJin Yao        "MSRValue": "0x200206",
156b5ff7f27SJin Yao        "PEBS": "1",
157b5ff7f27SJin Yao        "SampleAfterValue": "100007",
158b5ff7f27SJin Yao        "UMask": "0x1"
159b5ff7f27SJin Yao    },
160b5ff7f27SJin Yao    {
161b5ff7f27SJin 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.",
162b5ff7f27SJin Yao        "EventCode": "0xC6",
163b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_3",
164b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
165b5ff7f27SJin Yao        "MSRValue": "0x300206",
166b5ff7f27SJin Yao        "PEBS": "1",
167b5ff7f27SJin Yao        "SampleAfterValue": "100007",
168b5ff7f27SJin Yao        "UMask": "0x1"
169b5ff7f27SJin Yao    },
170b5ff7f27SJin Yao    {
171b5ff7f27SJin 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.",
172b5ff7f27SJin Yao        "EventCode": "0xC6",
173b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
174b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
175b5ff7f27SJin Yao        "MSRValue": "0x402006",
176b5ff7f27SJin Yao        "PEBS": "1",
177b5ff7f27SJin 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.",
178b5ff7f27SJin Yao        "SampleAfterValue": "100007",
179b5ff7f27SJin Yao        "UMask": "0x1"
180b5ff7f27SJin Yao    },
181b5ff7f27SJin Yao    {
1822c72404eSJin 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.",
1832c72404eSJin Yao        "EventCode": "0xC6",
1842c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
1852c72404eSJin Yao        "MSRIndex": "0x3F7",
1862c72404eSJin Yao        "MSRValue": "0x400406",
1872c72404eSJin Yao        "PEBS": "1",
1882c72404eSJin Yao        "SampleAfterValue": "100007",
1892c72404eSJin Yao        "UMask": "0x1"
1902c72404eSJin Yao    },
1912c72404eSJin Yao    {
1922c72404eSJin 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.",
1932c72404eSJin Yao        "EventCode": "0xC6",
1942c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
1952c72404eSJin Yao        "MSRIndex": "0x3F7",
1962c72404eSJin Yao        "MSRValue": "0x420006",
1972c72404eSJin Yao        "PEBS": "1",
1982c72404eSJin Yao        "SampleAfterValue": "100007",
1992c72404eSJin Yao        "UMask": "0x1"
2002c72404eSJin Yao    },
2012c72404eSJin Yao    {
2022c72404eSJin 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.",
2032c72404eSJin Yao        "EventCode": "0xC6",
2042c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
2052c72404eSJin Yao        "MSRIndex": "0x3F7",
2062c72404eSJin Yao        "MSRValue": "0x404006",
2072c72404eSJin Yao        "PEBS": "1",
2082c72404eSJin Yao        "SampleAfterValue": "100007",
2092c72404eSJin Yao        "UMask": "0x1"
2102c72404eSJin Yao    },
2112c72404eSJin Yao    {
2122c72404eSJin 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.",
2132c72404eSJin Yao        "EventCode": "0xC6",
2142c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
2152c72404eSJin Yao        "MSRIndex": "0x3F7",
2162c72404eSJin Yao        "MSRValue": "0x400806",
2172c72404eSJin Yao        "PEBS": "1",
2182c72404eSJin 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.",
2192c72404eSJin Yao        "SampleAfterValue": "100007",
2202c72404eSJin Yao        "UMask": "0x1"
2212c72404eSJin Yao    },
2222c72404eSJin Yao    {
2232c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
2242c72404eSJin Yao        "EventCode": "0xC6",
2252c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.STLB_MISS",
2262c72404eSJin Yao        "MSRIndex": "0x3F7",
2272c72404eSJin Yao        "MSRValue": "0x15",
2282c72404eSJin Yao        "PEBS": "1",
2292c72404eSJin Yao        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
2302c72404eSJin Yao        "SampleAfterValue": "100007",
2312c72404eSJin Yao        "UMask": "0x1"
2322c72404eSJin Yao    },
2332c72404eSJin Yao    {
2342c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
2352c72404eSJin Yao        "EventCode": "0x80",
2362c72404eSJin Yao        "EventName": "ICACHE_16B.IFDATA_STALL",
2372c72404eSJin 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.",
238b5ff7f27SJin Yao        "SampleAfterValue": "2000003",
2392c72404eSJin Yao        "UMask": "0x4"
2402c72404eSJin Yao    },
2412c72404eSJin Yao    {
2422c72404eSJin Yao        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
2432c72404eSJin Yao        "EventCode": "0x83",
2442c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_HIT",
2452c72404eSJin Yao        "SampleAfterValue": "200003",
246b5ff7f27SJin Yao        "UMask": "0x1"
247b5ff7f27SJin Yao    },
248b5ff7f27SJin Yao    {
249b5ff7f27SJin Yao        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
250b5ff7f27SJin Yao        "EventCode": "0x83",
251b5ff7f27SJin Yao        "EventName": "ICACHE_64B.IFTAG_MISS",
252b5ff7f27SJin Yao        "SampleAfterValue": "200003",
253b5ff7f27SJin Yao        "UMask": "0x2"
254b5ff7f27SJin Yao    },
255b5ff7f27SJin Yao    {
256*b5d2644dSIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_TAG.STALLS]",
2572c72404eSJin Yao        "EventCode": "0x83",
2582c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_STALL",
2592c72404eSJin Yao        "SampleAfterValue": "200003",
2602c72404eSJin Yao        "UMask": "0x4"
2612c72404eSJin Yao    },
2622c72404eSJin Yao    {
263*b5d2644dSIan Rogers        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss. [This event is alias to ICACHE_64B.IFTAG_STALL]",
264*b5d2644dSIan Rogers        "EventCode": "0x83",
265*b5d2644dSIan Rogers        "EventName": "ICACHE_TAG.STALLS",
266*b5d2644dSIan Rogers        "SampleAfterValue": "200003",
267*b5d2644dSIan Rogers        "UMask": "0x4"
268*b5d2644dSIan Rogers    },
269*b5d2644dSIan Rogers    {
270*b5d2644dSIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops [This event is alias to IDQ.DSB_CYCLES_OK]",
2712c72404eSJin Yao        "CounterMask": "4",
2722c72404eSJin Yao        "EventCode": "0x79",
2732c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
274*b5d2644dSIan Rogers        "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. [This event is alias to IDQ.DSB_CYCLES_OK]",
2752c72404eSJin Yao        "SampleAfterValue": "2000003",
2762c72404eSJin Yao        "UMask": "0x18"
2772c72404eSJin Yao    },
2782c72404eSJin Yao    {
279*b5d2644dSIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop [This event is alias to IDQ.DSB_CYCLES_ANY]",
2802c72404eSJin Yao        "CounterMask": "1",
2812c72404eSJin Yao        "EventCode": "0x79",
2822c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
283*b5d2644dSIan Rogers        "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. [This event is alias to IDQ.DSB_CYCLES_ANY]",
2842c72404eSJin Yao        "SampleAfterValue": "2000003",
2852c72404eSJin Yao        "UMask": "0x18"
2862c72404eSJin Yao    },
2872c72404eSJin Yao    {
2882c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering 4 Uops",
2892c72404eSJin Yao        "CounterMask": "4",
2902c72404eSJin Yao        "EventCode": "0x79",
2912c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
2922c72404eSJin 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).",
2932c72404eSJin Yao        "SampleAfterValue": "2000003",
2942c72404eSJin Yao        "UMask": "0x24"
2952c72404eSJin Yao    },
2962c72404eSJin Yao    {
2972c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering any Uop",
2982c72404eSJin Yao        "CounterMask": "1",
2992c72404eSJin Yao        "EventCode": "0x79",
3002c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
3012c72404eSJin 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).",
3022c72404eSJin Yao        "SampleAfterValue": "2000003",
3032c72404eSJin Yao        "UMask": "0x24"
3042c72404eSJin Yao    },
3052c72404eSJin Yao    {
3062c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
3072c72404eSJin Yao        "CounterMask": "1",
3082c72404eSJin Yao        "EventCode": "0x79",
3092c72404eSJin Yao        "EventName": "IDQ.DSB_CYCLES",
3102c72404eSJin 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.",
3112c72404eSJin Yao        "SampleAfterValue": "2000003",
3122c72404eSJin Yao        "UMask": "0x8"
3132c72404eSJin Yao    },
3142c72404eSJin Yao    {
315*b5d2644dSIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop [This event is alias to IDQ.ALL_DSB_CYCLES_ANY_UOPS]",
316*b5d2644dSIan Rogers        "CounterMask": "1",
317*b5d2644dSIan Rogers        "EventCode": "0x79",
318*b5d2644dSIan Rogers        "EventName": "IDQ.DSB_CYCLES_ANY",
319*b5d2644dSIan Rogers        "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. [This event is alias to IDQ.ALL_DSB_CYCLES_ANY_UOPS]",
320*b5d2644dSIan Rogers        "SampleAfterValue": "2000003",
321*b5d2644dSIan Rogers        "UMask": "0x18"
322*b5d2644dSIan Rogers    },
323*b5d2644dSIan Rogers    {
324*b5d2644dSIan Rogers        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops [This event is alias to IDQ.ALL_DSB_CYCLES_4_UOPS]",
325*b5d2644dSIan Rogers        "CounterMask": "4",
326*b5d2644dSIan Rogers        "EventCode": "0x79",
327*b5d2644dSIan Rogers        "EventName": "IDQ.DSB_CYCLES_OK",
328*b5d2644dSIan Rogers        "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. [This event is alias to IDQ.ALL_DSB_CYCLES_4_UOPS]",
329*b5d2644dSIan Rogers        "SampleAfterValue": "2000003",
330*b5d2644dSIan Rogers        "UMask": "0x18"
331*b5d2644dSIan Rogers    },
332*b5d2644dSIan Rogers    {
3332c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
3342c72404eSJin Yao        "EventCode": "0x79",
3352c72404eSJin Yao        "EventName": "IDQ.DSB_UOPS",
3362c72404eSJin 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.",
3372c72404eSJin Yao        "SampleAfterValue": "2000003",
3382c72404eSJin Yao        "UMask": "0x8"
3392c72404eSJin Yao    },
3402c72404eSJin Yao    {
3412c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
3422c72404eSJin Yao        "CounterMask": "1",
3432c72404eSJin Yao        "EventCode": "0x79",
3442c72404eSJin Yao        "EventName": "IDQ.MITE_CYCLES",
3452c72404eSJin 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.",
3462c72404eSJin Yao        "SampleAfterValue": "2000003",
3472c72404eSJin Yao        "UMask": "0x4"
3482c72404eSJin Yao    },
3492c72404eSJin Yao    {
3502c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
3512c72404eSJin Yao        "EventCode": "0x79",
3522c72404eSJin Yao        "EventName": "IDQ.MITE_UOPS",
3532c72404eSJin 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).",
3542c72404eSJin Yao        "SampleAfterValue": "2000003",
3552c72404eSJin Yao        "UMask": "0x4"
3562c72404eSJin Yao    },
3572c72404eSJin Yao    {
358100ee7c3SIan Rogers        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3592c72404eSJin Yao        "CounterMask": "1",
3602c72404eSJin Yao        "EventCode": "0x79",
3612c72404eSJin Yao        "EventName": "IDQ.MS_CYCLES",
3622c72404eSJin 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.",
3632c72404eSJin Yao        "SampleAfterValue": "2000003",
3642c72404eSJin Yao        "UMask": "0x30"
3652c72404eSJin Yao    },
3662c72404eSJin Yao    {
367100ee7c3SIan 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",
3682c72404eSJin Yao        "CounterMask": "1",
3692c72404eSJin Yao        "EventCode": "0x79",
3702c72404eSJin Yao        "EventName": "IDQ.MS_DSB_CYCLES",
3712c72404eSJin 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.",
3722c72404eSJin Yao        "SampleAfterValue": "2000003",
3732c72404eSJin Yao        "UMask": "0x10"
3742c72404eSJin Yao    },
3752c72404eSJin Yao    {
376100ee7c3SIan Rogers        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3772c72404eSJin Yao        "EventCode": "0x79",
3782c72404eSJin Yao        "EventName": "IDQ.MS_MITE_UOPS",
3792c72404eSJin 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.",
3802c72404eSJin Yao        "SampleAfterValue": "2000003",
3812c72404eSJin Yao        "UMask": "0x20"
3822c72404eSJin Yao    },
3832c72404eSJin Yao    {
3842c72404eSJin Yao        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
3852c72404eSJin Yao        "CounterMask": "1",
3862c72404eSJin Yao        "EdgeDetect": "1",
3872c72404eSJin Yao        "EventCode": "0x79",
3882c72404eSJin Yao        "EventName": "IDQ.MS_SWITCHES",
3892c72404eSJin Yao        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
3902c72404eSJin Yao        "SampleAfterValue": "2000003",
3912c72404eSJin Yao        "UMask": "0x30"
3922c72404eSJin Yao    },
3932c72404eSJin Yao    {
394100ee7c3SIan Rogers        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy",
3952c72404eSJin Yao        "EventCode": "0x79",
3962c72404eSJin Yao        "EventName": "IDQ.MS_UOPS",
3972c72404eSJin 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.",
3982c72404eSJin Yao        "SampleAfterValue": "2000003",
3992c72404eSJin Yao        "UMask": "0x30"
4002c72404eSJin Yao    },
4012c72404eSJin Yao    {
4022c72404eSJin Yao        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
4032c72404eSJin Yao        "EventCode": "0x9C",
4042c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
4052c72404eSJin 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.",
4062c72404eSJin Yao        "SampleAfterValue": "2000003",
4072c72404eSJin Yao        "UMask": "0x1"
4082c72404eSJin Yao    },
4092c72404eSJin Yao    {
4102c72404eSJin 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",
4112c72404eSJin Yao        "CounterMask": "4",
4122c72404eSJin Yao        "EventCode": "0x9C",
4132c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
4142c72404eSJin 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.",
4152c72404eSJin Yao        "SampleAfterValue": "2000003",
4162c72404eSJin Yao        "UMask": "0x1"
4172c72404eSJin Yao    },
4182c72404eSJin Yao    {
4192c72404eSJin Yao        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
4202c72404eSJin Yao        "CounterMask": "1",
4212c72404eSJin Yao        "EventCode": "0x9C",
4222c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
4232c72404eSJin Yao        "Invert": "1",
4242c72404eSJin Yao        "SampleAfterValue": "2000003",
4252c72404eSJin Yao        "UMask": "0x1"
4262c72404eSJin Yao    },
4272c72404eSJin Yao    {
4282c72404eSJin 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",
4292c72404eSJin Yao        "CounterMask": "3",
4302c72404eSJin Yao        "EventCode": "0x9C",
4312c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
4322c72404eSJin 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.",
4332c72404eSJin Yao        "SampleAfterValue": "2000003",
4342c72404eSJin Yao        "UMask": "0x1"
4352c72404eSJin Yao    },
4362c72404eSJin Yao    {
4372c72404eSJin Yao        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
4382c72404eSJin Yao        "CounterMask": "2",
4392c72404eSJin Yao        "EventCode": "0x9C",
4402c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
4412c72404eSJin Yao        "PublicDescription": "Cycles with less than 2 uops delivered by the front-end.",
4422c72404eSJin Yao        "SampleAfterValue": "2000003",
4432c72404eSJin Yao        "UMask": "0x1"
4442c72404eSJin Yao    },
4452c72404eSJin Yao    {
4462c72404eSJin Yao        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
4472c72404eSJin Yao        "CounterMask": "1",
4482c72404eSJin Yao        "EventCode": "0x9C",
4492c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
4502c72404eSJin Yao        "PublicDescription": "Cycles with less than 3 uops delivered by the front-end.",
4512c72404eSJin Yao        "SampleAfterValue": "2000003",
452b5ff7f27SJin Yao        "UMask": "0x1"
453630171d4SAndi Kleen    }
454630171d4SAndi Kleen]
455