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.",
4630171d4SAndi Kleen        "Counter": "0,1,2,3",
5b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
62c72404eSJin Yao        "EventCode": "0xE6",
72c72404eSJin Yao        "EventName": "BACLEARS.ANY",
82c72404eSJin 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.",
92c72404eSJin Yao        "SampleAfterValue": "100003",
102c72404eSJin Yao        "UMask": "0x1"
112c72404eSJin Yao    },
122c72404eSJin Yao    {
132c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
142c72404eSJin Yao        "Counter": "0,1,2,3",
152c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
162c72404eSJin Yao        "EventCode": "0xAB",
172c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.COUNT",
182c72404eSJin 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.",
19630171d4SAndi Kleen        "SampleAfterValue": "2000003",
202c72404eSJin Yao        "UMask": "0x1"
212c72404eSJin Yao    },
222c72404eSJin Yao    {
232c72404eSJin Yao        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
242c72404eSJin Yao        "Counter": "0,1,2,3",
252c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
262c72404eSJin Yao        "EventCode": "0xAB",
272c72404eSJin Yao        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
282c72404eSJin 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.",
292c72404eSJin Yao        "SampleAfterValue": "2000003",
302c72404eSJin Yao        "UMask": "0x2"
312c72404eSJin Yao    },
322c72404eSJin Yao    {
33*3bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced DSB miss.",
34*3bad20d7SIan Rogers        "Counter": "0,1,2,3",
35*3bad20d7SIan Rogers        "CounterHTOff": "0,1,2,3",
36*3bad20d7SIan Rogers        "EventCode": "0xC6",
37*3bad20d7SIan Rogers        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
38*3bad20d7SIan Rogers        "MSRIndex": "0x3F7",
39*3bad20d7SIan Rogers        "MSRValue": "0x1",
40*3bad20d7SIan Rogers        "PEBS": "1",
41*3bad20d7SIan Rogers        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
42*3bad20d7SIan Rogers        "SampleAfterValue": "100007",
43*3bad20d7SIan Rogers        "TakenAlone": "1",
44*3bad20d7SIan Rogers        "UMask": "0x1"
45*3bad20d7SIan Rogers    },
46*3bad20d7SIan Rogers    {
47*3bad20d7SIan Rogers        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
482c72404eSJin Yao        "Counter": "0,1,2,3",
492c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
502c72404eSJin Yao        "EventCode": "0xC6",
512c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.DSB_MISS",
522c72404eSJin Yao        "MSRIndex": "0x3F7",
532c72404eSJin Yao        "MSRValue": "0x11",
542c72404eSJin Yao        "PEBS": "1",
55*3bad20d7SIan 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.",
562c72404eSJin Yao        "SampleAfterValue": "100007",
572c72404eSJin Yao        "TakenAlone": "1",
582c72404eSJin Yao        "UMask": "0x1"
59630171d4SAndi Kleen    },
60630171d4SAndi Kleen    {
61b5ff7f27SJin Yao        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
62630171d4SAndi Kleen        "Counter": "0,1,2,3",
63b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
64630171d4SAndi Kleen        "EventCode": "0xC6",
6519f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
66630171d4SAndi Kleen        "MSRIndex": "0x3F7",
67b5ff7f27SJin Yao        "MSRValue": "0x14",
68b5ff7f27SJin Yao        "PEBS": "1",
6919f2d40cSAndi Kleen        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
70630171d4SAndi Kleen        "SampleAfterValue": "100007",
71b5ff7f27SJin Yao        "TakenAlone": "1",
72b5ff7f27SJin Yao        "UMask": "0x1"
73630171d4SAndi Kleen    },
74630171d4SAndi Kleen    {
752c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
762c72404eSJin Yao        "Counter": "0,1,2,3",
772c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
782c72404eSJin Yao        "EventCode": "0xC6",
792c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L1I_MISS",
802c72404eSJin Yao        "MSRIndex": "0x3F7",
812c72404eSJin Yao        "MSRValue": "0x12",
822c72404eSJin Yao        "PEBS": "1",
832c72404eSJin Yao        "SampleAfterValue": "100007",
842c72404eSJin Yao        "TakenAlone": "1",
852c72404eSJin Yao        "UMask": "0x1"
862c72404eSJin Yao    },
872c72404eSJin Yao    {
882c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
892c72404eSJin Yao        "Counter": "0,1,2,3",
902c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
912c72404eSJin Yao        "EventCode": "0xC6",
922c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.L2_MISS",
932c72404eSJin Yao        "MSRIndex": "0x3F7",
942c72404eSJin Yao        "MSRValue": "0x13",
952c72404eSJin Yao        "PEBS": "1",
962c72404eSJin Yao        "SampleAfterValue": "100007",
972c72404eSJin Yao        "TakenAlone": "1",
982c72404eSJin Yao        "UMask": "0x1"
992c72404eSJin Yao    },
1002c72404eSJin Yao    {
1012c72404eSJin Yao        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
1022c72404eSJin Yao        "Counter": "0,1,2,3",
1032c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
1042c72404eSJin Yao        "EventCode": "0xc6",
1052c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
1062c72404eSJin Yao        "MSRIndex": "0x3F7",
1072c72404eSJin Yao        "MSRValue": "0x400106",
1082c72404eSJin Yao        "PEBS": "2",
1092c72404eSJin 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.",
1102c72404eSJin Yao        "SampleAfterValue": "100007",
1112c72404eSJin Yao        "TakenAlone": "1",
1122c72404eSJin Yao        "UMask": "0x1"
1132c72404eSJin Yao    },
1142c72404eSJin Yao    {
115b5ff7f27SJin 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.",
116630171d4SAndi Kleen        "Counter": "0,1,2,3",
117b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
118630171d4SAndi Kleen        "EventCode": "0xC6",
11919f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
120630171d4SAndi Kleen        "MSRIndex": "0x3F7",
121b5ff7f27SJin Yao        "MSRValue": "0x408006",
122b5ff7f27SJin Yao        "PEBS": "1",
123630171d4SAndi Kleen        "SampleAfterValue": "100007",
124b5ff7f27SJin Yao        "TakenAlone": "1",
125b5ff7f27SJin Yao        "UMask": "0x1"
126630171d4SAndi Kleen    },
127630171d4SAndi Kleen    {
128b5ff7f27SJin 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.",
12919f2d40cSAndi Kleen        "Counter": "0,1,2,3",
130b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
131b5ff7f27SJin Yao        "EventCode": "0xC6",
13219f2d40cSAndi Kleen        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
13319f2d40cSAndi Kleen        "MSRIndex": "0x3F7",
134b5ff7f27SJin Yao        "MSRValue": "0x401006",
135b5ff7f27SJin Yao        "PEBS": "1",
13619f2d40cSAndi 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.",
13719f2d40cSAndi Kleen        "SampleAfterValue": "100007",
138b5ff7f27SJin Yao        "TakenAlone": "1",
139b5ff7f27SJin Yao        "UMask": "0x1"
14019f2d40cSAndi Kleen    },
14119f2d40cSAndi Kleen    {
142b5ff7f27SJin 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.",
143b5ff7f27SJin Yao        "Counter": "0,1,2,3",
144b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
145b5ff7f27SJin Yao        "EventCode": "0xC6",
146b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
147b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
148b5ff7f27SJin Yao        "MSRValue": "0x400206",
149b5ff7f27SJin Yao        "PEBS": "1",
150b5ff7f27SJin Yao        "SampleAfterValue": "100007",
151b5ff7f27SJin Yao        "TakenAlone": "1",
152b5ff7f27SJin Yao        "UMask": "0x1"
153b5ff7f27SJin Yao    },
154b5ff7f27SJin Yao    {
155b5ff7f27SJin 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.",
156b5ff7f27SJin Yao        "Counter": "0,1,2,3",
157b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
158b5ff7f27SJin Yao        "EventCode": "0xC6",
159b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
160b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
161b5ff7f27SJin Yao        "MSRValue": "0x410006",
162b5ff7f27SJin Yao        "PEBS": "1",
163b5ff7f27SJin Yao        "SampleAfterValue": "100007",
164b5ff7f27SJin Yao        "TakenAlone": "1",
165b5ff7f27SJin Yao        "UMask": "0x1"
166b5ff7f27SJin Yao    },
167b5ff7f27SJin Yao    {
1682c72404eSJin 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.",
1692c72404eSJin Yao        "Counter": "0,1,2,3",
1702c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
1712c72404eSJin Yao        "EventCode": "0xC6",
1722c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
1732c72404eSJin Yao        "MSRIndex": "0x3F7",
1742c72404eSJin Yao        "MSRValue": "0x100206",
1752c72404eSJin Yao        "PEBS": "1",
1762c72404eSJin 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.",
1772c72404eSJin Yao        "SampleAfterValue": "100007",
1782c72404eSJin Yao        "TakenAlone": "1",
1792c72404eSJin Yao        "UMask": "0x1"
1802c72404eSJin Yao    },
1812c72404eSJin Yao    {
182b5ff7f27SJin 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.",
183b5ff7f27SJin Yao        "Counter": "0,1,2,3",
184b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
185b5ff7f27SJin Yao        "EventCode": "0xC6",
186b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_2",
187b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
188b5ff7f27SJin Yao        "MSRValue": "0x200206",
189b5ff7f27SJin Yao        "PEBS": "1",
190b5ff7f27SJin Yao        "SampleAfterValue": "100007",
191b5ff7f27SJin Yao        "TakenAlone": "1",
192b5ff7f27SJin Yao        "UMask": "0x1"
193b5ff7f27SJin Yao    },
194b5ff7f27SJin Yao    {
195b5ff7f27SJin 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.",
196b5ff7f27SJin Yao        "Counter": "0,1,2,3",
197b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
198b5ff7f27SJin Yao        "EventCode": "0xC6",
199b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_3",
200b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
201b5ff7f27SJin Yao        "MSRValue": "0x300206",
202b5ff7f27SJin Yao        "PEBS": "1",
203b5ff7f27SJin Yao        "SampleAfterValue": "100007",
204b5ff7f27SJin Yao        "TakenAlone": "1",
205b5ff7f27SJin Yao        "UMask": "0x1"
206b5ff7f27SJin Yao    },
207b5ff7f27SJin Yao    {
208b5ff7f27SJin 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.",
209b5ff7f27SJin Yao        "Counter": "0,1,2,3",
210b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3",
211b5ff7f27SJin Yao        "EventCode": "0xC6",
212b5ff7f27SJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
213b5ff7f27SJin Yao        "MSRIndex": "0x3F7",
214b5ff7f27SJin Yao        "MSRValue": "0x402006",
215b5ff7f27SJin Yao        "PEBS": "1",
216b5ff7f27SJin 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.",
217b5ff7f27SJin Yao        "SampleAfterValue": "100007",
218b5ff7f27SJin Yao        "TakenAlone": "1",
219b5ff7f27SJin Yao        "UMask": "0x1"
220b5ff7f27SJin Yao    },
221b5ff7f27SJin Yao    {
2222c72404eSJin 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.",
2232c72404eSJin Yao        "Counter": "0,1,2,3",
2242c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
2252c72404eSJin Yao        "EventCode": "0xC6",
2262c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
2272c72404eSJin Yao        "MSRIndex": "0x3F7",
2282c72404eSJin Yao        "MSRValue": "0x400406",
2292c72404eSJin Yao        "PEBS": "1",
2302c72404eSJin Yao        "SampleAfterValue": "100007",
2312c72404eSJin Yao        "TakenAlone": "1",
2322c72404eSJin Yao        "UMask": "0x1"
2332c72404eSJin Yao    },
2342c72404eSJin Yao    {
2352c72404eSJin 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.",
2362c72404eSJin Yao        "Counter": "0,1,2,3",
2372c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
2382c72404eSJin Yao        "EventCode": "0xC6",
2392c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
2402c72404eSJin Yao        "MSRIndex": "0x3F7",
2412c72404eSJin Yao        "MSRValue": "0x420006",
2422c72404eSJin Yao        "PEBS": "1",
2432c72404eSJin Yao        "SampleAfterValue": "100007",
2442c72404eSJin Yao        "TakenAlone": "1",
2452c72404eSJin Yao        "UMask": "0x1"
2462c72404eSJin Yao    },
2472c72404eSJin Yao    {
2482c72404eSJin 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.",
2492c72404eSJin Yao        "Counter": "0,1,2,3",
2502c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
2512c72404eSJin Yao        "EventCode": "0xC6",
2522c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
2532c72404eSJin Yao        "MSRIndex": "0x3F7",
2542c72404eSJin Yao        "MSRValue": "0x404006",
2552c72404eSJin Yao        "PEBS": "1",
2562c72404eSJin Yao        "SampleAfterValue": "100007",
2572c72404eSJin Yao        "TakenAlone": "1",
2582c72404eSJin Yao        "UMask": "0x1"
2592c72404eSJin Yao    },
2602c72404eSJin Yao    {
2612c72404eSJin 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.",
2622c72404eSJin Yao        "Counter": "0,1,2,3",
2632c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
2642c72404eSJin Yao        "EventCode": "0xC6",
2652c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
2662c72404eSJin Yao        "MSRIndex": "0x3F7",
2672c72404eSJin Yao        "MSRValue": "0x400806",
2682c72404eSJin Yao        "PEBS": "1",
2692c72404eSJin 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.",
2702c72404eSJin Yao        "SampleAfterValue": "100007",
2712c72404eSJin Yao        "TakenAlone": "1",
2722c72404eSJin Yao        "UMask": "0x1"
2732c72404eSJin Yao    },
2742c72404eSJin Yao    {
2752c72404eSJin Yao        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
2762c72404eSJin Yao        "Counter": "0,1,2,3",
2772c72404eSJin Yao        "CounterHTOff": "0,1,2,3",
2782c72404eSJin Yao        "EventCode": "0xC6",
2792c72404eSJin Yao        "EventName": "FRONTEND_RETIRED.STLB_MISS",
2802c72404eSJin Yao        "MSRIndex": "0x3F7",
2812c72404eSJin Yao        "MSRValue": "0x15",
2822c72404eSJin Yao        "PEBS": "1",
2832c72404eSJin Yao        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
2842c72404eSJin Yao        "SampleAfterValue": "100007",
2852c72404eSJin Yao        "TakenAlone": "1",
2862c72404eSJin Yao        "UMask": "0x1"
2872c72404eSJin Yao    },
2882c72404eSJin Yao    {
2892c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
290b5ff7f27SJin Yao        "Counter": "0,1,2,3",
291b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
2922c72404eSJin Yao        "EventCode": "0x80",
2932c72404eSJin Yao        "EventName": "ICACHE_16B.IFDATA_STALL",
2942c72404eSJin 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.",
295b5ff7f27SJin Yao        "SampleAfterValue": "2000003",
2962c72404eSJin Yao        "UMask": "0x4"
2972c72404eSJin Yao    },
2982c72404eSJin Yao    {
2992c72404eSJin Yao        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
3002c72404eSJin Yao        "Counter": "0,1,2,3",
3012c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3022c72404eSJin Yao        "EventCode": "0x83",
3032c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_HIT",
3042c72404eSJin Yao        "SampleAfterValue": "200003",
305b5ff7f27SJin Yao        "UMask": "0x1"
306b5ff7f27SJin Yao    },
307b5ff7f27SJin Yao    {
308b5ff7f27SJin Yao        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
309b5ff7f27SJin Yao        "Counter": "0,1,2,3",
310b5ff7f27SJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
311b5ff7f27SJin Yao        "EventCode": "0x83",
312b5ff7f27SJin Yao        "EventName": "ICACHE_64B.IFTAG_MISS",
313b5ff7f27SJin Yao        "SampleAfterValue": "200003",
314b5ff7f27SJin Yao        "UMask": "0x2"
315b5ff7f27SJin Yao    },
316b5ff7f27SJin Yao    {
3172c72404eSJin Yao        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
318b5ff7f27SJin Yao        "Counter": "0,1,2,3",
3192c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3202c72404eSJin Yao        "EventCode": "0x83",
3212c72404eSJin Yao        "EventName": "ICACHE_64B.IFTAG_STALL",
3222c72404eSJin Yao        "SampleAfterValue": "200003",
3232c72404eSJin Yao        "UMask": "0x4"
3242c72404eSJin Yao    },
3252c72404eSJin Yao    {
3262c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
3272c72404eSJin Yao        "Counter": "0,1,2,3",
3282c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3292c72404eSJin Yao        "CounterMask": "4",
3302c72404eSJin Yao        "EventCode": "0x79",
3312c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
3322c72404eSJin 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.",
3332c72404eSJin Yao        "SampleAfterValue": "2000003",
3342c72404eSJin Yao        "UMask": "0x18"
3352c72404eSJin Yao    },
3362c72404eSJin Yao    {
3372c72404eSJin Yao        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
3382c72404eSJin Yao        "Counter": "0,1,2,3",
3392c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3402c72404eSJin Yao        "CounterMask": "1",
3412c72404eSJin Yao        "EventCode": "0x79",
3422c72404eSJin Yao        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
3432c72404eSJin 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.",
3442c72404eSJin Yao        "SampleAfterValue": "2000003",
3452c72404eSJin Yao        "UMask": "0x18"
3462c72404eSJin Yao    },
3472c72404eSJin Yao    {
3482c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering 4 Uops",
3492c72404eSJin Yao        "Counter": "0,1,2,3",
3502c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3512c72404eSJin Yao        "CounterMask": "4",
3522c72404eSJin Yao        "EventCode": "0x79",
3532c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
3542c72404eSJin 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).",
3552c72404eSJin Yao        "SampleAfterValue": "2000003",
3562c72404eSJin Yao        "UMask": "0x24"
3572c72404eSJin Yao    },
3582c72404eSJin Yao    {
3592c72404eSJin Yao        "BriefDescription": "Cycles MITE is delivering any Uop",
3602c72404eSJin Yao        "Counter": "0,1,2,3",
3612c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3622c72404eSJin Yao        "CounterMask": "1",
3632c72404eSJin Yao        "EventCode": "0x79",
3642c72404eSJin Yao        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
3652c72404eSJin 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).",
3662c72404eSJin Yao        "SampleAfterValue": "2000003",
3672c72404eSJin Yao        "UMask": "0x24"
3682c72404eSJin Yao    },
3692c72404eSJin Yao    {
3702c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
3712c72404eSJin Yao        "Counter": "0,1,2,3",
3722c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3732c72404eSJin Yao        "CounterMask": "1",
3742c72404eSJin Yao        "EventCode": "0x79",
3752c72404eSJin Yao        "EventName": "IDQ.DSB_CYCLES",
3762c72404eSJin 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.",
3772c72404eSJin Yao        "SampleAfterValue": "2000003",
3782c72404eSJin Yao        "UMask": "0x8"
3792c72404eSJin Yao    },
3802c72404eSJin Yao    {
3812c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
3822c72404eSJin Yao        "Counter": "0,1,2,3",
3832c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3842c72404eSJin Yao        "EventCode": "0x79",
3852c72404eSJin Yao        "EventName": "IDQ.DSB_UOPS",
3862c72404eSJin 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.",
3872c72404eSJin Yao        "SampleAfterValue": "2000003",
3882c72404eSJin Yao        "UMask": "0x8"
3892c72404eSJin Yao    },
3902c72404eSJin Yao    {
3912c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
3922c72404eSJin Yao        "Counter": "0,1,2,3",
3932c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
3942c72404eSJin Yao        "CounterMask": "1",
3952c72404eSJin Yao        "EventCode": "0x79",
3962c72404eSJin Yao        "EventName": "IDQ.MITE_CYCLES",
3972c72404eSJin 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.",
3982c72404eSJin Yao        "SampleAfterValue": "2000003",
3992c72404eSJin Yao        "UMask": "0x4"
4002c72404eSJin Yao    },
4012c72404eSJin Yao    {
4022c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
4032c72404eSJin Yao        "Counter": "0,1,2,3",
4042c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4052c72404eSJin Yao        "EventCode": "0x79",
4062c72404eSJin Yao        "EventName": "IDQ.MITE_UOPS",
4072c72404eSJin 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).",
4082c72404eSJin Yao        "SampleAfterValue": "2000003",
4092c72404eSJin Yao        "UMask": "0x4"
4102c72404eSJin Yao    },
4112c72404eSJin Yao    {
4122c72404eSJin Yao        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
4132c72404eSJin Yao        "Counter": "0,1,2,3",
4142c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4152c72404eSJin Yao        "CounterMask": "1",
4162c72404eSJin Yao        "EventCode": "0x79",
4172c72404eSJin Yao        "EventName": "IDQ.MS_CYCLES",
4182c72404eSJin 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.",
4192c72404eSJin Yao        "SampleAfterValue": "2000003",
4202c72404eSJin Yao        "UMask": "0x30"
4212c72404eSJin Yao    },
4222c72404eSJin Yao    {
4232c72404eSJin Yao        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
4242c72404eSJin Yao        "Counter": "0,1,2,3",
4252c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4262c72404eSJin Yao        "CounterMask": "1",
4272c72404eSJin Yao        "EventCode": "0x79",
4282c72404eSJin Yao        "EventName": "IDQ.MS_DSB_CYCLES",
4292c72404eSJin 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.",
4302c72404eSJin Yao        "SampleAfterValue": "2000003",
4312c72404eSJin Yao        "UMask": "0x10"
4322c72404eSJin Yao    },
4332c72404eSJin Yao    {
4342c72404eSJin Yao        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
4352c72404eSJin Yao        "Counter": "0,1,2,3",
4362c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4372c72404eSJin Yao        "EventCode": "0x79",
4382c72404eSJin Yao        "EventName": "IDQ.MS_MITE_UOPS",
4392c72404eSJin 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.",
4402c72404eSJin Yao        "SampleAfterValue": "2000003",
4412c72404eSJin Yao        "UMask": "0x20"
4422c72404eSJin Yao    },
4432c72404eSJin Yao    {
4442c72404eSJin Yao        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
4452c72404eSJin Yao        "Counter": "0,1,2,3",
4462c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4472c72404eSJin Yao        "CounterMask": "1",
4482c72404eSJin Yao        "EdgeDetect": "1",
4492c72404eSJin Yao        "EventCode": "0x79",
4502c72404eSJin Yao        "EventName": "IDQ.MS_SWITCHES",
4512c72404eSJin Yao        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
4522c72404eSJin Yao        "SampleAfterValue": "2000003",
4532c72404eSJin Yao        "UMask": "0x30"
4542c72404eSJin Yao    },
4552c72404eSJin Yao    {
4562c72404eSJin Yao        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
4572c72404eSJin Yao        "Counter": "0,1,2,3",
4582c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4592c72404eSJin Yao        "EventCode": "0x79",
4602c72404eSJin Yao        "EventName": "IDQ.MS_UOPS",
4612c72404eSJin 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.",
4622c72404eSJin Yao        "SampleAfterValue": "2000003",
4632c72404eSJin Yao        "UMask": "0x30"
4642c72404eSJin Yao    },
4652c72404eSJin Yao    {
4662c72404eSJin Yao        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
4672c72404eSJin Yao        "Counter": "0,1,2,3",
4682c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4692c72404eSJin Yao        "EventCode": "0x9C",
4702c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
4712c72404eSJin 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.",
4722c72404eSJin Yao        "SampleAfterValue": "2000003",
4732c72404eSJin Yao        "UMask": "0x1"
4742c72404eSJin Yao    },
4752c72404eSJin Yao    {
4762c72404eSJin 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",
4772c72404eSJin Yao        "Counter": "0,1,2,3",
4782c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4792c72404eSJin Yao        "CounterMask": "4",
4802c72404eSJin Yao        "EventCode": "0x9C",
4812c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
4822c72404eSJin 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.",
4832c72404eSJin Yao        "SampleAfterValue": "2000003",
4842c72404eSJin Yao        "UMask": "0x1"
4852c72404eSJin Yao    },
4862c72404eSJin Yao    {
4872c72404eSJin Yao        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
4882c72404eSJin Yao        "Counter": "0,1,2,3",
4892c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
4902c72404eSJin Yao        "CounterMask": "1",
4912c72404eSJin Yao        "EventCode": "0x9C",
4922c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
4932c72404eSJin Yao        "Invert": "1",
4942c72404eSJin Yao        "SampleAfterValue": "2000003",
4952c72404eSJin Yao        "UMask": "0x1"
4962c72404eSJin Yao    },
4972c72404eSJin Yao    {
4982c72404eSJin 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",
4992c72404eSJin Yao        "Counter": "0,1,2,3",
5002c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
5012c72404eSJin Yao        "CounterMask": "3",
5022c72404eSJin Yao        "EventCode": "0x9C",
5032c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
5042c72404eSJin 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.",
5052c72404eSJin Yao        "SampleAfterValue": "2000003",
5062c72404eSJin Yao        "UMask": "0x1"
5072c72404eSJin Yao    },
5082c72404eSJin Yao    {
5092c72404eSJin Yao        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
5102c72404eSJin Yao        "Counter": "0,1,2,3",
5112c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
5122c72404eSJin Yao        "CounterMask": "2",
5132c72404eSJin Yao        "EventCode": "0x9C",
5142c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
5152c72404eSJin Yao        "PublicDescription": "Cycles with less than 2 uops delivered by the front-end.",
5162c72404eSJin Yao        "SampleAfterValue": "2000003",
5172c72404eSJin Yao        "UMask": "0x1"
5182c72404eSJin Yao    },
5192c72404eSJin Yao    {
5202c72404eSJin Yao        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
5212c72404eSJin Yao        "Counter": "0,1,2,3",
5222c72404eSJin Yao        "CounterHTOff": "0,1,2,3,4,5,6,7",
5232c72404eSJin Yao        "CounterMask": "1",
5242c72404eSJin Yao        "EventCode": "0x9C",
5252c72404eSJin Yao        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
5262c72404eSJin Yao        "PublicDescription": "Cycles with less than 3 uops delivered by the front-end.",
5272c72404eSJin Yao        "SampleAfterValue": "2000003",
528b5ff7f27SJin Yao        "UMask": "0x1"
529630171d4SAndi Kleen    }
530630171d4SAndi Kleen]