xref: /freebsd/lib/libpmc/pmu-events/arch/x86/skylakex/pipeline.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
1959826caSMatt Macy[
2959826caSMatt Macy    {
352d973f5SAlexander Motin        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
452d973f5SAlexander Motin        "Counter": "0,1,2,3",
552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
652d973f5SAlexander Motin        "CounterMask": "1",
752d973f5SAlexander Motin        "EventCode": "0x14",
852d973f5SAlexander Motin        "EventName": "ARITH.DIVIDER_ACTIVE",
9959826caSMatt Macy        "SampleAfterValue": "2000003",
1052d973f5SAlexander Motin        "UMask": "0x1"
11959826caSMatt Macy    },
12959826caSMatt Macy    {
1352d973f5SAlexander Motin        "BriefDescription": "All (macro) branch instructions retired.",
1452d973f5SAlexander Motin        "Counter": "0,1,2,3",
1552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
1652d973f5SAlexander Motin        "Errata": "SKL091",
1752d973f5SAlexander Motin        "EventCode": "0xC4",
1852d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
1952d973f5SAlexander Motin        "PublicDescription": "Counts all (macro) branch instructions retired.",
2052d973f5SAlexander Motin        "SampleAfterValue": "400009"
21959826caSMatt Macy    },
22959826caSMatt Macy    {
2352d973f5SAlexander Motin        "BriefDescription": "All (macro) branch instructions retired.",
2452d973f5SAlexander Motin        "Counter": "0,1,2,3",
2552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
2652d973f5SAlexander Motin        "Errata": "SKL091",
2752d973f5SAlexander Motin        "EventCode": "0xC4",
2852d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS",
2952d973f5SAlexander Motin        "PEBS": "2",
3052d973f5SAlexander Motin        "PublicDescription": "This is a precise version of BR_INST_RETIRED.ALL_BRANCHES that counts all (macro) branch instructions retired.",
3152d973f5SAlexander Motin        "SampleAfterValue": "400009",
3252d973f5SAlexander Motin        "UMask": "0x4"
3352d973f5SAlexander Motin    },
3452d973f5SAlexander Motin    {
3552d973f5SAlexander Motin        "BriefDescription": "Conditional branch instructions retired.",
3652d973f5SAlexander Motin        "Counter": "0,1,2,3",
3752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
3852d973f5SAlexander Motin        "Errata": "SKL091",
3952d973f5SAlexander Motin        "EventCode": "0xC4",
4052d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.CONDITIONAL",
4152d973f5SAlexander Motin        "PEBS": "1",
4252d973f5SAlexander Motin        "PublicDescription": "This event counts conditional branch instructions retired.",
4352d973f5SAlexander Motin        "SampleAfterValue": "400009",
4452d973f5SAlexander Motin        "UMask": "0x1"
4552d973f5SAlexander Motin    },
4652d973f5SAlexander Motin    {
4752d973f5SAlexander Motin        "BriefDescription": "Not taken branch instructions retired.",
4852d973f5SAlexander Motin        "Counter": "0,1,2,3",
4952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
5052d973f5SAlexander Motin        "Errata": "SKL091",
5152d973f5SAlexander Motin        "EventCode": "0xc4",
5252d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
5352d973f5SAlexander Motin        "PublicDescription": "This event counts not taken branch instructions retired.",
5452d973f5SAlexander Motin        "SampleAfterValue": "400009",
5552d973f5SAlexander Motin        "UMask": "0x10"
5652d973f5SAlexander Motin    },
5752d973f5SAlexander Motin    {
5852d973f5SAlexander Motin        "BriefDescription": "Far branch instructions retired.",
5952d973f5SAlexander Motin        "Counter": "0,1,2,3",
6052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
6152d973f5SAlexander Motin        "Errata": "SKL091",
6252d973f5SAlexander Motin        "EventCode": "0xC4",
6352d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
6452d973f5SAlexander Motin        "PEBS": "1",
6552d973f5SAlexander Motin        "PublicDescription": "This event counts far branch instructions retired.",
6652d973f5SAlexander Motin        "SampleAfterValue": "100007",
6752d973f5SAlexander Motin        "UMask": "0x40"
6852d973f5SAlexander Motin    },
6952d973f5SAlexander Motin    {
7052d973f5SAlexander Motin        "BriefDescription": "Direct and indirect near call instructions retired.",
7152d973f5SAlexander Motin        "Counter": "0,1,2,3",
7252d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
7352d973f5SAlexander Motin        "Errata": "SKL091",
7452d973f5SAlexander Motin        "EventCode": "0xC4",
7552d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_CALL",
7652d973f5SAlexander Motin        "PEBS": "1",
7752d973f5SAlexander Motin        "PublicDescription": "This event counts both direct and indirect near call instructions retired.",
7852d973f5SAlexander Motin        "SampleAfterValue": "100007",
7952d973f5SAlexander Motin        "UMask": "0x2"
8052d973f5SAlexander Motin    },
8152d973f5SAlexander Motin    {
8252d973f5SAlexander Motin        "BriefDescription": "Return instructions retired.",
8352d973f5SAlexander Motin        "Counter": "0,1,2,3",
8452d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
8552d973f5SAlexander Motin        "Errata": "SKL091",
8652d973f5SAlexander Motin        "EventCode": "0xC4",
8752d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
8852d973f5SAlexander Motin        "PEBS": "1",
8952d973f5SAlexander Motin        "PublicDescription": "This event counts return instructions retired.",
9052d973f5SAlexander Motin        "SampleAfterValue": "100007",
9152d973f5SAlexander Motin        "UMask": "0x8"
9252d973f5SAlexander Motin    },
9352d973f5SAlexander Motin    {
9452d973f5SAlexander Motin        "BriefDescription": "Taken branch instructions retired.",
9552d973f5SAlexander Motin        "Counter": "0,1,2,3",
9652d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
9752d973f5SAlexander Motin        "Errata": "SKL091",
9852d973f5SAlexander Motin        "EventCode": "0xC4",
9952d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
10052d973f5SAlexander Motin        "PEBS": "1",
10152d973f5SAlexander Motin        "PublicDescription": "This event counts taken branch instructions retired.",
10252d973f5SAlexander Motin        "SampleAfterValue": "400009",
10352d973f5SAlexander Motin        "UMask": "0x20"
10452d973f5SAlexander Motin    },
10552d973f5SAlexander Motin    {
10652d973f5SAlexander Motin        "BriefDescription": "Not taken branch instructions retired.",
10752d973f5SAlexander Motin        "Counter": "0,1,2,3",
10852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
10952d973f5SAlexander Motin        "Errata": "SKL091",
11052d973f5SAlexander Motin        "EventCode": "0xC4",
11152d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.NOT_TAKEN",
11252d973f5SAlexander Motin        "PublicDescription": "This event counts not taken branch instructions retired.",
11352d973f5SAlexander Motin        "SampleAfterValue": "400009",
11452d973f5SAlexander Motin        "UMask": "0x10"
11552d973f5SAlexander Motin    },
11652d973f5SAlexander Motin    {
11752d973f5SAlexander Motin        "BriefDescription": "All mispredicted macro branch instructions retired.",
11852d973f5SAlexander Motin        "Counter": "0,1,2,3",
11952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
12052d973f5SAlexander Motin        "EventCode": "0xC5",
12152d973f5SAlexander Motin        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
12252d973f5SAlexander Motin        "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch.  When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.",
12352d973f5SAlexander Motin        "SampleAfterValue": "400009"
12452d973f5SAlexander Motin    },
12552d973f5SAlexander Motin    {
12652d973f5SAlexander Motin        "BriefDescription": "Mispredicted macro branch instructions retired.",
12752d973f5SAlexander Motin        "Counter": "0,1,2,3",
12852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
12952d973f5SAlexander Motin        "EventCode": "0xC5",
13052d973f5SAlexander Motin        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS",
13152d973f5SAlexander Motin        "PEBS": "2",
13252d973f5SAlexander Motin        "PublicDescription": "This is a precise version of BR_MISP_RETIRED.ALL_BRANCHES that counts all mispredicted macro branch instructions retired.",
13352d973f5SAlexander Motin        "SampleAfterValue": "400009",
13452d973f5SAlexander Motin        "UMask": "0x4"
13552d973f5SAlexander Motin    },
13652d973f5SAlexander Motin    {
13752d973f5SAlexander Motin        "BriefDescription": "Mispredicted conditional branch instructions retired.",
13852d973f5SAlexander Motin        "Counter": "0,1,2,3",
13952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
14052d973f5SAlexander Motin        "EventCode": "0xC5",
14152d973f5SAlexander Motin        "EventName": "BR_MISP_RETIRED.CONDITIONAL",
14252d973f5SAlexander Motin        "PEBS": "1",
14352d973f5SAlexander Motin        "PublicDescription": "This event counts mispredicted conditional branch instructions retired.",
14452d973f5SAlexander Motin        "SampleAfterValue": "400009",
14552d973f5SAlexander Motin        "UMask": "0x1"
14652d973f5SAlexander Motin    },
14752d973f5SAlexander Motin    {
14852d973f5SAlexander Motin        "BriefDescription": "Mispredicted direct and indirect near call instructions retired.",
14952d973f5SAlexander Motin        "Counter": "0,1,2,3",
15052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
15152d973f5SAlexander Motin        "EventCode": "0xC5",
15252d973f5SAlexander Motin        "EventName": "BR_MISP_RETIRED.NEAR_CALL",
15352d973f5SAlexander Motin        "PEBS": "1",
15452d973f5SAlexander Motin        "PublicDescription": "Counts both taken and not taken retired mispredicted direct and indirect near calls, including both register and memory indirect.",
15552d973f5SAlexander Motin        "SampleAfterValue": "400009",
15652d973f5SAlexander Motin        "UMask": "0x2"
15752d973f5SAlexander Motin    },
15852d973f5SAlexander Motin    {
15952d973f5SAlexander Motin        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
16052d973f5SAlexander Motin        "Counter": "0,1,2,3",
16152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
16252d973f5SAlexander Motin        "EventCode": "0xC5",
16352d973f5SAlexander Motin        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
16452d973f5SAlexander Motin        "PEBS": "1",
16552d973f5SAlexander Motin        "SampleAfterValue": "400009",
16652d973f5SAlexander Motin        "UMask": "0x20"
16752d973f5SAlexander Motin    },
16852d973f5SAlexander Motin    {
16952d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
17052d973f5SAlexander Motin        "Counter": "0,1,2,3",
17152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
17252d973f5SAlexander Motin        "EventCode": "0x3C",
17352d973f5SAlexander Motin        "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE",
17452d973f5SAlexander Motin        "SampleAfterValue": "25003",
17552d973f5SAlexander Motin        "UMask": "0x2"
17652d973f5SAlexander Motin    },
17752d973f5SAlexander Motin    {
17852d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
17952d973f5SAlexander Motin        "Counter": "0,1,2,3",
18052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
18152d973f5SAlexander Motin        "EventCode": "0x3C",
18252d973f5SAlexander Motin        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK",
18352d973f5SAlexander Motin        "SampleAfterValue": "25003",
18452d973f5SAlexander Motin        "UMask": "0x1"
18552d973f5SAlexander Motin    },
18652d973f5SAlexander Motin    {
187959826caSMatt Macy        "AnyThread": "1",
18852d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.",
18952d973f5SAlexander Motin        "Counter": "0,1,2,3",
19052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
19152d973f5SAlexander Motin        "EventCode": "0x3C",
19252d973f5SAlexander Motin        "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY",
19352d973f5SAlexander Motin        "SampleAfterValue": "25003",
19452d973f5SAlexander Motin        "UMask": "0x1"
195959826caSMatt Macy    },
196959826caSMatt Macy    {
19752d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
19852d973f5SAlexander Motin        "Counter": "0,1,2,3",
19952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
20052d973f5SAlexander Motin        "EventCode": "0x3C",
20152d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
20252d973f5SAlexander Motin        "SampleAfterValue": "25003",
20352d973f5SAlexander Motin        "UMask": "0x2"
20452d973f5SAlexander Motin    },
20552d973f5SAlexander Motin    {
206959826caSMatt Macy        "BriefDescription": "Reference cycles when the core is not in halt state.",
207959826caSMatt Macy        "Counter": "Fixed counter 2",
20852d973f5SAlexander Motin        "CounterHTOff": "Fixed counter 2",
209959826caSMatt Macy        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
210959826caSMatt Macy        "PublicDescription": "Counts the number of reference cycles when the core is not in a halt state. The core enters the halt state when it is running the HLT instruction or the MWAIT instruction. This event is not affected by core frequency changes (for example, P states, TM2 transitions) but has the same incrementing frequency as the time stamp counter. This event can approximate elapsed time while the core was not in a halt state. This event has a constant ratio with the CPU_CLK_UNHALTED.REF_XCLK event. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. Note: On all current platforms this event stops counting during 'throttling (TM)' states duty off periods the processor is 'halted'.  The counter update is done at a lower clock rate then the core clock the overflow status bit for this counter may appear 'sticky'.  After the counter has overflowed and software clears the overflow status bit and resets the counter to less than MAX. The reset value to the counter is not clocked immediately so the overflow status bit will flip 'high (1)' and generate another PMI (if enabled) after which the reset value gets clocked into the counter. Therefore, software will get the interrupt, read the overflow status bit '1 for bit 34 while the counter value is less than MAX. Software should ignore this case.",
211959826caSMatt Macy        "SampleAfterValue": "2000003",
21252d973f5SAlexander Motin        "UMask": "0x3"
213959826caSMatt Macy    },
214959826caSMatt Macy    {
21552d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
216959826caSMatt Macy        "Counter": "0,1,2,3",
21752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
21852d973f5SAlexander Motin        "EventCode": "0x3C",
21952d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
22052d973f5SAlexander Motin        "SampleAfterValue": "25003",
22152d973f5SAlexander Motin        "UMask": "0x1"
222959826caSMatt Macy    },
223959826caSMatt Macy    {
224959826caSMatt Macy        "AnyThread": "1",
22552d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when at least one thread on the physical core is unhalted.",
226959826caSMatt Macy        "Counter": "0,1,2,3",
22752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
228959826caSMatt Macy        "EventCode": "0x3C",
22952d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY",
23052d973f5SAlexander Motin        "SampleAfterValue": "25003",
23152d973f5SAlexander Motin        "UMask": "0x1"
232959826caSMatt Macy    },
233959826caSMatt Macy    {
234959826caSMatt Macy        "BriefDescription": "Counts when there is a transition from ring 1, 2 or 3 to ring 0.",
235959826caSMatt Macy        "Counter": "0,1,2,3",
23652d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
237959826caSMatt Macy        "CounterMask": "1",
238959826caSMatt Macy        "EdgeDetect": "1",
23952d973f5SAlexander Motin        "EventCode": "0x3C",
24052d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.RING0_TRANS",
24152d973f5SAlexander Motin        "PublicDescription": "Counts when the Current Privilege Level (CPL) transitions from ring 1, 2 or 3 to ring 0 (Kernel).",
24252d973f5SAlexander Motin        "SampleAfterValue": "100007"
243959826caSMatt Macy    },
244959826caSMatt Macy    {
24552d973f5SAlexander Motin        "BriefDescription": "Core cycles when the thread is not in halt state",
24652d973f5SAlexander Motin        "Counter": "Fixed counter 1",
24752d973f5SAlexander Motin        "CounterHTOff": "Fixed counter 1",
24852d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD",
24952d973f5SAlexander Motin        "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events.",
25092b14858SMatt Macy        "SampleAfterValue": "2000003",
25152d973f5SAlexander Motin        "UMask": "0x2"
25292b14858SMatt Macy    },
25392b14858SMatt Macy    {
25452d973f5SAlexander Motin        "AnyThread": "1",
25552d973f5SAlexander Motin        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
25652d973f5SAlexander Motin        "Counter": "Fixed counter 1",
25752d973f5SAlexander Motin        "CounterHTOff": "Fixed counter 1",
25852d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_ANY",
259959826caSMatt Macy        "SampleAfterValue": "2000003",
26052d973f5SAlexander Motin        "UMask": "0x2"
261959826caSMatt Macy    },
262959826caSMatt Macy    {
26352d973f5SAlexander Motin        "BriefDescription": "Thread cycles when thread is not in halt state",
264959826caSMatt Macy        "Counter": "0,1,2,3",
26552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
26652d973f5SAlexander Motin        "EventCode": "0x3C",
26752d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
26852d973f5SAlexander Motin        "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.",
26952d973f5SAlexander Motin        "SampleAfterValue": "2000003"
270959826caSMatt Macy    },
271959826caSMatt Macy    {
27252d973f5SAlexander Motin        "AnyThread": "1",
27352d973f5SAlexander Motin        "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.",
274959826caSMatt Macy        "Counter": "0,1,2,3",
27552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
27652d973f5SAlexander Motin        "EventCode": "0x3C",
27752d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY",
27852d973f5SAlexander Motin        "SampleAfterValue": "2000003"
279959826caSMatt Macy    },
280959826caSMatt Macy    {
281959826caSMatt Macy        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
282959826caSMatt Macy        "Counter": "0,1,2,3",
28352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
284959826caSMatt Macy        "CounterMask": "8",
28552d973f5SAlexander Motin        "EventCode": "0xA3",
28652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
287959826caSMatt Macy        "SampleAfterValue": "2000003",
28852d973f5SAlexander Motin        "UMask": "0x8"
289959826caSMatt Macy    },
290959826caSMatt Macy    {
29152d973f5SAlexander Motin        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
292959826caSMatt Macy        "Counter": "0,1,2,3",
29352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
29452d973f5SAlexander Motin        "CounterMask": "1",
29552d973f5SAlexander Motin        "EventCode": "0xA3",
29652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
297959826caSMatt Macy        "SampleAfterValue": "2000003",
29852d973f5SAlexander Motin        "UMask": "0x1"
299959826caSMatt Macy    },
300959826caSMatt Macy    {
301959826caSMatt Macy        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
302959826caSMatt Macy        "Counter": "0,1,2,3",
30352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
304959826caSMatt Macy        "CounterMask": "16",
30552d973f5SAlexander Motin        "EventCode": "0xA3",
30652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
307959826caSMatt Macy        "SampleAfterValue": "2000003",
30852d973f5SAlexander Motin        "UMask": "0x10"
309959826caSMatt Macy    },
310959826caSMatt Macy    {
31152d973f5SAlexander Motin        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
31252d973f5SAlexander Motin        "Counter": "0,1,2,3",
31352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
31452d973f5SAlexander Motin        "CounterMask": "12",
315959826caSMatt Macy        "EventCode": "0xA3",
31652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
31752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
31852d973f5SAlexander Motin        "UMask": "0xc"
31952d973f5SAlexander Motin    },
32052d973f5SAlexander Motin    {
32152d973f5SAlexander Motin        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
32252d973f5SAlexander Motin        "Counter": "0,1,2,3",
32352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
32452d973f5SAlexander Motin        "CounterMask": "5",
32552d973f5SAlexander Motin        "EventCode": "0xA3",
32652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
32752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
32852d973f5SAlexander Motin        "UMask": "0x5"
32952d973f5SAlexander Motin    },
33052d973f5SAlexander Motin    {
331959826caSMatt Macy        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
332959826caSMatt Macy        "Counter": "0,1,2,3",
33352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3",
334959826caSMatt Macy        "CounterMask": "20",
33552d973f5SAlexander Motin        "EventCode": "0xA3",
33652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
337959826caSMatt Macy        "SampleAfterValue": "2000003",
33852d973f5SAlexander Motin        "UMask": "0x14"
339959826caSMatt Macy    },
340959826caSMatt Macy    {
34152d973f5SAlexander Motin        "BriefDescription": "Total execution stalls.",
342959826caSMatt Macy        "Counter": "0,1,2,3",
34352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
34452d973f5SAlexander Motin        "CounterMask": "4",
34552d973f5SAlexander Motin        "EventCode": "0xA3",
34652d973f5SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
347959826caSMatt Macy        "SampleAfterValue": "2000003",
34852d973f5SAlexander Motin        "UMask": "0x4"
349959826caSMatt Macy    },
350959826caSMatt Macy    {
351959826caSMatt Macy        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
352959826caSMatt Macy        "Counter": "0,1,2,3",
35352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
35452d973f5SAlexander Motin        "EventCode": "0xA6",
355959826caSMatt Macy        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
356959826caSMatt Macy        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
357959826caSMatt Macy        "SampleAfterValue": "2000003",
35852d973f5SAlexander Motin        "UMask": "0x2"
359959826caSMatt Macy    },
360959826caSMatt Macy    {
361959826caSMatt Macy        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
362959826caSMatt Macy        "Counter": "0,1,2,3",
36352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
36452d973f5SAlexander Motin        "EventCode": "0xA6",
365959826caSMatt Macy        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
366959826caSMatt Macy        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
367959826caSMatt Macy        "SampleAfterValue": "2000003",
36852d973f5SAlexander Motin        "UMask": "0x4"
369959826caSMatt Macy    },
370959826caSMatt Macy    {
371959826caSMatt Macy        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
372959826caSMatt Macy        "Counter": "0,1,2,3",
37352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
37452d973f5SAlexander Motin        "EventCode": "0xA6",
375959826caSMatt Macy        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
376959826caSMatt Macy        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
377959826caSMatt Macy        "SampleAfterValue": "2000003",
37852d973f5SAlexander Motin        "UMask": "0x8"
379959826caSMatt Macy    },
380959826caSMatt Macy    {
381959826caSMatt Macy        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
382959826caSMatt Macy        "Counter": "0,1,2,3",
38352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
38452d973f5SAlexander Motin        "EventCode": "0xA6",
385959826caSMatt Macy        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
386959826caSMatt Macy        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
387959826caSMatt Macy        "SampleAfterValue": "2000003",
38852d973f5SAlexander Motin        "UMask": "0x10"
389959826caSMatt Macy    },
390959826caSMatt Macy    {
391959826caSMatt Macy        "BriefDescription": "Cycles where the Store Buffer was full and no outstanding load.",
392959826caSMatt Macy        "Counter": "0,1,2,3",
39352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
39452d973f5SAlexander Motin        "EventCode": "0xA6",
395959826caSMatt Macy        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
396959826caSMatt Macy        "SampleAfterValue": "2000003",
39752d973f5SAlexander Motin        "UMask": "0x40"
398959826caSMatt Macy    },
399959826caSMatt Macy    {
40052d973f5SAlexander Motin        "BriefDescription": "Cycles where no uops were executed, the Reservation Station was not empty, the Store Buffer was full and there was no outstanding load.",
40152d973f5SAlexander Motin        "Counter": "0,1,2,3",
40252d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
40352d973f5SAlexander Motin        "EventCode": "0xA6",
40452d973f5SAlexander Motin        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
40552d973f5SAlexander Motin        "PublicDescription": "Counts cycles during which no uops were executed on all ports and Reservation Station (RS) was not empty.",
40652d973f5SAlexander Motin        "SampleAfterValue": "2000003",
40752d973f5SAlexander Motin        "UMask": "0x1"
40852d973f5SAlexander Motin    },
40952d973f5SAlexander Motin    {
41052d973f5SAlexander Motin        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
41152d973f5SAlexander Motin        "Counter": "0,1,2,3",
41252d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
41352d973f5SAlexander Motin        "EventCode": "0x87",
41452d973f5SAlexander Motin        "EventName": "ILD_STALL.LCP",
41552d973f5SAlexander Motin        "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.",
41652d973f5SAlexander Motin        "SampleAfterValue": "2000003",
41752d973f5SAlexander Motin        "UMask": "0x1"
41852d973f5SAlexander Motin    },
41952d973f5SAlexander Motin    {
420*18054d02SAlexander Motin        "BriefDescription": "Instruction decoders utilized in a cycle",
421*18054d02SAlexander Motin        "Counter": "0,1,2,3",
422*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
423*18054d02SAlexander Motin        "EventCode": "0x55",
424*18054d02SAlexander Motin        "EventName": "INST_DECODED.DECODERS",
425*18054d02SAlexander Motin        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
426*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
427*18054d02SAlexander Motin        "UMask": "0x1"
428*18054d02SAlexander Motin    },
429*18054d02SAlexander Motin    {
43052d973f5SAlexander Motin        "BriefDescription": "Instructions retired from execution.",
43152d973f5SAlexander Motin        "Counter": "Fixed counter 0",
43252d973f5SAlexander Motin        "CounterHTOff": "Fixed counter 0",
43352d973f5SAlexander Motin        "EventName": "INST_RETIRED.ANY",
43452d973f5SAlexander Motin        "PublicDescription": "Counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, Counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter, leaving the four (eight when Hyperthreading is disabled) programmable counters available for other events. INST_RETIRED.ANY_P is counted by a programmable counter and it is an architectural performance event. Counting: Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.",
43552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
43652d973f5SAlexander Motin        "UMask": "0x1"
43752d973f5SAlexander Motin    },
43852d973f5SAlexander Motin    {
43952d973f5SAlexander Motin        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
44052d973f5SAlexander Motin        "Counter": "0,1,2,3",
44152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
44252d973f5SAlexander Motin        "Errata": "SKL091, SKL044",
44352d973f5SAlexander Motin        "EventCode": "0xC0",
44452d973f5SAlexander Motin        "EventName": "INST_RETIRED.ANY_P",
44552d973f5SAlexander Motin        "PublicDescription": "Counts the number of instructions (EOMs) retired. Counting covers macro-fused instructions individually (that is, increments by two).",
44652d973f5SAlexander Motin        "SampleAfterValue": "2000003"
44752d973f5SAlexander Motin    },
44852d973f5SAlexander Motin    {
449*18054d02SAlexander Motin        "BriefDescription": "Number of all retired NOP instructions.",
450*18054d02SAlexander Motin        "Counter": "0,1,2,3",
451*18054d02SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
452*18054d02SAlexander Motin        "Errata": "SKL091, SKL044",
453*18054d02SAlexander Motin        "EventCode": "0xC0",
454*18054d02SAlexander Motin        "EventName": "INST_RETIRED.NOP",
455*18054d02SAlexander Motin        "PEBS": "1",
456*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
457*18054d02SAlexander Motin        "UMask": "0x2"
458*18054d02SAlexander Motin    },
459*18054d02SAlexander Motin    {
46052d973f5SAlexander Motin        "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution",
46152d973f5SAlexander Motin        "Counter": "1",
46252d973f5SAlexander Motin        "CounterHTOff": "1",
46352d973f5SAlexander Motin        "Errata": "SKL091, SKL044",
46452d973f5SAlexander Motin        "EventCode": "0xC0",
46552d973f5SAlexander Motin        "EventName": "INST_RETIRED.PREC_DIST",
46652d973f5SAlexander Motin        "PEBS": "2",
46752d973f5SAlexander Motin        "PublicDescription": "A version of INST_RETIRED that allows for a more unbiased distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR) feature to mitigate some bias in how retired instructions get sampled.",
46852d973f5SAlexander Motin        "SampleAfterValue": "2000003",
46952d973f5SAlexander Motin        "UMask": "0x1"
47052d973f5SAlexander Motin    },
47152d973f5SAlexander Motin    {
47252d973f5SAlexander Motin        "BriefDescription": "Number of cycles using always true condition applied to  PEBS instructions retired event.",
47352d973f5SAlexander Motin        "Counter": "0,2,3",
47452d973f5SAlexander Motin        "CounterHTOff": "0,2,3",
47552d973f5SAlexander Motin        "CounterMask": "10",
47652d973f5SAlexander Motin        "Errata": "SKL091, SKL044",
47752d973f5SAlexander Motin        "EventCode": "0xC0",
47852d973f5SAlexander Motin        "EventName": "INST_RETIRED.TOTAL_CYCLES_PS",
47952d973f5SAlexander Motin        "Invert": "1",
48052d973f5SAlexander Motin        "PEBS": "2",
48152d973f5SAlexander Motin        "PublicDescription": "Number of cycles using an always true condition applied to  PEBS instructions retired event. (inst_ret< 16)",
48252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
48352d973f5SAlexander Motin        "UMask": "0x1"
48452d973f5SAlexander Motin    },
48552d973f5SAlexander Motin    {
48652d973f5SAlexander Motin        "BriefDescription": "Cycles the issue-stage is waiting for front-end to fetch from resteered path following branch misprediction or machine clear events.",
48752d973f5SAlexander Motin        "Counter": "0,1,2,3",
48852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
48952d973f5SAlexander Motin        "EventCode": "0x0D",
49052d973f5SAlexander Motin        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
49152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
49252d973f5SAlexander Motin        "UMask": "0x80"
49352d973f5SAlexander Motin    },
49452d973f5SAlexander Motin    {
49552d973f5SAlexander Motin        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)",
49652d973f5SAlexander Motin        "Counter": "0,1,2,3",
49752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
49852d973f5SAlexander Motin        "EventCode": "0x0D",
49952d973f5SAlexander Motin        "EventName": "INT_MISC.RECOVERY_CYCLES",
50052d973f5SAlexander Motin        "PublicDescription": "Core cycles the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
50152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
50252d973f5SAlexander Motin        "UMask": "0x1"
50352d973f5SAlexander Motin    },
50452d973f5SAlexander Motin    {
50552d973f5SAlexander Motin        "AnyThread": "1",
50652d973f5SAlexander Motin        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).",
50752d973f5SAlexander Motin        "Counter": "0,1,2,3",
50852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
50952d973f5SAlexander Motin        "EventCode": "0x0D",
51052d973f5SAlexander Motin        "EventName": "INT_MISC.RECOVERY_CYCLES_ANY",
51152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
51252d973f5SAlexander Motin        "UMask": "0x1"
51352d973f5SAlexander Motin    },
51452d973f5SAlexander Motin    {
51552d973f5SAlexander Motin        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use",
51652d973f5SAlexander Motin        "Counter": "0,1,2,3",
51752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
51852d973f5SAlexander Motin        "EventCode": "0x03",
51952d973f5SAlexander Motin        "EventName": "LD_BLOCKS.NO_SR",
52052d973f5SAlexander Motin        "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
52152d973f5SAlexander Motin        "SampleAfterValue": "100003",
52252d973f5SAlexander Motin        "UMask": "0x8"
52352d973f5SAlexander Motin    },
52452d973f5SAlexander Motin    {
52552d973f5SAlexander Motin        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
52652d973f5SAlexander Motin        "Counter": "0,1,2,3",
52752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
52852d973f5SAlexander Motin        "EventCode": "0x03",
52952d973f5SAlexander Motin        "EventName": "LD_BLOCKS.STORE_FORWARD",
53052d973f5SAlexander Motin        "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.",
53152d973f5SAlexander Motin        "SampleAfterValue": "100003",
53252d973f5SAlexander Motin        "UMask": "0x2"
53352d973f5SAlexander Motin    },
53452d973f5SAlexander Motin    {
53552d973f5SAlexander Motin        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
53652d973f5SAlexander Motin        "Counter": "0,1,2,3",
53752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
53852d973f5SAlexander Motin        "EventCode": "0x07",
53952d973f5SAlexander Motin        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
54052d973f5SAlexander Motin        "PublicDescription": "Counts false dependencies in MOB when the partial comparison upon loose net check and dependency was resolved by the Enhanced Loose net mechanism. This may not result in high performance penalties. Loose net checks can fail when loads and stores are 4k aliased.",
54152d973f5SAlexander Motin        "SampleAfterValue": "100003",
54252d973f5SAlexander Motin        "UMask": "0x1"
54352d973f5SAlexander Motin    },
54452d973f5SAlexander Motin    {
54552d973f5SAlexander Motin        "BriefDescription": "Demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
54652d973f5SAlexander Motin        "Counter": "0,1,2,3",
54752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
54852d973f5SAlexander Motin        "EventCode": "0x4C",
54952d973f5SAlexander Motin        "EventName": "LOAD_HIT_PRE.SW_PF",
55052d973f5SAlexander Motin        "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.",
55152d973f5SAlexander Motin        "SampleAfterValue": "100003",
55252d973f5SAlexander Motin        "UMask": "0x1"
55352d973f5SAlexander Motin    },
55452d973f5SAlexander Motin    {
55552d973f5SAlexander Motin        "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.",
55652d973f5SAlexander Motin        "Counter": "0,1,2,3",
55752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
55852d973f5SAlexander Motin        "CounterMask": "4",
559959826caSMatt Macy        "EventCode": "0xA8",
56052d973f5SAlexander Motin        "EventName": "LSD.CYCLES_4_UOPS",
56152d973f5SAlexander Motin        "PublicDescription": "Counts the cycles when 4 uops are delivered by the LSD (Loop-stream detector).",
56252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
56352d973f5SAlexander Motin        "UMask": "0x1"
56452d973f5SAlexander Motin    },
56552d973f5SAlexander Motin    {
56652d973f5SAlexander Motin        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
56752d973f5SAlexander Motin        "Counter": "0,1,2,3",
56852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
56952d973f5SAlexander Motin        "CounterMask": "1",
57052d973f5SAlexander Motin        "EventCode": "0xA8",
57152d973f5SAlexander Motin        "EventName": "LSD.CYCLES_ACTIVE",
57252d973f5SAlexander Motin        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
57352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
57452d973f5SAlexander Motin        "UMask": "0x1"
57552d973f5SAlexander Motin    },
57652d973f5SAlexander Motin    {
577959826caSMatt Macy        "BriefDescription": "Number of Uops delivered by the LSD.",
578959826caSMatt Macy        "Counter": "0,1,2,3",
57952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
58052d973f5SAlexander Motin        "EventCode": "0xA8",
581959826caSMatt Macy        "EventName": "LSD.UOPS",
582959826caSMatt Macy        "PublicDescription": "Number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
583959826caSMatt Macy        "SampleAfterValue": "2000003",
58452d973f5SAlexander Motin        "UMask": "0x1"
585959826caSMatt Macy    },
586959826caSMatt Macy    {
587959826caSMatt Macy        "BriefDescription": "Number of machine clears (nukes) of any type.",
588959826caSMatt Macy        "Counter": "0,1,2,3",
58952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
590959826caSMatt Macy        "CounterMask": "1",
59152d973f5SAlexander Motin        "EdgeDetect": "1",
59252d973f5SAlexander Motin        "EventCode": "0xC3",
59352d973f5SAlexander Motin        "EventName": "MACHINE_CLEARS.COUNT",
594959826caSMatt Macy        "SampleAfterValue": "100003",
59552d973f5SAlexander Motin        "UMask": "0x1"
596959826caSMatt Macy    },
597959826caSMatt Macy    {
598959826caSMatt Macy        "BriefDescription": "Self-modifying code (SMC) detected.",
599959826caSMatt Macy        "Counter": "0,1,2,3",
60052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
60152d973f5SAlexander Motin        "EventCode": "0xC3",
602959826caSMatt Macy        "EventName": "MACHINE_CLEARS.SMC",
603959826caSMatt Macy        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
604959826caSMatt Macy        "SampleAfterValue": "100003",
60552d973f5SAlexander Motin        "UMask": "0x4"
606959826caSMatt Macy    },
607959826caSMatt Macy    {
60852d973f5SAlexander Motin        "BriefDescription": "Number of times a microcode assist is invoked by HW other than FP-assist. Examples include AD (page Access Dirty) and AVX* related assists.",
609959826caSMatt Macy        "Counter": "0,1,2,3",
61052d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
61152d973f5SAlexander Motin        "EventCode": "0xC1",
61252d973f5SAlexander Motin        "EventName": "OTHER_ASSISTS.ANY",
61352d973f5SAlexander Motin        "SampleAfterValue": "100003",
61452d973f5SAlexander Motin        "UMask": "0x3f"
615959826caSMatt Macy    },
616959826caSMatt Macy    {
61752d973f5SAlexander Motin        "BriefDescription": "Cycles where the pipeline is stalled due to serializing operations.",
618959826caSMatt Macy        "Counter": "0,1,2,3",
61952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
62052d973f5SAlexander Motin        "EventCode": "0x59",
62152d973f5SAlexander Motin        "EventName": "PARTIAL_RAT_STALLS.SCOREBOARD",
62252d973f5SAlexander Motin        "PublicDescription": "This event counts cycles during which the microcode scoreboard stalls happen.",
62352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
62452d973f5SAlexander Motin        "UMask": "0x1"
625959826caSMatt Macy    },
626959826caSMatt Macy    {
62752d973f5SAlexander Motin        "BriefDescription": "Resource-related stall cycles",
628959826caSMatt Macy        "Counter": "0,1,2,3",
62952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
63052d973f5SAlexander Motin        "EventCode": "0xa2",
63152d973f5SAlexander Motin        "EventName": "RESOURCE_STALLS.ANY",
63252d973f5SAlexander Motin        "PublicDescription": "Counts resource-related stall cycles.",
63352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
63452d973f5SAlexander Motin        "UMask": "0x1"
635959826caSMatt Macy    },
636959826caSMatt Macy    {
63752d973f5SAlexander Motin        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
638959826caSMatt Macy        "Counter": "0,1,2,3",
63952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
64052d973f5SAlexander Motin        "EventCode": "0xA2",
64152d973f5SAlexander Motin        "EventName": "RESOURCE_STALLS.SB",
64252d973f5SAlexander Motin        "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
64352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
64452d973f5SAlexander Motin        "UMask": "0x8"
645959826caSMatt Macy    },
646959826caSMatt Macy    {
647959826caSMatt Macy        "BriefDescription": "Increments whenever there is an update to the LBR array.",
648959826caSMatt Macy        "Counter": "0,1,2,3",
64952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
65052d973f5SAlexander Motin        "EventCode": "0xCC",
651959826caSMatt Macy        "EventName": "ROB_MISC_EVENTS.LBR_INSERTS",
652959826caSMatt Macy        "PublicDescription": "Increments when an entry is added to the Last Branch Record (LBR) array (or removed from the array in case of RETURNs in call stack mode). The event requires LBR enable via IA32_DEBUGCTL MSR and branch type selection via MSR_LBR_SELECT.",
653959826caSMatt Macy        "SampleAfterValue": "2000003",
65452d973f5SAlexander Motin        "UMask": "0x20"
655959826caSMatt Macy    },
656959826caSMatt Macy    {
65792b14858SMatt Macy        "BriefDescription": "Number of retired PAUSE instructions (that do not end up with a VMExit to the VMM; TSX aborted Instructions may be counted). This event is not supported on first SKL and KBL products.",
65892b14858SMatt Macy        "Counter": "0,1,2,3",
65952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
66052d973f5SAlexander Motin        "EventCode": "0xCC",
66192b14858SMatt Macy        "EventName": "ROB_MISC_EVENTS.PAUSE_INST",
66292b14858SMatt Macy        "SampleAfterValue": "2000003",
66352d973f5SAlexander Motin        "UMask": "0x40"
66492b14858SMatt Macy    },
66592b14858SMatt Macy    {
66652d973f5SAlexander Motin        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
667959826caSMatt Macy        "Counter": "0,1,2,3",
66852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
66952d973f5SAlexander Motin        "EventCode": "0x5E",
67052d973f5SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_CYCLES",
67152d973f5SAlexander Motin        "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for the thread.; Note: In ST-mode, not active thread should drive 0. This is usually caused by severely costly branch mispredictions, or allocator/FE issues.",
67252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
67352d973f5SAlexander Motin        "UMask": "0x1"
67452d973f5SAlexander Motin    },
67552d973f5SAlexander Motin    {
67652d973f5SAlexander Motin        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.",
67752d973f5SAlexander Motin        "Counter": "0,1,2,3",
67852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
67952d973f5SAlexander Motin        "CounterMask": "1",
68052d973f5SAlexander Motin        "EdgeDetect": "1",
68152d973f5SAlexander Motin        "EventCode": "0x5E",
68252d973f5SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_END",
68352d973f5SAlexander Motin        "Invert": "1",
68452d973f5SAlexander Motin        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate front-end Latency Bound issues.",
68552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
68652d973f5SAlexander Motin        "UMask": "0x1"
68752d973f5SAlexander Motin    },
68852d973f5SAlexander Motin    {
68952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 0",
69052d973f5SAlexander Motin        "Counter": "0,1,2,3",
69152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
69252d973f5SAlexander Motin        "EventCode": "0xA1",
69352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_0",
69452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
69552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
69652d973f5SAlexander Motin        "UMask": "0x1"
69752d973f5SAlexander Motin    },
69852d973f5SAlexander Motin    {
69952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 1",
70052d973f5SAlexander Motin        "Counter": "0,1,2,3",
70152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
70252d973f5SAlexander Motin        "EventCode": "0xA1",
70352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_1",
70452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
70552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
70652d973f5SAlexander Motin        "UMask": "0x2"
70752d973f5SAlexander Motin    },
70852d973f5SAlexander Motin    {
70952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 2",
71052d973f5SAlexander Motin        "Counter": "0,1,2,3",
71152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
71252d973f5SAlexander Motin        "EventCode": "0xA1",
71352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_2",
71452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 2.",
71552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
71652d973f5SAlexander Motin        "UMask": "0x4"
71752d973f5SAlexander Motin    },
71852d973f5SAlexander Motin    {
71952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 3",
72052d973f5SAlexander Motin        "Counter": "0,1,2,3",
72152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
72252d973f5SAlexander Motin        "EventCode": "0xA1",
72352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_3",
72452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 3.",
72552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
72652d973f5SAlexander Motin        "UMask": "0x8"
72752d973f5SAlexander Motin    },
72852d973f5SAlexander Motin    {
72952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 4",
73052d973f5SAlexander Motin        "Counter": "0,1,2,3",
73152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
73252d973f5SAlexander Motin        "EventCode": "0xA1",
73352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_4",
73452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 4.",
73552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
73652d973f5SAlexander Motin        "UMask": "0x10"
73752d973f5SAlexander Motin    },
73852d973f5SAlexander Motin    {
73952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 5",
74052d973f5SAlexander Motin        "Counter": "0,1,2,3",
74152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
74252d973f5SAlexander Motin        "EventCode": "0xA1",
74352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_5",
74452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
74552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
74652d973f5SAlexander Motin        "UMask": "0x20"
74752d973f5SAlexander Motin    },
74852d973f5SAlexander Motin    {
74952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 6",
75052d973f5SAlexander Motin        "Counter": "0,1,2,3",
75152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
75252d973f5SAlexander Motin        "EventCode": "0xA1",
75352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_6",
75452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
75552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
75652d973f5SAlexander Motin        "UMask": "0x40"
75752d973f5SAlexander Motin    },
75852d973f5SAlexander Motin    {
75952d973f5SAlexander Motin        "BriefDescription": "Cycles per thread when uops are executed in port 7",
76052d973f5SAlexander Motin        "Counter": "0,1,2,3",
76152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
76252d973f5SAlexander Motin        "EventCode": "0xA1",
76352d973f5SAlexander Motin        "EventName": "UOPS_DISPATCHED_PORT.PORT_7",
76452d973f5SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 7.",
76552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
76652d973f5SAlexander Motin        "UMask": "0x80"
76752d973f5SAlexander Motin    },
76852d973f5SAlexander Motin    {
76952d973f5SAlexander Motin        "BriefDescription": "Number of uops executed on the core.",
77052d973f5SAlexander Motin        "Counter": "0,1,2,3",
77152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
77252d973f5SAlexander Motin        "EventCode": "0xB1",
77352d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE",
77452d973f5SAlexander Motin        "PublicDescription": "Number of uops executed from any thread.",
77552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
77652d973f5SAlexander Motin        "UMask": "0x2"
77752d973f5SAlexander Motin    },
77852d973f5SAlexander Motin    {
77952d973f5SAlexander Motin        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
78052d973f5SAlexander Motin        "Counter": "0,1,2,3",
78152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
78252d973f5SAlexander Motin        "CounterMask": "1",
78352d973f5SAlexander Motin        "EventCode": "0xB1",
78452d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
78552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
78652d973f5SAlexander Motin        "UMask": "0x2"
78752d973f5SAlexander Motin    },
78852d973f5SAlexander Motin    {
78952d973f5SAlexander Motin        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
79052d973f5SAlexander Motin        "Counter": "0,1,2,3",
79152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
79252d973f5SAlexander Motin        "CounterMask": "2",
79352d973f5SAlexander Motin        "EventCode": "0xB1",
79452d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
79552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
79652d973f5SAlexander Motin        "UMask": "0x2"
79752d973f5SAlexander Motin    },
79852d973f5SAlexander Motin    {
79952d973f5SAlexander Motin        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
80052d973f5SAlexander Motin        "Counter": "0,1,2,3",
80152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
80252d973f5SAlexander Motin        "CounterMask": "3",
80352d973f5SAlexander Motin        "EventCode": "0xB1",
80452d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
80552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
80652d973f5SAlexander Motin        "UMask": "0x2"
80752d973f5SAlexander Motin    },
80852d973f5SAlexander Motin    {
80952d973f5SAlexander Motin        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
81052d973f5SAlexander Motin        "Counter": "0,1,2,3",
81152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
81252d973f5SAlexander Motin        "CounterMask": "4",
81352d973f5SAlexander Motin        "EventCode": "0xB1",
81452d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
81552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
81652d973f5SAlexander Motin        "UMask": "0x2"
81752d973f5SAlexander Motin    },
81852d973f5SAlexander Motin    {
81952d973f5SAlexander Motin        "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.",
82052d973f5SAlexander Motin        "Counter": "0,1,2,3",
82152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
82252d973f5SAlexander Motin        "CounterMask": "1",
82352d973f5SAlexander Motin        "EventCode": "0xB1",
82452d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE",
82552d973f5SAlexander Motin        "Invert": "1",
82652d973f5SAlexander Motin        "SampleAfterValue": "2000003",
82752d973f5SAlexander Motin        "UMask": "0x2"
82852d973f5SAlexander Motin    },
82952d973f5SAlexander Motin    {
83052d973f5SAlexander Motin        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
83152d973f5SAlexander Motin        "Counter": "0,1,2,3",
83252d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
83352d973f5SAlexander Motin        "CounterMask": "1",
83452d973f5SAlexander Motin        "EventCode": "0xB1",
83552d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
83652d973f5SAlexander Motin        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
83752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
83852d973f5SAlexander Motin        "UMask": "0x1"
83952d973f5SAlexander Motin    },
84052d973f5SAlexander Motin    {
84152d973f5SAlexander Motin        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
84252d973f5SAlexander Motin        "Counter": "0,1,2,3",
84352d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
84452d973f5SAlexander Motin        "CounterMask": "2",
84552d973f5SAlexander Motin        "EventCode": "0xB1",
84652d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC",
84752d973f5SAlexander Motin        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
84852d973f5SAlexander Motin        "SampleAfterValue": "2000003",
84952d973f5SAlexander Motin        "UMask": "0x1"
85052d973f5SAlexander Motin    },
85152d973f5SAlexander Motin    {
85252d973f5SAlexander Motin        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
85352d973f5SAlexander Motin        "Counter": "0,1,2,3",
85452d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
85552d973f5SAlexander Motin        "CounterMask": "3",
85652d973f5SAlexander Motin        "EventCode": "0xB1",
85752d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC",
85852d973f5SAlexander Motin        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
85952d973f5SAlexander Motin        "SampleAfterValue": "2000003",
86052d973f5SAlexander Motin        "UMask": "0x1"
86152d973f5SAlexander Motin    },
86252d973f5SAlexander Motin    {
86352d973f5SAlexander Motin        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
86452d973f5SAlexander Motin        "Counter": "0,1,2,3",
86552d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
86652d973f5SAlexander Motin        "CounterMask": "4",
86752d973f5SAlexander Motin        "EventCode": "0xB1",
86852d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC",
86952d973f5SAlexander Motin        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
87052d973f5SAlexander Motin        "SampleAfterValue": "2000003",
87152d973f5SAlexander Motin        "UMask": "0x1"
87252d973f5SAlexander Motin    },
87352d973f5SAlexander Motin    {
87452d973f5SAlexander Motin        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
87552d973f5SAlexander Motin        "Counter": "0,1,2,3",
87652d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
87752d973f5SAlexander Motin        "CounterMask": "1",
87852d973f5SAlexander Motin        "EventCode": "0xB1",
87952d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
88052d973f5SAlexander Motin        "Invert": "1",
88152d973f5SAlexander Motin        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
88252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
88352d973f5SAlexander Motin        "UMask": "0x1"
88452d973f5SAlexander Motin    },
88552d973f5SAlexander Motin    {
88652d973f5SAlexander Motin        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
88752d973f5SAlexander Motin        "Counter": "0,1,2,3",
88852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
88952d973f5SAlexander Motin        "EventCode": "0xB1",
89052d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.THREAD",
89152d973f5SAlexander Motin        "PublicDescription": "Number of uops to be executed per-thread each cycle.",
89252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
89352d973f5SAlexander Motin        "UMask": "0x1"
89452d973f5SAlexander Motin    },
89552d973f5SAlexander Motin    {
89652d973f5SAlexander Motin        "BriefDescription": "Counts the number of x87 uops dispatched.",
89752d973f5SAlexander Motin        "Counter": "0,1,2,3",
89852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
89952d973f5SAlexander Motin        "EventCode": "0xB1",
90052d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.X87",
90152d973f5SAlexander Motin        "PublicDescription": "Counts the number of x87 uops executed.",
90252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
90352d973f5SAlexander Motin        "UMask": "0x10"
90452d973f5SAlexander Motin    },
90552d973f5SAlexander Motin    {
90652d973f5SAlexander Motin        "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)",
90752d973f5SAlexander Motin        "Counter": "0,1,2,3",
90852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
90952d973f5SAlexander Motin        "EventCode": "0x0E",
91052d973f5SAlexander Motin        "EventName": "UOPS_ISSUED.ANY",
91152d973f5SAlexander Motin        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
91252d973f5SAlexander Motin        "SampleAfterValue": "2000003",
91352d973f5SAlexander Motin        "UMask": "0x1"
91452d973f5SAlexander Motin    },
91552d973f5SAlexander Motin    {
91652d973f5SAlexander Motin        "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.",
91752d973f5SAlexander Motin        "Counter": "0,1,2,3",
91852d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
91952d973f5SAlexander Motin        "EventCode": "0x0E",
92052d973f5SAlexander Motin        "EventName": "UOPS_ISSUED.SLOW_LEA",
92152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
92252d973f5SAlexander Motin        "UMask": "0x20"
92352d973f5SAlexander Motin    },
92452d973f5SAlexander Motin    {
92552d973f5SAlexander Motin        "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread",
92652d973f5SAlexander Motin        "Counter": "0,1,2,3",
92752d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
92852d973f5SAlexander Motin        "CounterMask": "1",
92952d973f5SAlexander Motin        "EventCode": "0x0E",
93052d973f5SAlexander Motin        "EventName": "UOPS_ISSUED.STALL_CYCLES",
93152d973f5SAlexander Motin        "Invert": "1",
93252d973f5SAlexander Motin        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
93352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
93452d973f5SAlexander Motin        "UMask": "0x1"
93552d973f5SAlexander Motin    },
93652d973f5SAlexander Motin    {
93752d973f5SAlexander Motin        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
93852d973f5SAlexander Motin        "Counter": "0,1,2,3",
93952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
94052d973f5SAlexander Motin        "EventCode": "0x0E",
94152d973f5SAlexander Motin        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
94252d973f5SAlexander Motin        "PublicDescription": "Counts the number of Blend Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS) in order to preserve upper bits of vector registers. Starting with the Skylake microarchitecture, these Blend uops are needed since every Intel SSE instruction executed in Dirty Upper State needs to preserve bits 128-255 of the destination register. For more information, refer to Mixing Intel AVX and Intel SSE Code section of the Optimization Guide.",
94352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
94452d973f5SAlexander Motin        "UMask": "0x2"
94552d973f5SAlexander Motin    },
94652d973f5SAlexander Motin    {
94752d973f5SAlexander Motin        "BriefDescription": "Number of macro-fused uops retired. (non precise)",
94852d973f5SAlexander Motin        "Counter": "0,1,2,3",
94952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
95052d973f5SAlexander Motin        "EventCode": "0xc2",
95152d973f5SAlexander Motin        "EventName": "UOPS_RETIRED.MACRO_FUSED",
95252d973f5SAlexander Motin        "PublicDescription": "Counts the number of macro-fused uops retired. (non precise)",
95352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
95452d973f5SAlexander Motin        "UMask": "0x4"
95552d973f5SAlexander Motin    },
95652d973f5SAlexander Motin    {
95752d973f5SAlexander Motin        "BriefDescription": "Retirement slots used.",
95852d973f5SAlexander Motin        "Counter": "0,1,2,3",
95952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
96052d973f5SAlexander Motin        "EventCode": "0xC2",
96152d973f5SAlexander Motin        "EventName": "UOPS_RETIRED.RETIRE_SLOTS",
96252d973f5SAlexander Motin        "PublicDescription": "Counts the retirement slots used.",
96352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
96452d973f5SAlexander Motin        "UMask": "0x2"
96552d973f5SAlexander Motin    },
96652d973f5SAlexander Motin    {
96752d973f5SAlexander Motin        "BriefDescription": "Cycles without actually retired uops.",
96852d973f5SAlexander Motin        "Counter": "0,1,2,3",
96952d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
97052d973f5SAlexander Motin        "CounterMask": "1",
97152d973f5SAlexander Motin        "EventCode": "0xC2",
97252d973f5SAlexander Motin        "EventName": "UOPS_RETIRED.STALL_CYCLES",
97352d973f5SAlexander Motin        "Invert": "1",
97452d973f5SAlexander Motin        "PublicDescription": "This event counts cycles without actually retired uops.",
97552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
97652d973f5SAlexander Motin        "UMask": "0x2"
97752d973f5SAlexander Motin    },
97852d973f5SAlexander Motin    {
97952d973f5SAlexander Motin        "BriefDescription": "Cycles with less than 10 actually retired uops.",
98052d973f5SAlexander Motin        "Counter": "0,1,2,3",
98152d973f5SAlexander Motin        "CounterHTOff": "0,1,2,3,4,5,6,7",
982*18054d02SAlexander Motin        "CounterMask": "16",
98352d973f5SAlexander Motin        "EventCode": "0xC2",
98452d973f5SAlexander Motin        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
98552d973f5SAlexander Motin        "Invert": "1",
98652d973f5SAlexander Motin        "PublicDescription": "Number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
98752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
98852d973f5SAlexander Motin        "UMask": "0x2"
989959826caSMatt Macy    }
990959826caSMatt Macy]
991