xref: /freebsd/lib/libpmc/pmu-events/arch/x86/cascadelakex/frontend.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
192b14858SMatt Macy[
292b14858SMatt Macy    {
352d973f5SAlexander Motin        "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.",
492b14858SMatt Macy        "Counter": "0,1,2,3",
592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
652d973f5SAlexander Motin        "EventCode": "0xE6",
752d973f5SAlexander Motin        "EventName": "BACLEARS.ANY",
852d973f5SAlexander Motin        "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.",
952d973f5SAlexander Motin        "SampleAfterValue": "100003",
1052d973f5SAlexander Motin        "UMask": "0x1"
1152d973f5SAlexander Motin    },
1252d973f5SAlexander Motin    {
1352d973f5SAlexander Motin        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
1452d973f5SAlexander Motin        "Counter": "0,1,2,3",
1552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1652d973f5SAlexander Motin        "EventCode": "0xAB",
1752d973f5SAlexander Motin        "EventName": "DSB2MITE_SWITCHES.COUNT",
1852d973f5SAlexander Motin        "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.",
1992b14858SMatt Macy        "SampleAfterValue": "2000003",
2092b14858SMatt Macy        "UMask": "0x1"
2192b14858SMatt Macy    },
2292b14858SMatt Macy    {
2352d973f5SAlexander Motin        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.",
2452d973f5SAlexander Motin        "Counter": "0,1,2,3",
2552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
2652d973f5SAlexander Motin        "EventCode": "0xAB",
2752d973f5SAlexander Motin        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
2852d973f5SAlexander Motin        "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.",
2952d973f5SAlexander Motin        "SampleAfterValue": "2000003",
3052d973f5SAlexander Motin        "UMask": "0x2"
3152d973f5SAlexander Motin    },
3252d973f5SAlexander Motin    {
33*18054d02SAlexander Motin        "BriefDescription": "Retired Instructions who experienced DSB miss.",
34*18054d02SAlexander Motin        "Counter": "0,1,2,3",
35*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3",
36*18054d02SAlexander Motin        "EventCode": "0xC6",
37*18054d02SAlexander Motin        "EventName": "FRONTEND_RETIRED.ANY_DSB_MISS",
38*18054d02SAlexander Motin        "MSRIndex": "0x3F7",
39*18054d02SAlexander Motin        "MSRValue": "0x1",
40*18054d02SAlexander Motin        "PEBS": "1",
41*18054d02SAlexander Motin        "PublicDescription": "Counts retired Instructions that experienced DSB (Decode stream buffer i.e. the decoded instruction-cache) miss.",
42*18054d02SAlexander Motin        "SampleAfterValue": "100007",
43*18054d02SAlexander Motin        "TakenAlone": "1",
44*18054d02SAlexander Motin        "UMask": "0x1"
45*18054d02SAlexander Motin    },
46*18054d02SAlexander Motin    {
47*18054d02SAlexander Motin        "BriefDescription": "Retired Instructions who experienced a critical DSB miss.",
4852d973f5SAlexander Motin        "Counter": "0,1,2,3",
4952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
5052d973f5SAlexander Motin        "EventCode": "0xC6",
5152d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.DSB_MISS",
5252d973f5SAlexander Motin        "MSRIndex": "0x3F7",
5352d973f5SAlexander Motin        "MSRValue": "0x11",
5452d973f5SAlexander Motin        "PEBS": "1",
55*18054d02SAlexander Motin        "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.",
5652d973f5SAlexander Motin        "SampleAfterValue": "100007",
5752d973f5SAlexander Motin        "TakenAlone": "1",
5852d973f5SAlexander Motin        "UMask": "0x1"
5952d973f5SAlexander Motin    },
6052d973f5SAlexander Motin    {
6152d973f5SAlexander Motin        "BriefDescription": "Retired Instructions who experienced iTLB true miss.",
6252d973f5SAlexander Motin        "Counter": "0,1,2,3",
6352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
6452d973f5SAlexander Motin        "EventCode": "0xC6",
6552d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.ITLB_MISS",
6652d973f5SAlexander Motin        "MSRIndex": "0x3F7",
6752d973f5SAlexander Motin        "MSRValue": "0x14",
6852d973f5SAlexander Motin        "PEBS": "1",
6952d973f5SAlexander Motin        "PublicDescription": "Counts retired Instructions that experienced iTLB (Instruction TLB) true miss.",
7052d973f5SAlexander Motin        "SampleAfterValue": "100007",
7152d973f5SAlexander Motin        "TakenAlone": "1",
7252d973f5SAlexander Motin        "UMask": "0x1"
7352d973f5SAlexander Motin    },
7452d973f5SAlexander Motin    {
7552d973f5SAlexander Motin        "BriefDescription": "Retired Instructions who experienced Instruction L1 Cache true miss.",
7652d973f5SAlexander Motin        "Counter": "0,1,2,3",
7752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
7852d973f5SAlexander Motin        "EventCode": "0xC6",
7952d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.L1I_MISS",
8052d973f5SAlexander Motin        "MSRIndex": "0x3F7",
8152d973f5SAlexander Motin        "MSRValue": "0x12",
8252d973f5SAlexander Motin        "PEBS": "1",
8352d973f5SAlexander Motin        "SampleAfterValue": "100007",
8452d973f5SAlexander Motin        "TakenAlone": "1",
8552d973f5SAlexander Motin        "UMask": "0x1"
8652d973f5SAlexander Motin    },
8752d973f5SAlexander Motin    {
8892b14858SMatt Macy        "BriefDescription": "Retired Instructions who experienced Instruction L2 Cache true miss.",
8992b14858SMatt Macy        "Counter": "0,1,2,3",
9092b14858SMatt Macy        "CounterHTOff": "0,1,2,3",
9192b14858SMatt Macy        "EventCode": "0xC6",
9292b14858SMatt Macy        "EventName": "FRONTEND_RETIRED.L2_MISS",
9392b14858SMatt Macy        "MSRIndex": "0x3F7",
9492b14858SMatt Macy        "MSRValue": "0x13",
9592b14858SMatt Macy        "PEBS": "1",
9692b14858SMatt Macy        "SampleAfterValue": "100007",
9792b14858SMatt Macy        "TakenAlone": "1",
9892b14858SMatt Macy        "UMask": "0x1"
9992b14858SMatt Macy    },
10092b14858SMatt Macy    {
10152d973f5SAlexander Motin        "BriefDescription": "Retired instructions after front-end starvation of at least 1 cycle",
10292b14858SMatt Macy        "Counter": "0,1,2,3",
10352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
10452d973f5SAlexander Motin        "EventCode": "0xc6",
10552d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_1",
10652d973f5SAlexander Motin        "MSRIndex": "0x3F7",
10752d973f5SAlexander Motin        "MSRValue": "0x400106",
10852d973f5SAlexander Motin        "PEBS": "2",
10952d973f5SAlexander Motin        "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.",
11052d973f5SAlexander Motin        "SampleAfterValue": "100007",
11152d973f5SAlexander Motin        "TakenAlone": "1",
11252d973f5SAlexander Motin        "UMask": "0x1"
11352d973f5SAlexander Motin    },
11452d973f5SAlexander Motin    {
11552d973f5SAlexander Motin        "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.",
11652d973f5SAlexander Motin        "Counter": "0,1,2,3",
11752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
11852d973f5SAlexander Motin        "EventCode": "0xC6",
11952d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_128",
12052d973f5SAlexander Motin        "MSRIndex": "0x3F7",
12152d973f5SAlexander Motin        "MSRValue": "0x408006",
12252d973f5SAlexander Motin        "PEBS": "1",
12352d973f5SAlexander Motin        "SampleAfterValue": "100007",
12452d973f5SAlexander Motin        "TakenAlone": "1",
12552d973f5SAlexander Motin        "UMask": "0x1"
12652d973f5SAlexander Motin    },
12752d973f5SAlexander Motin    {
12852d973f5SAlexander Motin        "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.",
12952d973f5SAlexander Motin        "Counter": "0,1,2,3",
13052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
13152d973f5SAlexander Motin        "EventCode": "0xC6",
13252d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_16",
13352d973f5SAlexander Motin        "MSRIndex": "0x3F7",
13452d973f5SAlexander Motin        "MSRValue": "0x401006",
13552d973f5SAlexander Motin        "PEBS": "1",
13652d973f5SAlexander Motin        "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.",
13752d973f5SAlexander Motin        "SampleAfterValue": "100007",
13852d973f5SAlexander Motin        "TakenAlone": "1",
13952d973f5SAlexander Motin        "UMask": "0x1"
14052d973f5SAlexander Motin    },
14152d973f5SAlexander Motin    {
14252d973f5SAlexander Motin        "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.",
14352d973f5SAlexander Motin        "Counter": "0,1,2,3",
14452d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
14552d973f5SAlexander Motin        "EventCode": "0xC6",
14652d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2",
14752d973f5SAlexander Motin        "MSRIndex": "0x3F7",
14852d973f5SAlexander Motin        "MSRValue": "0x400206",
14952d973f5SAlexander Motin        "PEBS": "1",
15052d973f5SAlexander Motin        "SampleAfterValue": "100007",
15152d973f5SAlexander Motin        "TakenAlone": "1",
15252d973f5SAlexander Motin        "UMask": "0x1"
15352d973f5SAlexander Motin    },
15452d973f5SAlexander Motin    {
15552d973f5SAlexander Motin        "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.",
15652d973f5SAlexander Motin        "Counter": "0,1,2,3",
15752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
15852d973f5SAlexander Motin        "EventCode": "0xC6",
15952d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_256",
16052d973f5SAlexander Motin        "MSRIndex": "0x3F7",
16152d973f5SAlexander Motin        "MSRValue": "0x410006",
16252d973f5SAlexander Motin        "PEBS": "1",
16352d973f5SAlexander Motin        "SampleAfterValue": "100007",
16452d973f5SAlexander Motin        "TakenAlone": "1",
16552d973f5SAlexander Motin        "UMask": "0x1"
16652d973f5SAlexander Motin    },
16752d973f5SAlexander Motin    {
16852d973f5SAlexander Motin        "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.",
16952d973f5SAlexander Motin        "Counter": "0,1,2,3",
17052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
17152d973f5SAlexander Motin        "EventCode": "0xC6",
17252d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_1",
17352d973f5SAlexander Motin        "MSRIndex": "0x3F7",
17452d973f5SAlexander Motin        "MSRValue": "0x100206",
17552d973f5SAlexander Motin        "PEBS": "1",
17652d973f5SAlexander Motin        "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.",
17752d973f5SAlexander Motin        "SampleAfterValue": "100007",
17852d973f5SAlexander Motin        "TakenAlone": "1",
17952d973f5SAlexander Motin        "UMask": "0x1"
18092b14858SMatt Macy    },
18192b14858SMatt Macy    {
18292b14858SMatt Macy        "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.",
18392b14858SMatt Macy        "Counter": "0,1,2,3",
18492b14858SMatt Macy        "CounterHTOff": "0,1,2,3",
18592b14858SMatt Macy        "EventCode": "0xC6",
18692b14858SMatt Macy        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_2",
18792b14858SMatt Macy        "MSRIndex": "0x3F7",
18892b14858SMatt Macy        "MSRValue": "0x200206",
18992b14858SMatt Macy        "PEBS": "1",
19092b14858SMatt Macy        "SampleAfterValue": "100007",
19192b14858SMatt Macy        "TakenAlone": "1",
19292b14858SMatt Macy        "UMask": "0x1"
19392b14858SMatt Macy    },
19492b14858SMatt Macy    {
19592b14858SMatt Macy        "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.",
19692b14858SMatt Macy        "Counter": "0,1,2,3",
19792b14858SMatt Macy        "CounterHTOff": "0,1,2,3",
19892b14858SMatt Macy        "EventCode": "0xC6",
19992b14858SMatt Macy        "EventName": "FRONTEND_RETIRED.LATENCY_GE_2_BUBBLES_GE_3",
20092b14858SMatt Macy        "MSRIndex": "0x3F7",
20192b14858SMatt Macy        "MSRValue": "0x300206",
20292b14858SMatt Macy        "PEBS": "1",
20392b14858SMatt Macy        "SampleAfterValue": "100007",
20492b14858SMatt Macy        "TakenAlone": "1",
20592b14858SMatt Macy        "UMask": "0x1"
20692b14858SMatt Macy    },
20792b14858SMatt Macy    {
20852d973f5SAlexander Motin        "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.",
20992b14858SMatt Macy        "Counter": "0,1,2,3",
21092b14858SMatt Macy        "CounterHTOff": "0,1,2,3",
21192b14858SMatt Macy        "EventCode": "0xC6",
21252d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_32",
21392b14858SMatt Macy        "MSRIndex": "0x3F7",
21452d973f5SAlexander Motin        "MSRValue": "0x402006",
21592b14858SMatt Macy        "PEBS": "1",
21652d973f5SAlexander Motin        "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.",
21792b14858SMatt Macy        "SampleAfterValue": "100007",
21892b14858SMatt Macy        "TakenAlone": "1",
21992b14858SMatt Macy        "UMask": "0x1"
22092b14858SMatt Macy    },
22192b14858SMatt Macy    {
22252d973f5SAlexander Motin        "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.",
22392b14858SMatt Macy        "Counter": "0,1,2,3",
22452d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
22552d973f5SAlexander Motin        "EventCode": "0xC6",
22652d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_4",
22752d973f5SAlexander Motin        "MSRIndex": "0x3F7",
22852d973f5SAlexander Motin        "MSRValue": "0x400406",
22952d973f5SAlexander Motin        "PEBS": "1",
23052d973f5SAlexander Motin        "SampleAfterValue": "100007",
23152d973f5SAlexander Motin        "TakenAlone": "1",
23292b14858SMatt Macy        "UMask": "0x1"
23392b14858SMatt Macy    },
23492b14858SMatt Macy    {
23552d973f5SAlexander Motin        "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.",
23652d973f5SAlexander Motin        "Counter": "0,1,2,3",
23752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
23852d973f5SAlexander Motin        "EventCode": "0xC6",
23952d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_512",
24052d973f5SAlexander Motin        "MSRIndex": "0x3F7",
24152d973f5SAlexander Motin        "MSRValue": "0x420006",
24252d973f5SAlexander Motin        "PEBS": "1",
24352d973f5SAlexander Motin        "SampleAfterValue": "100007",
24452d973f5SAlexander Motin        "TakenAlone": "1",
24552d973f5SAlexander Motin        "UMask": "0x1"
24652d973f5SAlexander Motin    },
24752d973f5SAlexander Motin    {
24852d973f5SAlexander Motin        "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.",
24952d973f5SAlexander Motin        "Counter": "0,1,2,3",
25052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
25152d973f5SAlexander Motin        "EventCode": "0xC6",
25252d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_64",
25352d973f5SAlexander Motin        "MSRIndex": "0x3F7",
25452d973f5SAlexander Motin        "MSRValue": "0x404006",
25552d973f5SAlexander Motin        "PEBS": "1",
25652d973f5SAlexander Motin        "SampleAfterValue": "100007",
25752d973f5SAlexander Motin        "TakenAlone": "1",
25852d973f5SAlexander Motin        "UMask": "0x1"
25952d973f5SAlexander Motin    },
26052d973f5SAlexander Motin    {
26152d973f5SAlexander Motin        "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.",
26252d973f5SAlexander Motin        "Counter": "0,1,2,3",
26352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
26452d973f5SAlexander Motin        "EventCode": "0xC6",
26552d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.LATENCY_GE_8",
26652d973f5SAlexander Motin        "MSRIndex": "0x3F7",
26752d973f5SAlexander Motin        "MSRValue": "0x400806",
26852d973f5SAlexander Motin        "PEBS": "1",
26952d973f5SAlexander Motin        "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.",
27052d973f5SAlexander Motin        "SampleAfterValue": "100007",
27152d973f5SAlexander Motin        "TakenAlone": "1",
27252d973f5SAlexander Motin        "UMask": "0x1"
27352d973f5SAlexander Motin    },
27452d973f5SAlexander Motin    {
27552d973f5SAlexander Motin        "BriefDescription": "Retired Instructions who experienced STLB (2nd level TLB) true miss.",
27652d973f5SAlexander Motin        "Counter": "0,1,2,3",
27752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
27852d973f5SAlexander Motin        "EventCode": "0xC6",
27952d973f5SAlexander Motin        "EventName": "FRONTEND_RETIRED.STLB_MISS",
28052d973f5SAlexander Motin        "MSRIndex": "0x3F7",
28152d973f5SAlexander Motin        "MSRValue": "0x15",
28252d973f5SAlexander Motin        "PEBS": "1",
28352d973f5SAlexander Motin        "PublicDescription": "Counts retired Instructions that experienced STLB (2nd level TLB) true miss.",
28452d973f5SAlexander Motin        "SampleAfterValue": "100007",
28552d973f5SAlexander Motin        "TakenAlone": "1",
28652d973f5SAlexander Motin        "UMask": "0x1"
28752d973f5SAlexander Motin    },
28852d973f5SAlexander Motin    {
28952d973f5SAlexander Motin        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache miss.",
29092b14858SMatt Macy        "Counter": "0,1,2,3",
29192b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
29252d973f5SAlexander Motin        "EventCode": "0x80",
29352d973f5SAlexander Motin        "EventName": "ICACHE_16B.IFDATA_STALL",
29452d973f5SAlexander Motin        "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.",
29552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
29652d973f5SAlexander Motin        "UMask": "0x4"
29752d973f5SAlexander Motin    },
29852d973f5SAlexander Motin    {
29952d973f5SAlexander Motin        "BriefDescription": "Instruction fetch tag lookups that hit in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
30052d973f5SAlexander Motin        "Counter": "0,1,2,3",
30152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
30252d973f5SAlexander Motin        "EventCode": "0x83",
30352d973f5SAlexander Motin        "EventName": "ICACHE_64B.IFTAG_HIT",
30452d973f5SAlexander Motin        "SampleAfterValue": "200003",
30552d973f5SAlexander Motin        "UMask": "0x1"
30652d973f5SAlexander Motin    },
30752d973f5SAlexander Motin    {
30852d973f5SAlexander Motin        "BriefDescription": "Instruction fetch tag lookups that miss in the instruction cache (L1I). Counts at 64-byte cache-line granularity.",
30952d973f5SAlexander Motin        "Counter": "0,1,2,3",
31052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
31152d973f5SAlexander Motin        "EventCode": "0x83",
31252d973f5SAlexander Motin        "EventName": "ICACHE_64B.IFTAG_MISS",
31352d973f5SAlexander Motin        "SampleAfterValue": "200003",
31452d973f5SAlexander Motin        "UMask": "0x2"
31552d973f5SAlexander Motin    },
31652d973f5SAlexander Motin    {
31752d973f5SAlexander Motin        "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction cache tag miss.",
31852d973f5SAlexander Motin        "Counter": "0,1,2,3",
31952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
32052d973f5SAlexander Motin        "EventCode": "0x83",
32152d973f5SAlexander Motin        "EventName": "ICACHE_64B.IFTAG_STALL",
32252d973f5SAlexander Motin        "SampleAfterValue": "200003",
32352d973f5SAlexander Motin        "UMask": "0x4"
32452d973f5SAlexander Motin    },
32552d973f5SAlexander Motin    {
32652d973f5SAlexander Motin        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
32752d973f5SAlexander Motin        "Counter": "0,1,2,3",
32852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
32952d973f5SAlexander Motin        "CounterMask": "4",
33092b14858SMatt Macy        "EventCode": "0x79",
33152d973f5SAlexander Motin        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
33252d973f5SAlexander Motin        "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.",
33392b14858SMatt Macy        "SampleAfterValue": "2000003",
33452d973f5SAlexander Motin        "UMask": "0x18"
33592b14858SMatt Macy    },
33692b14858SMatt Macy    {
33752d973f5SAlexander Motin        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
33892b14858SMatt Macy        "Counter": "0,1,2,3",
33992b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
34092b14858SMatt Macy        "CounterMask": "1",
34152d973f5SAlexander Motin        "EventCode": "0x79",
34252d973f5SAlexander Motin        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
34352d973f5SAlexander Motin        "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.",
34492b14858SMatt Macy        "SampleAfterValue": "2000003",
34552d973f5SAlexander Motin        "UMask": "0x18"
34652d973f5SAlexander Motin    },
34752d973f5SAlexander Motin    {
34852d973f5SAlexander Motin        "BriefDescription": "Cycles MITE is delivering 4 Uops",
34952d973f5SAlexander Motin        "Counter": "0,1,2,3",
35052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
35152d973f5SAlexander Motin        "CounterMask": "4",
35252d973f5SAlexander Motin        "EventCode": "0x79",
35352d973f5SAlexander Motin        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
35452d973f5SAlexander Motin        "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).",
35552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
35652d973f5SAlexander Motin        "UMask": "0x24"
35752d973f5SAlexander Motin    },
35852d973f5SAlexander Motin    {
35952d973f5SAlexander Motin        "BriefDescription": "Cycles MITE is delivering any Uop",
36052d973f5SAlexander Motin        "Counter": "0,1,2,3",
36152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
36252d973f5SAlexander Motin        "CounterMask": "1",
36352d973f5SAlexander Motin        "EventCode": "0x79",
36452d973f5SAlexander Motin        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
36552d973f5SAlexander Motin        "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).",
36652d973f5SAlexander Motin        "SampleAfterValue": "2000003",
36752d973f5SAlexander Motin        "UMask": "0x24"
36892b14858SMatt Macy    },
36992b14858SMatt Macy    {
37092b14858SMatt Macy        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
37192b14858SMatt Macy        "Counter": "0,1,2,3",
37292b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
37392b14858SMatt Macy        "CounterMask": "1",
37492b14858SMatt Macy        "EventCode": "0x79",
37592b14858SMatt Macy        "EventName": "IDQ.DSB_CYCLES",
37692b14858SMatt Macy        "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.",
37792b14858SMatt Macy        "SampleAfterValue": "2000003",
37892b14858SMatt Macy        "UMask": "0x8"
37992b14858SMatt Macy    },
38092b14858SMatt Macy    {
38152d973f5SAlexander Motin        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
38292b14858SMatt Macy        "Counter": "0,1,2,3",
38352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
38452d973f5SAlexander Motin        "EventCode": "0x79",
38552d973f5SAlexander Motin        "EventName": "IDQ.DSB_UOPS",
38652d973f5SAlexander Motin        "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.",
38752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
38852d973f5SAlexander Motin        "UMask": "0x8"
38952d973f5SAlexander Motin    },
39052d973f5SAlexander Motin    {
39152d973f5SAlexander Motin        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
39252d973f5SAlexander Motin        "Counter": "0,1,2,3",
39352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
39452d973f5SAlexander Motin        "CounterMask": "1",
39552d973f5SAlexander Motin        "EventCode": "0x79",
39652d973f5SAlexander Motin        "EventName": "IDQ.MITE_CYCLES",
39752d973f5SAlexander Motin        "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.",
39852d973f5SAlexander Motin        "SampleAfterValue": "2000003",
39952d973f5SAlexander Motin        "UMask": "0x4"
40092b14858SMatt Macy    },
40192b14858SMatt Macy    {
40292b14858SMatt Macy        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
40392b14858SMatt Macy        "Counter": "0,1,2,3",
40492b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
40592b14858SMatt Macy        "EventCode": "0x79",
40692b14858SMatt Macy        "EventName": "IDQ.MITE_UOPS",
40792b14858SMatt Macy        "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).",
40892b14858SMatt Macy        "SampleAfterValue": "2000003",
40992b14858SMatt Macy        "UMask": "0x4"
41092b14858SMatt Macy    },
41192b14858SMatt Macy    {
41292b14858SMatt Macy        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
41392b14858SMatt Macy        "Counter": "0,1,2,3",
41492b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
41592b14858SMatt Macy        "CounterMask": "1",
41692b14858SMatt Macy        "EventCode": "0x79",
41792b14858SMatt Macy        "EventName": "IDQ.MS_CYCLES",
41892b14858SMatt Macy        "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.",
41992b14858SMatt Macy        "SampleAfterValue": "2000003",
42092b14858SMatt Macy        "UMask": "0x30"
42192b14858SMatt Macy    },
42292b14858SMatt Macy    {
42392b14858SMatt Macy        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
42492b14858SMatt Macy        "Counter": "0,1,2,3",
42592b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
42692b14858SMatt Macy        "CounterMask": "1",
42792b14858SMatt Macy        "EventCode": "0x79",
42892b14858SMatt Macy        "EventName": "IDQ.MS_DSB_CYCLES",
42992b14858SMatt Macy        "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.",
43092b14858SMatt Macy        "SampleAfterValue": "2000003",
43192b14858SMatt Macy        "UMask": "0x10"
43292b14858SMatt Macy    },
43392b14858SMatt Macy    {
43452d973f5SAlexander Motin        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
43592b14858SMatt Macy        "Counter": "0,1,2,3",
43692b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
43792b14858SMatt Macy        "EventCode": "0x79",
43852d973f5SAlexander Motin        "EventName": "IDQ.MS_MITE_UOPS",
43952d973f5SAlexander Motin        "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.",
44092b14858SMatt Macy        "SampleAfterValue": "2000003",
44152d973f5SAlexander Motin        "UMask": "0x20"
44292b14858SMatt Macy    },
44392b14858SMatt Macy    {
44492b14858SMatt Macy        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
44592b14858SMatt Macy        "Counter": "0,1,2,3",
44692b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
44792b14858SMatt Macy        "CounterMask": "1",
44892b14858SMatt Macy        "EdgeDetect": "1",
44992b14858SMatt Macy        "EventCode": "0x79",
45092b14858SMatt Macy        "EventName": "IDQ.MS_SWITCHES",
45192b14858SMatt Macy        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
45292b14858SMatt Macy        "SampleAfterValue": "2000003",
45392b14858SMatt Macy        "UMask": "0x30"
45492b14858SMatt Macy    },
45592b14858SMatt Macy    {
45652d973f5SAlexander Motin        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
45792b14858SMatt Macy        "Counter": "0,1,2,3",
45852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
45952d973f5SAlexander Motin        "EventCode": "0x79",
46052d973f5SAlexander Motin        "EventName": "IDQ.MS_UOPS",
46152d973f5SAlexander Motin        "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.",
46252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
46352d973f5SAlexander Motin        "UMask": "0x30"
46452d973f5SAlexander Motin    },
46552d973f5SAlexander Motin    {
46652d973f5SAlexander Motin        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
46752d973f5SAlexander Motin        "Counter": "0,1,2,3",
46852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
46952d973f5SAlexander Motin        "EventCode": "0x9C",
47052d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
47152d973f5SAlexander Motin        "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.",
47252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
47392b14858SMatt Macy        "UMask": "0x1"
47492b14858SMatt Macy    },
47592b14858SMatt Macy    {
47652d973f5SAlexander Motin        "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",
47752d973f5SAlexander Motin        "Counter": "0,1,2,3",
47852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
47952d973f5SAlexander Motin        "CounterMask": "4",
48052d973f5SAlexander Motin        "EventCode": "0x9C",
48152d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
48252d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles when no uops are delivered to Resource Allocation Table (RAT). IDQ_Uops_Not_Delivered.core =4.",
48352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
48452d973f5SAlexander Motin        "UMask": "0x1"
48552d973f5SAlexander Motin    },
48652d973f5SAlexander Motin    {
48752d973f5SAlexander Motin        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
48892b14858SMatt Macy        "Counter": "0,1,2,3",
48992b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
49092b14858SMatt Macy        "CounterMask": "1",
49152d973f5SAlexander Motin        "EventCode": "0x9C",
49252d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
49352d973f5SAlexander Motin        "Invert": "1",
49492b14858SMatt Macy        "SampleAfterValue": "2000003",
49592b14858SMatt Macy        "UMask": "0x1"
49692b14858SMatt Macy    },
49792b14858SMatt Macy    {
49852d973f5SAlexander Motin        "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",
49992b14858SMatt Macy        "Counter": "0,1,2,3",
50092b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
50152d973f5SAlexander Motin        "CounterMask": "3",
50252d973f5SAlexander Motin        "EventCode": "0x9C",
50352d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
50452d973f5SAlexander Motin        "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.",
50592b14858SMatt Macy        "SampleAfterValue": "2000003",
50652d973f5SAlexander Motin        "UMask": "0x1"
50792b14858SMatt Macy    },
50892b14858SMatt Macy    {
50952d973f5SAlexander Motin        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
51092b14858SMatt Macy        "Counter": "0,1,2,3",
51192b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
51252d973f5SAlexander Motin        "CounterMask": "2",
51352d973f5SAlexander Motin        "EventCode": "0x9C",
51452d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
51552d973f5SAlexander Motin        "PublicDescription": "Cycles with less than 2 uops delivered by the front-end.",
51692b14858SMatt Macy        "SampleAfterValue": "2000003",
51752d973f5SAlexander Motin        "UMask": "0x1"
51892b14858SMatt Macy    },
51992b14858SMatt Macy    {
52052d973f5SAlexander Motin        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
52192b14858SMatt Macy        "Counter": "0,1,2,3",
52292b14858SMatt Macy        "CounterHTOff": "0,1,2,3,4,5,6,7",
52352d973f5SAlexander Motin        "CounterMask": "1",
52452d973f5SAlexander Motin        "EventCode": "0x9C",
52552d973f5SAlexander Motin        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
52652d973f5SAlexander Motin        "PublicDescription": "Cycles with less than 3 uops delivered by the front-end.",
52752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
52852d973f5SAlexander Motin        "UMask": "0x1"
52992b14858SMatt Macy    }
53092b14858SMatt Macy]