14babba55SJin Yao[
24babba55SJin Yao    {
34babba55SJin Yao        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
44babba55SJin Yao        "CounterMask": "1",
54babba55SJin Yao        "EventCode": "0x14",
64babba55SJin Yao        "EventName": "ARITH.DIVIDER_ACTIVE",
74babba55SJin Yao        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
84babba55SJin Yao        "SampleAfterValue": "1000003",
94babba55SJin Yao        "UMask": "0x9"
104babba55SJin Yao    },
114babba55SJin Yao    {
1245d97cddSIan Rogers        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
1345d97cddSIan Rogers        "EventCode": "0xc1",
1445d97cddSIan Rogers        "EventName": "ASSISTS.ANY",
1545d97cddSIan Rogers        "PublicDescription": "Counts the number of occurrences where a microcode assist is invoked by hardware Examples include AD (page Access Dirty), FP and AVX related assists.",
1645d97cddSIan Rogers        "SampleAfterValue": "100003",
1745d97cddSIan Rogers        "UMask": "0x7"
1845d97cddSIan Rogers    },
1945d97cddSIan Rogers    {
204babba55SJin Yao        "BriefDescription": "All branch instructions retired.",
214babba55SJin Yao        "EventCode": "0xc4",
224babba55SJin Yao        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
234babba55SJin Yao        "PEBS": "1",
244babba55SJin Yao        "PublicDescription": "Counts all branch instructions retired.",
254babba55SJin Yao        "SampleAfterValue": "400009"
264babba55SJin Yao    },
274babba55SJin Yao    {
284babba55SJin Yao        "BriefDescription": "Conditional branch instructions retired.",
294babba55SJin Yao        "EventCode": "0xc4",
304babba55SJin Yao        "EventName": "BR_INST_RETIRED.COND",
314babba55SJin Yao        "PEBS": "1",
324babba55SJin Yao        "PublicDescription": "Counts conditional branch instructions retired.",
334babba55SJin Yao        "SampleAfterValue": "400009",
344babba55SJin Yao        "UMask": "0x11"
354babba55SJin Yao    },
364babba55SJin Yao    {
374babba55SJin Yao        "BriefDescription": "Not taken branch instructions retired.",
384babba55SJin Yao        "EventCode": "0xc4",
394babba55SJin Yao        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
404babba55SJin Yao        "PEBS": "1",
414babba55SJin Yao        "PublicDescription": "Counts not taken branch instructions retired.",
424babba55SJin Yao        "SampleAfterValue": "400009",
434babba55SJin Yao        "UMask": "0x10"
444babba55SJin Yao    },
454babba55SJin Yao    {
464babba55SJin Yao        "BriefDescription": "Taken conditional branch instructions retired.",
474babba55SJin Yao        "EventCode": "0xc4",
484babba55SJin Yao        "EventName": "BR_INST_RETIRED.COND_TAKEN",
494babba55SJin Yao        "PEBS": "1",
504babba55SJin Yao        "PublicDescription": "Counts taken conditional branch instructions retired.",
514babba55SJin Yao        "SampleAfterValue": "400009",
524babba55SJin Yao        "UMask": "0x1"
534babba55SJin Yao    },
544babba55SJin Yao    {
554babba55SJin Yao        "BriefDescription": "Far branch instructions retired.",
564babba55SJin Yao        "EventCode": "0xc4",
574babba55SJin Yao        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
584babba55SJin Yao        "PEBS": "1",
594babba55SJin Yao        "PublicDescription": "Counts far branch instructions retired.",
604babba55SJin Yao        "SampleAfterValue": "100007",
614babba55SJin Yao        "UMask": "0x40"
624babba55SJin Yao    },
634babba55SJin Yao    {
6443d54e94SIan Rogers        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
654babba55SJin Yao        "EventCode": "0xc4",
664babba55SJin Yao        "EventName": "BR_INST_RETIRED.INDIRECT",
674babba55SJin Yao        "PEBS": "1",
6843d54e94SIan Rogers        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
694babba55SJin Yao        "SampleAfterValue": "100003",
704babba55SJin Yao        "UMask": "0x80"
714babba55SJin Yao    },
724babba55SJin Yao    {
734babba55SJin Yao        "BriefDescription": "Direct and indirect near call instructions retired.",
744babba55SJin Yao        "EventCode": "0xc4",
754babba55SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_CALL",
764babba55SJin Yao        "PEBS": "1",
774babba55SJin Yao        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
784babba55SJin Yao        "SampleAfterValue": "100007",
794babba55SJin Yao        "UMask": "0x2"
804babba55SJin Yao    },
814babba55SJin Yao    {
824babba55SJin Yao        "BriefDescription": "Return instructions retired.",
834babba55SJin Yao        "EventCode": "0xc4",
844babba55SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
854babba55SJin Yao        "PEBS": "1",
864babba55SJin Yao        "PublicDescription": "Counts return instructions retired.",
874babba55SJin Yao        "SampleAfterValue": "100007",
884babba55SJin Yao        "UMask": "0x8"
894babba55SJin Yao    },
904babba55SJin Yao    {
914babba55SJin Yao        "BriefDescription": "Taken branch instructions retired.",
924babba55SJin Yao        "EventCode": "0xc4",
934babba55SJin Yao        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
944babba55SJin Yao        "PEBS": "1",
954babba55SJin Yao        "PublicDescription": "Counts taken branch instructions retired.",
964babba55SJin Yao        "SampleAfterValue": "400009",
974babba55SJin Yao        "UMask": "0x20"
984babba55SJin Yao    },
994babba55SJin Yao    {
1004babba55SJin Yao        "BriefDescription": "All mispredicted branch instructions retired.",
1014babba55SJin Yao        "EventCode": "0xc5",
1024babba55SJin Yao        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
1034babba55SJin Yao        "PEBS": "1",
1044babba55SJin Yao        "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.",
1054babba55SJin Yao        "SampleAfterValue": "50021"
1064babba55SJin Yao    },
1074babba55SJin Yao    {
1084babba55SJin Yao        "BriefDescription": "Mispredicted conditional branch instructions retired.",
1094babba55SJin Yao        "EventCode": "0xc5",
1104babba55SJin Yao        "EventName": "BR_MISP_RETIRED.COND",
1114babba55SJin Yao        "PEBS": "1",
1124babba55SJin Yao        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
1134babba55SJin Yao        "SampleAfterValue": "50021",
1144babba55SJin Yao        "UMask": "0x11"
1154babba55SJin Yao    },
1164babba55SJin Yao    {
1174babba55SJin Yao        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
1184babba55SJin Yao        "EventCode": "0xc5",
1194babba55SJin Yao        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
1204babba55SJin Yao        "PEBS": "1",
1214babba55SJin Yao        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
1224babba55SJin Yao        "SampleAfterValue": "50021",
1234babba55SJin Yao        "UMask": "0x10"
1244babba55SJin Yao    },
1254babba55SJin Yao    {
12669f685e0SIan Rogers        "BriefDescription": "number of branch instructions retired that were mispredicted and taken.",
1274babba55SJin Yao        "EventCode": "0xc5",
1284babba55SJin Yao        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
1294babba55SJin Yao        "PEBS": "1",
1304babba55SJin Yao        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
1314babba55SJin Yao        "SampleAfterValue": "50021",
1324babba55SJin Yao        "UMask": "0x1"
1334babba55SJin Yao    },
1344babba55SJin Yao    {
1354babba55SJin Yao        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
1364babba55SJin Yao        "EventCode": "0xc5",
1374babba55SJin Yao        "EventName": "BR_MISP_RETIRED.INDIRECT",
1384babba55SJin Yao        "PEBS": "1",
1394babba55SJin Yao        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
1404babba55SJin Yao        "SampleAfterValue": "50021",
1414babba55SJin Yao        "UMask": "0x80"
1424babba55SJin Yao    },
1434babba55SJin Yao    {
1444babba55SJin Yao        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
1454babba55SJin Yao        "EventCode": "0xc5",
1464babba55SJin Yao        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
1474babba55SJin Yao        "PEBS": "1",
1484babba55SJin Yao        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
1494babba55SJin Yao        "SampleAfterValue": "50021",
1504babba55SJin Yao        "UMask": "0x2"
1514babba55SJin Yao    },
1524babba55SJin Yao    {
1534babba55SJin Yao        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
1544babba55SJin Yao        "EventCode": "0xc5",
1554babba55SJin Yao        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
1564babba55SJin Yao        "PEBS": "1",
1574babba55SJin Yao        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
1584babba55SJin Yao        "SampleAfterValue": "50021",
1594babba55SJin Yao        "UMask": "0x20"
1604babba55SJin Yao    },
1614babba55SJin Yao    {
162de44486fSIan Rogers        "BriefDescription": "This event counts the number of mispredicted ret instructions retired. Non PEBS",
163de44486fSIan Rogers        "EventCode": "0xc5",
164de44486fSIan Rogers        "EventName": "BR_MISP_RETIRED.RET",
165de44486fSIan Rogers        "PEBS": "1",
166de44486fSIan Rogers        "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts mispredicted return instructions retired.",
167de44486fSIan Rogers        "SampleAfterValue": "50021",
168de44486fSIan Rogers        "UMask": "0x8"
169de44486fSIan Rogers    },
170de44486fSIan Rogers    {
1714babba55SJin Yao        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
1724babba55SJin Yao        "EventCode": "0xec",
1734babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
1744babba55SJin Yao        "PublicDescription": "This event distributes cycle counts between active hyperthreads, i.e., those in C0.  A hyperthread becomes inactive when it executes the HLT or MWAIT instructions.  If all other hyperthreads are inactive (or disabled or do not exist), all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
1754babba55SJin Yao        "SampleAfterValue": "2000003",
1764babba55SJin Yao        "UMask": "0x2"
1774babba55SJin Yao    },
1784babba55SJin Yao    {
1794babba55SJin Yao        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
1804babba55SJin Yao        "EventCode": "0x3c",
1814babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
1824babba55SJin Yao        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
1834babba55SJin Yao        "SampleAfterValue": "25003",
1844babba55SJin Yao        "UMask": "0x2"
1854babba55SJin Yao    },
1864babba55SJin Yao    {
1874babba55SJin Yao        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
1884babba55SJin Yao        "EventCode": "0x3c",
1894babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
1904babba55SJin Yao        "PublicDescription": "This event distributes Core crystal clock cycle counts between active hyperthreads, i.e., those in C0 sleep-state. A hyperthread becomes inactive when it executes the HLT or MWAIT instructions. If one thread is active in a core, all counts are attributed to this hyperthread. To obtain the full count when the Core is active, sum the counts from each hyperthread.",
1914babba55SJin Yao        "SampleAfterValue": "2000003",
1924babba55SJin Yao        "UMask": "0x8"
1934babba55SJin Yao    },
1944babba55SJin Yao    {
1954babba55SJin Yao        "BriefDescription": "Reference cycles when the core is not in halt state.",
1964babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
1974babba55SJin Yao        "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 eight 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.",
1984babba55SJin Yao        "SampleAfterValue": "2000003",
1994babba55SJin Yao        "UMask": "0x3"
2004babba55SJin Yao    },
2014babba55SJin Yao    {
2024babba55SJin Yao        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
2034babba55SJin Yao        "EventCode": "0x3c",
2044babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
2054babba55SJin Yao        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
2064babba55SJin Yao        "SampleAfterValue": "25003",
2074babba55SJin Yao        "UMask": "0x1"
2084babba55SJin Yao    },
2094babba55SJin Yao    {
2104babba55SJin Yao        "BriefDescription": "Core cycles when the thread is not in halt state",
2114babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD",
2124babba55SJin Yao        "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 eight programmable counters available for other events.",
2134babba55SJin Yao        "SampleAfterValue": "2000003",
2144babba55SJin Yao        "UMask": "0x2"
2154babba55SJin Yao    },
2164babba55SJin Yao    {
2174babba55SJin Yao        "BriefDescription": "Thread cycles when thread is not in halt state",
2184babba55SJin Yao        "EventCode": "0x3c",
2194babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
2204babba55SJin Yao        "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.",
2214babba55SJin Yao        "SampleAfterValue": "2000003"
2224babba55SJin Yao    },
2234babba55SJin Yao    {
2244babba55SJin Yao        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
2254babba55SJin Yao        "CounterMask": "8",
2264babba55SJin Yao        "EventCode": "0xa3",
2274babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
2284babba55SJin Yao        "SampleAfterValue": "1000003",
2294babba55SJin Yao        "UMask": "0x8"
2304babba55SJin Yao    },
2314babba55SJin Yao    {
2324babba55SJin Yao        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
2334babba55SJin Yao        "CounterMask": "1",
2344babba55SJin Yao        "EventCode": "0xa3",
2354babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
2364babba55SJin Yao        "SampleAfterValue": "1000003",
2374babba55SJin Yao        "UMask": "0x1"
2384babba55SJin Yao    },
2394babba55SJin Yao    {
2404babba55SJin Yao        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
2414babba55SJin Yao        "CounterMask": "16",
2424babba55SJin Yao        "EventCode": "0xa3",
2434babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
2444babba55SJin Yao        "SampleAfterValue": "1000003",
2454babba55SJin Yao        "UMask": "0x10"
2464babba55SJin Yao    },
2474babba55SJin Yao    {
2484babba55SJin Yao        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
2494babba55SJin Yao        "CounterMask": "12",
2504babba55SJin Yao        "EventCode": "0xa3",
2514babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
2524babba55SJin Yao        "SampleAfterValue": "1000003",
2534babba55SJin Yao        "UMask": "0xc"
2544babba55SJin Yao    },
2554babba55SJin Yao    {
2564babba55SJin Yao        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
2574babba55SJin Yao        "CounterMask": "5",
2584babba55SJin Yao        "EventCode": "0xa3",
2594babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
2604babba55SJin Yao        "SampleAfterValue": "1000003",
2614babba55SJin Yao        "UMask": "0x5"
2624babba55SJin Yao    },
2634babba55SJin Yao    {
2644babba55SJin Yao        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
2654babba55SJin Yao        "CounterMask": "20",
2664babba55SJin Yao        "EventCode": "0xa3",
2674babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
2684babba55SJin Yao        "SampleAfterValue": "1000003",
2694babba55SJin Yao        "UMask": "0x14"
2704babba55SJin Yao    },
2714babba55SJin Yao    {
2724babba55SJin Yao        "BriefDescription": "Total execution stalls.",
2734babba55SJin Yao        "CounterMask": "4",
2744babba55SJin Yao        "EventCode": "0xa3",
2754babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
2764babba55SJin Yao        "SampleAfterValue": "1000003",
2774babba55SJin Yao        "UMask": "0x4"
2784babba55SJin Yao    },
2794babba55SJin Yao    {
2804babba55SJin Yao        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
2814babba55SJin Yao        "EventCode": "0xa6",
2824babba55SJin Yao        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
2834babba55SJin Yao        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
2844babba55SJin Yao        "SampleAfterValue": "2000003",
2854babba55SJin Yao        "UMask": "0x2"
2864babba55SJin Yao    },
2874babba55SJin Yao    {
2884babba55SJin Yao        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
2894babba55SJin Yao        "EventCode": "0xa6",
2904babba55SJin Yao        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
2914babba55SJin Yao        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
2924babba55SJin Yao        "SampleAfterValue": "2000003",
2934babba55SJin Yao        "UMask": "0x4"
2944babba55SJin Yao    },
2954babba55SJin Yao    {
2964babba55SJin Yao        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
2974babba55SJin Yao        "EventCode": "0xa6",
2984babba55SJin Yao        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
2994babba55SJin Yao        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
3004babba55SJin Yao        "SampleAfterValue": "2000003",
3014babba55SJin Yao        "UMask": "0x8"
3024babba55SJin Yao    },
3034babba55SJin Yao    {
3044babba55SJin Yao        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
3054babba55SJin Yao        "EventCode": "0xa6",
3064babba55SJin Yao        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
3074babba55SJin Yao        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
3084babba55SJin Yao        "SampleAfterValue": "2000003",
3094babba55SJin Yao        "UMask": "0x10"
3104babba55SJin Yao    },
3114babba55SJin Yao    {
3124babba55SJin Yao        "BriefDescription": "Cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
3134babba55SJin Yao        "CounterMask": "5",
3144babba55SJin Yao        "EventCode": "0xa6",
3154babba55SJin Yao        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
3164babba55SJin Yao        "PublicDescription": "Counts cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
3174babba55SJin Yao        "SampleAfterValue": "2000003",
3184babba55SJin Yao        "UMask": "0x21"
3194babba55SJin Yao    },
3204babba55SJin Yao    {
3214babba55SJin Yao        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
3224babba55SJin Yao        "CounterMask": "2",
3234babba55SJin Yao        "EventCode": "0xa6",
3244babba55SJin Yao        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
3254babba55SJin Yao        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
3264babba55SJin Yao        "SampleAfterValue": "1000003",
3274babba55SJin Yao        "UMask": "0x40"
3284babba55SJin Yao    },
3294babba55SJin Yao    {
3305e1dd4f2SIan Rogers        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
3314babba55SJin Yao        "EventCode": "0xa6",
3324babba55SJin Yao        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
3335e1dd4f2SIan Rogers        "PublicDescription": "Number of cycles total of 0 uops executed on all ports, Reservation Station (RS) was not empty, the Store Buffer (SB) was not full and there was no outstanding load.",
3344babba55SJin Yao        "SampleAfterValue": "1000003",
3354babba55SJin Yao        "UMask": "0x80"
3364babba55SJin Yao    },
3374babba55SJin Yao    {
338*887e845fSIan Rogers        "BriefDescription": "Stalls caused by changing prefix length of the instruction. [This event is alias to DECODE.LCP]",
3394babba55SJin Yao        "EventCode": "0x87",
3404babba55SJin Yao        "EventName": "ILD_STALL.LCP",
341*887e845fSIan Rogers        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk. [This event is alias to DECODE.LCP]",
3424babba55SJin Yao        "SampleAfterValue": "500009",
3434babba55SJin Yao        "UMask": "0x1"
3444babba55SJin Yao    },
3454babba55SJin Yao    {
34643d54e94SIan Rogers        "BriefDescription": "Instruction decoders utilized in a cycle",
34743d54e94SIan Rogers        "EventCode": "0x55",
34843d54e94SIan Rogers        "EventName": "INST_DECODED.DECODERS",
34943d54e94SIan Rogers        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
35043d54e94SIan Rogers        "SampleAfterValue": "2000003",
35143d54e94SIan Rogers        "UMask": "0x1"
35243d54e94SIan Rogers    },
35343d54e94SIan Rogers    {
3544babba55SJin Yao        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
3554babba55SJin Yao        "EventName": "INST_RETIRED.ANY",
3564babba55SJin Yao        "PEBS": "1",
3574babba55SJin Yao        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
3584babba55SJin Yao        "SampleAfterValue": "2000003",
3594babba55SJin Yao        "UMask": "0x1"
3604babba55SJin Yao    },
3614babba55SJin Yao    {
3624babba55SJin Yao        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
3634babba55SJin Yao        "EventCode": "0xc0",
3644babba55SJin Yao        "EventName": "INST_RETIRED.ANY_P",
3654babba55SJin Yao        "PEBS": "1",
3664babba55SJin Yao        "PublicDescription": "Counts the number of X86 instructions retired - an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside interrupt handlers. Notes: INST_RETIRED.ANY is counted by a designated fixed counter freeing up programmable counters to count other events. INST_RETIRED.ANY_P is counted by a programmable counter.",
3674babba55SJin Yao        "SampleAfterValue": "2000003"
3684babba55SJin Yao    },
3694babba55SJin Yao    {
37069f685e0SIan Rogers        "BriefDescription": "Retired NOP instructions.",
37143d54e94SIan Rogers        "EventCode": "0xc0",
37243d54e94SIan Rogers        "EventName": "INST_RETIRED.NOP",
37343d54e94SIan Rogers        "PEBS": "1",
37469f685e0SIan Rogers        "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
37543d54e94SIan Rogers        "SampleAfterValue": "2000003",
37643d54e94SIan Rogers        "UMask": "0x2"
37743d54e94SIan Rogers    },
37843d54e94SIan Rogers    {
3794babba55SJin Yao        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
3804babba55SJin Yao        "EventName": "INST_RETIRED.PREC_DIST",
3814babba55SJin Yao        "PEBS": "1",
3824babba55SJin Yao        "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. Use on Fixed Counter 0.",
3834babba55SJin Yao        "SampleAfterValue": "2000003",
3844babba55SJin Yao        "UMask": "0x1"
3854babba55SJin Yao    },
3864babba55SJin Yao    {
3874babba55SJin Yao        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
3884babba55SJin Yao        "CounterMask": "1",
3894babba55SJin Yao        "EventCode": "0x0d",
3904babba55SJin Yao        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
3914babba55SJin Yao        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
3924babba55SJin Yao        "SampleAfterValue": "2000003",
3934babba55SJin Yao        "UMask": "0x3"
3944babba55SJin Yao    },
3954babba55SJin Yao    {
396de44486fSIan Rogers        "BriefDescription": "Clears speculative count",
397de44486fSIan Rogers        "CounterMask": "1",
398bc4e4121SIan Rogers        "EdgeDetect": "1",
399de44486fSIan Rogers        "EventCode": "0x0d",
400de44486fSIan Rogers        "EventName": "INT_MISC.CLEARS_COUNT",
401de44486fSIan Rogers        "PublicDescription": "Counts the number of speculative clears due to any type of branch misprediction or machine clears",
402de44486fSIan Rogers        "SampleAfterValue": "500009",
403de44486fSIan Rogers        "UMask": "0x1"
404de44486fSIan Rogers    },
405de44486fSIan Rogers    {
4064babba55SJin Yao        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
4074babba55SJin Yao        "EventCode": "0x0d",
4084babba55SJin Yao        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
4094babba55SJin Yao        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
4104babba55SJin Yao        "SampleAfterValue": "500009",
4114babba55SJin Yao        "UMask": "0x80"
4124babba55SJin Yao    },
4134babba55SJin Yao    {
4144babba55SJin Yao        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
4154babba55SJin Yao        "EventCode": "0x0d",
4164babba55SJin Yao        "EventName": "INT_MISC.RECOVERY_CYCLES",
4174babba55SJin Yao        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
4184babba55SJin Yao        "SampleAfterValue": "500009",
4194babba55SJin Yao        "UMask": "0x1"
4204babba55SJin Yao    },
4214babba55SJin Yao    {
4224babba55SJin Yao        "BriefDescription": "TMA slots where uops got dropped",
4234babba55SJin Yao        "EventCode": "0x0d",
4244babba55SJin Yao        "EventName": "INT_MISC.UOP_DROPPING",
4254babba55SJin Yao        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
4264babba55SJin Yao        "SampleAfterValue": "1000003",
4274babba55SJin Yao        "UMask": "0x10"
4284babba55SJin Yao    },
4294babba55SJin Yao    {
4304babba55SJin Yao        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
4314babba55SJin Yao        "EventCode": "0x03",
4324babba55SJin Yao        "EventName": "LD_BLOCKS.NO_SR",
4334babba55SJin Yao        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
4344babba55SJin Yao        "SampleAfterValue": "100003",
4354babba55SJin Yao        "UMask": "0x8"
4364babba55SJin Yao    },
4374babba55SJin Yao    {
4384babba55SJin Yao        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
4394babba55SJin Yao        "EventCode": "0x03",
4404babba55SJin Yao        "EventName": "LD_BLOCKS.STORE_FORWARD",
4414babba55SJin Yao        "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.",
4424babba55SJin Yao        "SampleAfterValue": "100003",
4434babba55SJin Yao        "UMask": "0x2"
4444babba55SJin Yao    },
4454babba55SJin Yao    {
4464babba55SJin Yao        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
4474babba55SJin Yao        "EventCode": "0x07",
4484babba55SJin Yao        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
4494babba55SJin Yao        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
4504babba55SJin Yao        "SampleAfterValue": "100003",
4514babba55SJin Yao        "UMask": "0x1"
4524babba55SJin Yao    },
4534babba55SJin Yao    {
4544babba55SJin Yao        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
4554babba55SJin Yao        "EventCode": "0x4c",
4564babba55SJin Yao        "EventName": "LOAD_HIT_PREFETCH.SWPF",
4574babba55SJin Yao        "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.",
4584babba55SJin Yao        "SampleAfterValue": "100003",
4594babba55SJin Yao        "UMask": "0x1"
4604babba55SJin Yao    },
4614babba55SJin Yao    {
4624babba55SJin Yao        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
4634babba55SJin Yao        "CounterMask": "1",
4644babba55SJin Yao        "EventCode": "0xa8",
4654babba55SJin Yao        "EventName": "LSD.CYCLES_ACTIVE",
4664babba55SJin Yao        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
4674babba55SJin Yao        "SampleAfterValue": "2000003",
4684babba55SJin Yao        "UMask": "0x1"
4694babba55SJin Yao    },
4704babba55SJin Yao    {
4714babba55SJin Yao        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
4724babba55SJin Yao        "CounterMask": "5",
4734babba55SJin Yao        "EventCode": "0xa8",
4744babba55SJin Yao        "EventName": "LSD.CYCLES_OK",
4754babba55SJin Yao        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
4764babba55SJin Yao        "SampleAfterValue": "2000003",
4774babba55SJin Yao        "UMask": "0x1"
4784babba55SJin Yao    },
4794babba55SJin Yao    {
4804babba55SJin Yao        "BriefDescription": "Number of Uops delivered by the LSD.",
4814babba55SJin Yao        "EventCode": "0xa8",
4824babba55SJin Yao        "EventName": "LSD.UOPS",
4834babba55SJin Yao        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
4844babba55SJin Yao        "SampleAfterValue": "2000003",
4854babba55SJin Yao        "UMask": "0x1"
4864babba55SJin Yao    },
4874babba55SJin Yao    {
4884babba55SJin Yao        "BriefDescription": "Number of machine clears (nukes) of any type.",
4894babba55SJin Yao        "CounterMask": "1",
4904babba55SJin Yao        "EdgeDetect": "1",
4914babba55SJin Yao        "EventCode": "0xc3",
4924babba55SJin Yao        "EventName": "MACHINE_CLEARS.COUNT",
4934babba55SJin Yao        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
4944babba55SJin Yao        "SampleAfterValue": "100003",
4954babba55SJin Yao        "UMask": "0x1"
4964babba55SJin Yao    },
4974babba55SJin Yao    {
4984babba55SJin Yao        "BriefDescription": "Self-modifying code (SMC) detected.",
4994babba55SJin Yao        "EventCode": "0xc3",
5004babba55SJin Yao        "EventName": "MACHINE_CLEARS.SMC",
5014babba55SJin Yao        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
5024babba55SJin Yao        "SampleAfterValue": "100003",
5034babba55SJin Yao        "UMask": "0x4"
5044babba55SJin Yao    },
5054babba55SJin Yao    {
5064babba55SJin Yao        "BriefDescription": "Increments whenever there is an update to the LBR array.",
5074babba55SJin Yao        "EventCode": "0xcc",
5084babba55SJin Yao        "EventName": "MISC_RETIRED.LBR_INSERTS",
5094babba55SJin Yao        "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.",
5104babba55SJin Yao        "SampleAfterValue": "100003",
5114babba55SJin Yao        "UMask": "0x20"
5124babba55SJin Yao    },
5134babba55SJin Yao    {
5144babba55SJin Yao        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
5154babba55SJin Yao        "EventCode": "0xcc",
5164babba55SJin Yao        "EventName": "MISC_RETIRED.PAUSE_INST",
5174babba55SJin Yao        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
5184babba55SJin Yao        "SampleAfterValue": "100003",
5194babba55SJin Yao        "UMask": "0x40"
5204babba55SJin Yao    },
5214babba55SJin Yao    {
5224babba55SJin Yao        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
5234babba55SJin Yao        "EventCode": "0xa2",
5244babba55SJin Yao        "EventName": "RESOURCE_STALLS.SB",
5254babba55SJin Yao        "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.",
5264babba55SJin Yao        "SampleAfterValue": "100003",
5274babba55SJin Yao        "UMask": "0x8"
5284babba55SJin Yao    },
5294babba55SJin Yao    {
5304babba55SJin Yao        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
5314babba55SJin Yao        "EventCode": "0xa2",
5324babba55SJin Yao        "EventName": "RESOURCE_STALLS.SCOREBOARD",
5334babba55SJin Yao        "SampleAfterValue": "100003",
5344babba55SJin Yao        "UMask": "0x2"
5354babba55SJin Yao    },
5364babba55SJin Yao    {
5374babba55SJin Yao        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
5384babba55SJin Yao        "EventCode": "0x5e",
5394babba55SJin Yao        "EventName": "RS_EVENTS.EMPTY_CYCLES",
5404babba55SJin Yao        "PublicDescription": "Counts cycles during which the reservation station (RS) is empty for this logical processor. This is usually caused when the front-end pipeline runs into stravation periods (e.g. branch mispredictions or i-cache misses)",
5414babba55SJin Yao        "SampleAfterValue": "1000003",
5424babba55SJin Yao        "UMask": "0x1"
5434babba55SJin Yao    },
5444babba55SJin Yao    {
5454babba55SJin Yao        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
5464babba55SJin Yao        "CounterMask": "1",
5474babba55SJin Yao        "EdgeDetect": "1",
5484babba55SJin Yao        "EventCode": "0x5e",
5494babba55SJin Yao        "EventName": "RS_EVENTS.EMPTY_END",
5504babba55SJin Yao        "Invert": "1",
5514babba55SJin Yao        "PublicDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to closely sample on front-end latency issues (see the FRONTEND_RETIRED event of designated precise events)",
5524babba55SJin Yao        "SampleAfterValue": "100003",
5534babba55SJin Yao        "UMask": "0x1"
5544babba55SJin Yao    },
5554babba55SJin Yao    {
55642e80e1aSIan Rogers        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
55742e80e1aSIan Rogers        "EventCode": "0xa4",
55842e80e1aSIan Rogers        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
55942e80e1aSIan Rogers        "PublicDescription": "Counts the number of Top-down Microarchitecture Analysis (TMA) method's  slots where no micro-operations were being issued from front-end to back-end of the machine due to lack of back-end resources.",
56042e80e1aSIan Rogers        "SampleAfterValue": "10000003",
56142e80e1aSIan Rogers        "UMask": "0x2"
56242e80e1aSIan Rogers    },
56342e80e1aSIan Rogers    {
56442e80e1aSIan Rogers        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
56542e80e1aSIan Rogers        "EventCode": "0xa4",
56642e80e1aSIan Rogers        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
567*887e845fSIan Rogers        "PublicDescription": "Number of TMA slots that were wasted due to incorrect speculation by branch mispredictions. This event estimates number of operations that were issued but not retired from the speculative path as well as the out-of-order engine recovery past a branch misprediction.",
56842e80e1aSIan Rogers        "SampleAfterValue": "10000003",
56942e80e1aSIan Rogers        "UMask": "0x8"
57042e80e1aSIan Rogers    },
57142e80e1aSIan Rogers    {
57242e80e1aSIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
57342e80e1aSIan Rogers        "EventName": "TOPDOWN.SLOTS",
57442e80e1aSIan Rogers        "PublicDescription": "Number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method (TMA). The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core. Software can use this event as the denominator for the top-level metrics of the TMA method. This architectural event is counted on a designated fixed counter (Fixed Counter 3).",
57542e80e1aSIan Rogers        "SampleAfterValue": "10000003",
57642e80e1aSIan Rogers        "UMask": "0x4"
57742e80e1aSIan Rogers    },
57842e80e1aSIan Rogers    {
57942e80e1aSIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
58042e80e1aSIan Rogers        "EventCode": "0xa4",
58142e80e1aSIan Rogers        "EventName": "TOPDOWN.SLOTS_P",
58242e80e1aSIan Rogers        "PublicDescription": "Counts the number of available slots for an unhalted logical processor. The event increments by machine-width of the narrowest pipeline as employed by the Top-down Microarchitecture Analysis method. The count is distributed among unhalted logical processors (hyper-threads) who share the same physical core.",
58342e80e1aSIan Rogers        "SampleAfterValue": "10000003",
58442e80e1aSIan Rogers        "UMask": "0x1"
58542e80e1aSIan Rogers    },
58642e80e1aSIan Rogers    {
58743d54e94SIan Rogers        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
58843d54e94SIan Rogers        "EventCode": "0x56",
58943d54e94SIan Rogers        "EventName": "UOPS_DECODED.DEC0",
59043d54e94SIan Rogers        "PublicDescription": "Uops exclusively fetched by decoder 0",
59143d54e94SIan Rogers        "SampleAfterValue": "1000003",
59243d54e94SIan Rogers        "UMask": "0x1"
59343d54e94SIan Rogers    },
59443d54e94SIan Rogers    {
5954babba55SJin Yao        "BriefDescription": "Number of uops executed on port 0",
5964babba55SJin Yao        "EventCode": "0xa1",
5974babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_0",
5984babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
5994babba55SJin Yao        "SampleAfterValue": "2000003",
6004babba55SJin Yao        "UMask": "0x1"
6014babba55SJin Yao    },
6024babba55SJin Yao    {
6034babba55SJin Yao        "BriefDescription": "Number of uops executed on port 1",
6044babba55SJin Yao        "EventCode": "0xa1",
6054babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_1",
6064babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
6074babba55SJin Yao        "SampleAfterValue": "2000003",
6084babba55SJin Yao        "UMask": "0x2"
6094babba55SJin Yao    },
6104babba55SJin Yao    {
6114babba55SJin Yao        "BriefDescription": "Number of uops executed on port 2 and 3",
6124babba55SJin Yao        "EventCode": "0xa1",
6134babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_2_3",
6144babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 2 and 3.",
6154babba55SJin Yao        "SampleAfterValue": "2000003",
6164babba55SJin Yao        "UMask": "0x4"
6174babba55SJin Yao    },
6184babba55SJin Yao    {
6194babba55SJin Yao        "BriefDescription": "Number of uops executed on port 4 and 9",
6204babba55SJin Yao        "EventCode": "0xa1",
6214babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_4_9",
6224babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 5 and 9.",
6234babba55SJin Yao        "SampleAfterValue": "2000003",
6244babba55SJin Yao        "UMask": "0x10"
6254babba55SJin Yao    },
6264babba55SJin Yao    {
6274babba55SJin Yao        "BriefDescription": "Number of uops executed on port 5",
6284babba55SJin Yao        "EventCode": "0xa1",
6294babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_5",
6304babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
6314babba55SJin Yao        "SampleAfterValue": "2000003",
6324babba55SJin Yao        "UMask": "0x20"
6334babba55SJin Yao    },
6344babba55SJin Yao    {
6354babba55SJin Yao        "BriefDescription": "Number of uops executed on port 6",
6364babba55SJin Yao        "EventCode": "0xa1",
6374babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_6",
6384babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
6394babba55SJin Yao        "SampleAfterValue": "2000003",
6404babba55SJin Yao        "UMask": "0x40"
6414babba55SJin Yao    },
6424babba55SJin Yao    {
6434babba55SJin Yao        "BriefDescription": "Number of uops executed on port 7 and 8",
6444babba55SJin Yao        "EventCode": "0xa1",
6454babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_7_8",
6464babba55SJin Yao        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to ports 7 and 8.",
6474babba55SJin Yao        "SampleAfterValue": "2000003",
6484babba55SJin Yao        "UMask": "0x80"
6494babba55SJin Yao    },
6504babba55SJin Yao    {
6514babba55SJin Yao        "BriefDescription": "Number of uops executed on the core.",
6524babba55SJin Yao        "EventCode": "0xb1",
6534babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE",
6544babba55SJin Yao        "PublicDescription": "Counts the number of uops executed from any thread.",
6554babba55SJin Yao        "SampleAfterValue": "2000003",
6564babba55SJin Yao        "UMask": "0x2"
6574babba55SJin Yao    },
6584babba55SJin Yao    {
6594babba55SJin Yao        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
6604babba55SJin Yao        "CounterMask": "1",
6614babba55SJin Yao        "EventCode": "0xb1",
6624babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
6634babba55SJin Yao        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
6644babba55SJin Yao        "SampleAfterValue": "2000003",
6654babba55SJin Yao        "UMask": "0x2"
6664babba55SJin Yao    },
6674babba55SJin Yao    {
6684babba55SJin Yao        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
6694babba55SJin Yao        "CounterMask": "2",
6704babba55SJin Yao        "EventCode": "0xb1",
6714babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
6724babba55SJin Yao        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
6734babba55SJin Yao        "SampleAfterValue": "2000003",
6744babba55SJin Yao        "UMask": "0x2"
6754babba55SJin Yao    },
6764babba55SJin Yao    {
6774babba55SJin Yao        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
6784babba55SJin Yao        "CounterMask": "3",
6794babba55SJin Yao        "EventCode": "0xb1",
6804babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
6814babba55SJin Yao        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
6824babba55SJin Yao        "SampleAfterValue": "2000003",
6834babba55SJin Yao        "UMask": "0x2"
6844babba55SJin Yao    },
6854babba55SJin Yao    {
6864babba55SJin Yao        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
6874babba55SJin Yao        "CounterMask": "4",
6884babba55SJin Yao        "EventCode": "0xb1",
6894babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
6904babba55SJin Yao        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
6914babba55SJin Yao        "SampleAfterValue": "2000003",
6924babba55SJin Yao        "UMask": "0x2"
6934babba55SJin Yao    },
6944babba55SJin Yao    {
6954babba55SJin Yao        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
6964babba55SJin Yao        "CounterMask": "1",
6974babba55SJin Yao        "EventCode": "0xb1",
6984babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
6994babba55SJin Yao        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
7004babba55SJin Yao        "SampleAfterValue": "2000003",
7014babba55SJin Yao        "UMask": "0x1"
7024babba55SJin Yao    },
7034babba55SJin Yao    {
7044babba55SJin Yao        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
7054babba55SJin Yao        "CounterMask": "2",
7064babba55SJin Yao        "EventCode": "0xb1",
7074babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
7084babba55SJin Yao        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
7094babba55SJin Yao        "SampleAfterValue": "2000003",
7104babba55SJin Yao        "UMask": "0x1"
7114babba55SJin Yao    },
7124babba55SJin Yao    {
7134babba55SJin Yao        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
7144babba55SJin Yao        "CounterMask": "3",
7154babba55SJin Yao        "EventCode": "0xb1",
7164babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
7174babba55SJin Yao        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
7184babba55SJin Yao        "SampleAfterValue": "2000003",
7194babba55SJin Yao        "UMask": "0x1"
7204babba55SJin Yao    },
7214babba55SJin Yao    {
7224babba55SJin Yao        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
7234babba55SJin Yao        "CounterMask": "4",
7244babba55SJin Yao        "EventCode": "0xb1",
7254babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
7264babba55SJin Yao        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
7274babba55SJin Yao        "SampleAfterValue": "2000003",
7284babba55SJin Yao        "UMask": "0x1"
7294babba55SJin Yao    },
7304babba55SJin Yao    {
7314babba55SJin Yao        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
7324babba55SJin Yao        "CounterMask": "1",
7334babba55SJin Yao        "EventCode": "0xb1",
7344babba55SJin Yao        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
7354babba55SJin Yao        "Invert": "1",
7364babba55SJin Yao        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
7374babba55SJin Yao        "SampleAfterValue": "2000003",
7384babba55SJin Yao        "UMask": "0x1"
7394babba55SJin Yao    },
7404babba55SJin Yao    {
7414babba55SJin Yao        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
7424babba55SJin Yao        "EventCode": "0xb1",
7434babba55SJin Yao        "EventName": "UOPS_EXECUTED.THREAD",
7444babba55SJin Yao        "SampleAfterValue": "2000003",
7454babba55SJin Yao        "UMask": "0x1"
7464babba55SJin Yao    },
7474babba55SJin Yao    {
7484babba55SJin Yao        "BriefDescription": "Counts the number of x87 uops dispatched.",
7494babba55SJin Yao        "EventCode": "0xb1",
7504babba55SJin Yao        "EventName": "UOPS_EXECUTED.X87",
7514babba55SJin Yao        "PublicDescription": "Counts the number of x87 uops executed.",
7524babba55SJin Yao        "SampleAfterValue": "2000003",
7534babba55SJin Yao        "UMask": "0x10"
7544babba55SJin Yao    },
7554babba55SJin Yao    {
7564babba55SJin Yao        "BriefDescription": "Uops that RAT issues to RS",
7574babba55SJin Yao        "EventCode": "0x0e",
7584babba55SJin Yao        "EventName": "UOPS_ISSUED.ANY",
7594babba55SJin Yao        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
7604babba55SJin Yao        "SampleAfterValue": "2000003",
7614babba55SJin Yao        "UMask": "0x1"
7624babba55SJin Yao    },
7634babba55SJin Yao    {
7644babba55SJin Yao        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
7654babba55SJin Yao        "CounterMask": "1",
7664babba55SJin Yao        "EventCode": "0x0e",
7674babba55SJin Yao        "EventName": "UOPS_ISSUED.STALL_CYCLES",
7684babba55SJin Yao        "Invert": "1",
7694babba55SJin Yao        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
7704babba55SJin Yao        "SampleAfterValue": "1000003",
7714babba55SJin Yao        "UMask": "0x1"
7724babba55SJin Yao    },
7734babba55SJin Yao    {
7744babba55SJin Yao        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
7754babba55SJin Yao        "EventCode": "0x0e",
7764babba55SJin Yao        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
7774babba55SJin Yao        "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.",
7784babba55SJin Yao        "SampleAfterValue": "100003",
7794babba55SJin Yao        "UMask": "0x2"
7804babba55SJin Yao    },
7814babba55SJin Yao    {
7824babba55SJin Yao        "BriefDescription": "Retirement slots used.",
7834babba55SJin Yao        "EventCode": "0xc2",
7844babba55SJin Yao        "EventName": "UOPS_RETIRED.SLOTS",
7854babba55SJin Yao        "PublicDescription": "Counts the retirement slots used each cycle.",
7864babba55SJin Yao        "SampleAfterValue": "2000003",
7874babba55SJin Yao        "UMask": "0x2"
7884babba55SJin Yao    },
7894babba55SJin Yao    {
7904babba55SJin Yao        "BriefDescription": "Cycles without actually retired uops.",
7914babba55SJin Yao        "CounterMask": "1",
7924babba55SJin Yao        "EventCode": "0xc2",
7934babba55SJin Yao        "EventName": "UOPS_RETIRED.STALL_CYCLES",
7944babba55SJin Yao        "Invert": "1",
7954babba55SJin Yao        "PublicDescription": "This event counts cycles without actually retired uops.",
7964babba55SJin Yao        "SampleAfterValue": "1000003",
7974babba55SJin Yao        "UMask": "0x2"
7984babba55SJin Yao    },
7994babba55SJin Yao    {
8004babba55SJin Yao        "BriefDescription": "Cycles with less than 10 actually retired uops.",
8014babba55SJin Yao        "CounterMask": "10",
8024babba55SJin Yao        "EventCode": "0xc2",
8034babba55SJin Yao        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
8044babba55SJin Yao        "Invert": "1",
80569f685e0SIan Rogers        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
8064babba55SJin Yao        "SampleAfterValue": "1000003",
8074babba55SJin Yao        "UMask": "0x2"
8084babba55SJin Yao    }
8094babba55SJin Yao]
810