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    {
126*69f685e0SIan 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    {
1624babba55SJin Yao        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
1634babba55SJin Yao        "EventCode": "0xec",
1644babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
1654babba55SJin 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.",
1664babba55SJin Yao        "SampleAfterValue": "2000003",
1674babba55SJin Yao        "UMask": "0x2"
1684babba55SJin Yao    },
1694babba55SJin Yao    {
1704babba55SJin Yao        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
1714babba55SJin Yao        "EventCode": "0x3c",
1724babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
1734babba55SJin Yao        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
1744babba55SJin Yao        "SampleAfterValue": "25003",
1754babba55SJin Yao        "UMask": "0x2"
1764babba55SJin Yao    },
1774babba55SJin Yao    {
1784babba55SJin Yao        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
1794babba55SJin Yao        "EventCode": "0x3c",
1804babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
1814babba55SJin 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.",
1824babba55SJin Yao        "SampleAfterValue": "2000003",
1834babba55SJin Yao        "UMask": "0x8"
1844babba55SJin Yao    },
1854babba55SJin Yao    {
1864babba55SJin Yao        "BriefDescription": "Reference cycles when the core is not in halt state.",
1874babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
1884babba55SJin 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.",
1894babba55SJin Yao        "SampleAfterValue": "2000003",
1904babba55SJin Yao        "UMask": "0x3"
1914babba55SJin Yao    },
1924babba55SJin Yao    {
1934babba55SJin Yao        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
1944babba55SJin Yao        "EventCode": "0x3c",
1954babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
1964babba55SJin Yao        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
1974babba55SJin Yao        "SampleAfterValue": "25003",
1984babba55SJin Yao        "UMask": "0x1"
1994babba55SJin Yao    },
2004babba55SJin Yao    {
2014babba55SJin Yao        "BriefDescription": "Core cycles when the thread is not in halt state",
2024babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD",
2034babba55SJin 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.",
2044babba55SJin Yao        "SampleAfterValue": "2000003",
2054babba55SJin Yao        "UMask": "0x2"
2064babba55SJin Yao    },
2074babba55SJin Yao    {
2084babba55SJin Yao        "BriefDescription": "Thread cycles when thread is not in halt state",
2094babba55SJin Yao        "EventCode": "0x3c",
2104babba55SJin Yao        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
2114babba55SJin 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.",
2124babba55SJin Yao        "SampleAfterValue": "2000003"
2134babba55SJin Yao    },
2144babba55SJin Yao    {
2154babba55SJin Yao        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
2164babba55SJin Yao        "CounterMask": "8",
2174babba55SJin Yao        "EventCode": "0xa3",
2184babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
2194babba55SJin Yao        "SampleAfterValue": "1000003",
2204babba55SJin Yao        "UMask": "0x8"
2214babba55SJin Yao    },
2224babba55SJin Yao    {
2234babba55SJin Yao        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
2244babba55SJin Yao        "CounterMask": "1",
2254babba55SJin Yao        "EventCode": "0xa3",
2264babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
2274babba55SJin Yao        "SampleAfterValue": "1000003",
2284babba55SJin Yao        "UMask": "0x1"
2294babba55SJin Yao    },
2304babba55SJin Yao    {
2314babba55SJin Yao        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
2324babba55SJin Yao        "CounterMask": "16",
2334babba55SJin Yao        "EventCode": "0xa3",
2344babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
2354babba55SJin Yao        "SampleAfterValue": "1000003",
2364babba55SJin Yao        "UMask": "0x10"
2374babba55SJin Yao    },
2384babba55SJin Yao    {
2394babba55SJin Yao        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
2404babba55SJin Yao        "CounterMask": "12",
2414babba55SJin Yao        "EventCode": "0xa3",
2424babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
2434babba55SJin Yao        "SampleAfterValue": "1000003",
2444babba55SJin Yao        "UMask": "0xc"
2454babba55SJin Yao    },
2464babba55SJin Yao    {
2474babba55SJin Yao        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
2484babba55SJin Yao        "CounterMask": "5",
2494babba55SJin Yao        "EventCode": "0xa3",
2504babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
2514babba55SJin Yao        "SampleAfterValue": "1000003",
2524babba55SJin Yao        "UMask": "0x5"
2534babba55SJin Yao    },
2544babba55SJin Yao    {
2554babba55SJin Yao        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
2564babba55SJin Yao        "CounterMask": "20",
2574babba55SJin Yao        "EventCode": "0xa3",
2584babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
2594babba55SJin Yao        "SampleAfterValue": "1000003",
2604babba55SJin Yao        "UMask": "0x14"
2614babba55SJin Yao    },
2624babba55SJin Yao    {
2634babba55SJin Yao        "BriefDescription": "Total execution stalls.",
2644babba55SJin Yao        "CounterMask": "4",
2654babba55SJin Yao        "EventCode": "0xa3",
2664babba55SJin Yao        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
2674babba55SJin Yao        "SampleAfterValue": "1000003",
2684babba55SJin Yao        "UMask": "0x4"
2694babba55SJin Yao    },
2704babba55SJin Yao    {
2714babba55SJin Yao        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
2724babba55SJin Yao        "EventCode": "0xa6",
2734babba55SJin Yao        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
2744babba55SJin Yao        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
2754babba55SJin Yao        "SampleAfterValue": "2000003",
2764babba55SJin Yao        "UMask": "0x2"
2774babba55SJin Yao    },
2784babba55SJin Yao    {
2794babba55SJin Yao        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
2804babba55SJin Yao        "EventCode": "0xa6",
2814babba55SJin Yao        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
2824babba55SJin Yao        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
2834babba55SJin Yao        "SampleAfterValue": "2000003",
2844babba55SJin Yao        "UMask": "0x4"
2854babba55SJin Yao    },
2864babba55SJin Yao    {
2874babba55SJin Yao        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
2884babba55SJin Yao        "EventCode": "0xa6",
2894babba55SJin Yao        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
2904babba55SJin Yao        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
2914babba55SJin Yao        "SampleAfterValue": "2000003",
2924babba55SJin Yao        "UMask": "0x8"
2934babba55SJin Yao    },
2944babba55SJin Yao    {
2954babba55SJin Yao        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
2964babba55SJin Yao        "EventCode": "0xa6",
2974babba55SJin Yao        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
2984babba55SJin Yao        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
2994babba55SJin Yao        "SampleAfterValue": "2000003",
3004babba55SJin Yao        "UMask": "0x10"
3014babba55SJin Yao    },
3024babba55SJin Yao    {
3034babba55SJin Yao        "BriefDescription": "Cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
3044babba55SJin Yao        "CounterMask": "5",
3054babba55SJin Yao        "EventCode": "0xa6",
3064babba55SJin Yao        "EventName": "EXE_ACTIVITY.BOUND_ON_LOADS",
3074babba55SJin Yao        "PublicDescription": "Counts cycles when the memory subsystem has an outstanding load. Increments by 4 for every such cycle.",
3084babba55SJin Yao        "SampleAfterValue": "2000003",
3094babba55SJin Yao        "UMask": "0x21"
3104babba55SJin Yao    },
3114babba55SJin Yao    {
3124babba55SJin Yao        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
3134babba55SJin Yao        "CounterMask": "2",
3144babba55SJin Yao        "EventCode": "0xa6",
3154babba55SJin Yao        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
3164babba55SJin Yao        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
3174babba55SJin Yao        "SampleAfterValue": "1000003",
3184babba55SJin Yao        "UMask": "0x40"
3194babba55SJin Yao    },
3204babba55SJin Yao    {
3215e1dd4f2SIan Rogers        "BriefDescription": "Cycles no uop executed while RS was not empty, the SB was not full and there was no outstanding load.",
3224babba55SJin Yao        "EventCode": "0xa6",
3234babba55SJin Yao        "EventName": "EXE_ACTIVITY.EXE_BOUND_0_PORTS",
3245e1dd4f2SIan 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.",
3254babba55SJin Yao        "SampleAfterValue": "1000003",
3264babba55SJin Yao        "UMask": "0x80"
3274babba55SJin Yao    },
3284babba55SJin Yao    {
3294babba55SJin Yao        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
3304babba55SJin Yao        "EventCode": "0x87",
3314babba55SJin Yao        "EventName": "ILD_STALL.LCP",
3324babba55SJin Yao        "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.",
3334babba55SJin Yao        "SampleAfterValue": "500009",
3344babba55SJin Yao        "UMask": "0x1"
3354babba55SJin Yao    },
3364babba55SJin Yao    {
33743d54e94SIan Rogers        "BriefDescription": "Instruction decoders utilized in a cycle",
33843d54e94SIan Rogers        "EventCode": "0x55",
33943d54e94SIan Rogers        "EventName": "INST_DECODED.DECODERS",
34043d54e94SIan Rogers        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
34143d54e94SIan Rogers        "SampleAfterValue": "2000003",
34243d54e94SIan Rogers        "UMask": "0x1"
34343d54e94SIan Rogers    },
34443d54e94SIan Rogers    {
3454babba55SJin Yao        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
3464babba55SJin Yao        "EventName": "INST_RETIRED.ANY",
3474babba55SJin Yao        "PEBS": "1",
3484babba55SJin 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.",
3494babba55SJin Yao        "SampleAfterValue": "2000003",
3504babba55SJin Yao        "UMask": "0x1"
3514babba55SJin Yao    },
3524babba55SJin Yao    {
3534babba55SJin Yao        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
3544babba55SJin Yao        "EventCode": "0xc0",
3554babba55SJin Yao        "EventName": "INST_RETIRED.ANY_P",
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    },
3604babba55SJin Yao    {
361*69f685e0SIan Rogers        "BriefDescription": "Retired NOP instructions.",
36243d54e94SIan Rogers        "EventCode": "0xc0",
36343d54e94SIan Rogers        "EventName": "INST_RETIRED.NOP",
36443d54e94SIan Rogers        "PEBS": "1",
365*69f685e0SIan Rogers        "PublicDescription": "Counts all retired NOP or ENDBR32/64 instructions",
36643d54e94SIan Rogers        "SampleAfterValue": "2000003",
36743d54e94SIan Rogers        "UMask": "0x2"
36843d54e94SIan Rogers    },
36943d54e94SIan Rogers    {
3704babba55SJin Yao        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
3714babba55SJin Yao        "EventName": "INST_RETIRED.PREC_DIST",
3724babba55SJin Yao        "PEBS": "1",
3734babba55SJin 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.",
3744babba55SJin Yao        "SampleAfterValue": "2000003",
3754babba55SJin Yao        "UMask": "0x1"
3764babba55SJin Yao    },
3774babba55SJin Yao    {
3784babba55SJin Yao        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
3794babba55SJin Yao        "CounterMask": "1",
3804babba55SJin Yao        "EventCode": "0x0d",
3814babba55SJin Yao        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
3824babba55SJin Yao        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
3834babba55SJin Yao        "SampleAfterValue": "2000003",
3844babba55SJin Yao        "UMask": "0x3"
3854babba55SJin Yao    },
3864babba55SJin Yao    {
3874babba55SJin Yao        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
3884babba55SJin Yao        "EventCode": "0x0d",
3894babba55SJin Yao        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
3904babba55SJin Yao        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
3914babba55SJin Yao        "SampleAfterValue": "500009",
3924babba55SJin Yao        "UMask": "0x80"
3934babba55SJin Yao    },
3944babba55SJin Yao    {
3954babba55SJin Yao        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
3964babba55SJin Yao        "EventCode": "0x0d",
3974babba55SJin Yao        "EventName": "INT_MISC.RECOVERY_CYCLES",
3984babba55SJin Yao        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
3994babba55SJin Yao        "SampleAfterValue": "500009",
4004babba55SJin Yao        "UMask": "0x1"
4014babba55SJin Yao    },
4024babba55SJin Yao    {
4034babba55SJin Yao        "BriefDescription": "TMA slots where uops got dropped",
4044babba55SJin Yao        "EventCode": "0x0d",
4054babba55SJin Yao        "EventName": "INT_MISC.UOP_DROPPING",
4064babba55SJin Yao        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
4074babba55SJin Yao        "SampleAfterValue": "1000003",
4084babba55SJin Yao        "UMask": "0x10"
4094babba55SJin Yao    },
4104babba55SJin Yao    {
4114babba55SJin Yao        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
4124babba55SJin Yao        "EventCode": "0x03",
4134babba55SJin Yao        "EventName": "LD_BLOCKS.NO_SR",
4144babba55SJin 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.",
4154babba55SJin Yao        "SampleAfterValue": "100003",
4164babba55SJin Yao        "UMask": "0x8"
4174babba55SJin Yao    },
4184babba55SJin Yao    {
4194babba55SJin Yao        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
4204babba55SJin Yao        "EventCode": "0x03",
4214babba55SJin Yao        "EventName": "LD_BLOCKS.STORE_FORWARD",
4224babba55SJin 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.",
4234babba55SJin Yao        "SampleAfterValue": "100003",
4244babba55SJin Yao        "UMask": "0x2"
4254babba55SJin Yao    },
4264babba55SJin Yao    {
4274babba55SJin Yao        "BriefDescription": "False dependencies in MOB due to partial compare on address.",
4284babba55SJin Yao        "EventCode": "0x07",
4294babba55SJin Yao        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
4304babba55SJin Yao        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies in MOB due to partial compare on address.",
4314babba55SJin Yao        "SampleAfterValue": "100003",
4324babba55SJin Yao        "UMask": "0x1"
4334babba55SJin Yao    },
4344babba55SJin Yao    {
4354babba55SJin Yao        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
4364babba55SJin Yao        "EventCode": "0x4c",
4374babba55SJin Yao        "EventName": "LOAD_HIT_PREFETCH.SWPF",
4384babba55SJin 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.",
4394babba55SJin Yao        "SampleAfterValue": "100003",
4404babba55SJin Yao        "UMask": "0x1"
4414babba55SJin Yao    },
4424babba55SJin Yao    {
4434babba55SJin Yao        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
4444babba55SJin Yao        "CounterMask": "1",
4454babba55SJin Yao        "EventCode": "0xa8",
4464babba55SJin Yao        "EventName": "LSD.CYCLES_ACTIVE",
4474babba55SJin Yao        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
4484babba55SJin Yao        "SampleAfterValue": "2000003",
4494babba55SJin Yao        "UMask": "0x1"
4504babba55SJin Yao    },
4514babba55SJin Yao    {
4524babba55SJin Yao        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
4534babba55SJin Yao        "CounterMask": "5",
4544babba55SJin Yao        "EventCode": "0xa8",
4554babba55SJin Yao        "EventName": "LSD.CYCLES_OK",
4564babba55SJin Yao        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
4574babba55SJin Yao        "SampleAfterValue": "2000003",
4584babba55SJin Yao        "UMask": "0x1"
4594babba55SJin Yao    },
4604babba55SJin Yao    {
4614babba55SJin Yao        "BriefDescription": "Number of Uops delivered by the LSD.",
4624babba55SJin Yao        "EventCode": "0xa8",
4634babba55SJin Yao        "EventName": "LSD.UOPS",
4644babba55SJin Yao        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
4654babba55SJin Yao        "SampleAfterValue": "2000003",
4664babba55SJin Yao        "UMask": "0x1"
4674babba55SJin Yao    },
4684babba55SJin Yao    {
4694babba55SJin Yao        "BriefDescription": "Number of machine clears (nukes) of any type.",
4704babba55SJin Yao        "CounterMask": "1",
4714babba55SJin Yao        "EdgeDetect": "1",
4724babba55SJin Yao        "EventCode": "0xc3",
4734babba55SJin Yao        "EventName": "MACHINE_CLEARS.COUNT",
4744babba55SJin Yao        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
4754babba55SJin Yao        "SampleAfterValue": "100003",
4764babba55SJin Yao        "UMask": "0x1"
4774babba55SJin Yao    },
4784babba55SJin Yao    {
4794babba55SJin Yao        "BriefDescription": "Self-modifying code (SMC) detected.",
4804babba55SJin Yao        "EventCode": "0xc3",
4814babba55SJin Yao        "EventName": "MACHINE_CLEARS.SMC",
4824babba55SJin Yao        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
4834babba55SJin Yao        "SampleAfterValue": "100003",
4844babba55SJin Yao        "UMask": "0x4"
4854babba55SJin Yao    },
4864babba55SJin Yao    {
4874babba55SJin Yao        "BriefDescription": "Increments whenever there is an update to the LBR array.",
4884babba55SJin Yao        "EventCode": "0xcc",
4894babba55SJin Yao        "EventName": "MISC_RETIRED.LBR_INSERTS",
4904babba55SJin 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.",
4914babba55SJin Yao        "SampleAfterValue": "100003",
4924babba55SJin Yao        "UMask": "0x20"
4934babba55SJin Yao    },
4944babba55SJin Yao    {
4954babba55SJin Yao        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
4964babba55SJin Yao        "EventCode": "0xcc",
4974babba55SJin Yao        "EventName": "MISC_RETIRED.PAUSE_INST",
4984babba55SJin Yao        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
4994babba55SJin Yao        "SampleAfterValue": "100003",
5004babba55SJin Yao        "UMask": "0x40"
5014babba55SJin Yao    },
5024babba55SJin Yao    {
5034babba55SJin Yao        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
5044babba55SJin Yao        "EventCode": "0xa2",
5054babba55SJin Yao        "EventName": "RESOURCE_STALLS.SB",
5064babba55SJin 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.",
5074babba55SJin Yao        "SampleAfterValue": "100003",
5084babba55SJin Yao        "UMask": "0x8"
5094babba55SJin Yao    },
5104babba55SJin Yao    {
5114babba55SJin Yao        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
5124babba55SJin Yao        "EventCode": "0xa2",
5134babba55SJin Yao        "EventName": "RESOURCE_STALLS.SCOREBOARD",
5144babba55SJin Yao        "SampleAfterValue": "100003",
5154babba55SJin Yao        "UMask": "0x2"
5164babba55SJin Yao    },
5174babba55SJin Yao    {
5184babba55SJin Yao        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
5194babba55SJin Yao        "EventCode": "0x5e",
5204babba55SJin Yao        "EventName": "RS_EVENTS.EMPTY_CYCLES",
5214babba55SJin 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)",
5224babba55SJin Yao        "SampleAfterValue": "1000003",
5234babba55SJin Yao        "UMask": "0x1"
5244babba55SJin Yao    },
5254babba55SJin Yao    {
5264babba55SJin Yao        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
5274babba55SJin Yao        "CounterMask": "1",
5284babba55SJin Yao        "EdgeDetect": "1",
5294babba55SJin Yao        "EventCode": "0x5e",
5304babba55SJin Yao        "EventName": "RS_EVENTS.EMPTY_END",
5314babba55SJin Yao        "Invert": "1",
5324babba55SJin 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)",
5334babba55SJin Yao        "SampleAfterValue": "100003",
5344babba55SJin Yao        "UMask": "0x1"
5354babba55SJin Yao    },
5364babba55SJin Yao    {
53742e80e1aSIan Rogers        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
53842e80e1aSIan Rogers        "EventCode": "0xa4",
53942e80e1aSIan Rogers        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
54042e80e1aSIan 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.",
54142e80e1aSIan Rogers        "SampleAfterValue": "10000003",
54242e80e1aSIan Rogers        "UMask": "0x2"
54342e80e1aSIan Rogers    },
54442e80e1aSIan Rogers    {
54542e80e1aSIan Rogers        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
54642e80e1aSIan Rogers        "EventCode": "0xa4",
54742e80e1aSIan Rogers        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
54842e80e1aSIan 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 specualtive path as well as the out-of-order engine recovery past a branch misprediction.",
54942e80e1aSIan Rogers        "SampleAfterValue": "10000003",
55042e80e1aSIan Rogers        "UMask": "0x8"
55142e80e1aSIan Rogers    },
55242e80e1aSIan Rogers    {
55342e80e1aSIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
55442e80e1aSIan Rogers        "EventName": "TOPDOWN.SLOTS",
55542e80e1aSIan 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).",
55642e80e1aSIan Rogers        "SampleAfterValue": "10000003",
55742e80e1aSIan Rogers        "UMask": "0x4"
55842e80e1aSIan Rogers    },
55942e80e1aSIan Rogers    {
56042e80e1aSIan Rogers        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
56142e80e1aSIan Rogers        "EventCode": "0xa4",
56242e80e1aSIan Rogers        "EventName": "TOPDOWN.SLOTS_P",
56342e80e1aSIan 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.",
56442e80e1aSIan Rogers        "SampleAfterValue": "10000003",
56542e80e1aSIan Rogers        "UMask": "0x1"
56642e80e1aSIan Rogers    },
56742e80e1aSIan Rogers    {
56843d54e94SIan Rogers        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
56943d54e94SIan Rogers        "EventCode": "0x56",
57043d54e94SIan Rogers        "EventName": "UOPS_DECODED.DEC0",
57143d54e94SIan Rogers        "PublicDescription": "Uops exclusively fetched by decoder 0",
57243d54e94SIan Rogers        "SampleAfterValue": "1000003",
57343d54e94SIan Rogers        "UMask": "0x1"
57443d54e94SIan Rogers    },
57543d54e94SIan Rogers    {
5764babba55SJin Yao        "BriefDescription": "Number of uops executed on port 0",
5774babba55SJin Yao        "EventCode": "0xa1",
5784babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_0",
5794babba55SJin 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.",
5804babba55SJin Yao        "SampleAfterValue": "2000003",
5814babba55SJin Yao        "UMask": "0x1"
5824babba55SJin Yao    },
5834babba55SJin Yao    {
5844babba55SJin Yao        "BriefDescription": "Number of uops executed on port 1",
5854babba55SJin Yao        "EventCode": "0xa1",
5864babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_1",
5874babba55SJin 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.",
5884babba55SJin Yao        "SampleAfterValue": "2000003",
5894babba55SJin Yao        "UMask": "0x2"
5904babba55SJin Yao    },
5914babba55SJin Yao    {
5924babba55SJin Yao        "BriefDescription": "Number of uops executed on port 2 and 3",
5934babba55SJin Yao        "EventCode": "0xa1",
5944babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_2_3",
5954babba55SJin 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.",
5964babba55SJin Yao        "SampleAfterValue": "2000003",
5974babba55SJin Yao        "UMask": "0x4"
5984babba55SJin Yao    },
5994babba55SJin Yao    {
6004babba55SJin Yao        "BriefDescription": "Number of uops executed on port 4 and 9",
6014babba55SJin Yao        "EventCode": "0xa1",
6024babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_4_9",
6034babba55SJin 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.",
6044babba55SJin Yao        "SampleAfterValue": "2000003",
6054babba55SJin Yao        "UMask": "0x10"
6064babba55SJin Yao    },
6074babba55SJin Yao    {
6084babba55SJin Yao        "BriefDescription": "Number of uops executed on port 5",
6094babba55SJin Yao        "EventCode": "0xa1",
6104babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_5",
6114babba55SJin 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.",
6124babba55SJin Yao        "SampleAfterValue": "2000003",
6134babba55SJin Yao        "UMask": "0x20"
6144babba55SJin Yao    },
6154babba55SJin Yao    {
6164babba55SJin Yao        "BriefDescription": "Number of uops executed on port 6",
6174babba55SJin Yao        "EventCode": "0xa1",
6184babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_6",
6194babba55SJin 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.",
6204babba55SJin Yao        "SampleAfterValue": "2000003",
6214babba55SJin Yao        "UMask": "0x40"
6224babba55SJin Yao    },
6234babba55SJin Yao    {
6244babba55SJin Yao        "BriefDescription": "Number of uops executed on port 7 and 8",
6254babba55SJin Yao        "EventCode": "0xa1",
6264babba55SJin Yao        "EventName": "UOPS_DISPATCHED.PORT_7_8",
6274babba55SJin 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.",
6284babba55SJin Yao        "SampleAfterValue": "2000003",
6294babba55SJin Yao        "UMask": "0x80"
6304babba55SJin Yao    },
6314babba55SJin Yao    {
6324babba55SJin Yao        "BriefDescription": "Number of uops executed on the core.",
6334babba55SJin Yao        "EventCode": "0xb1",
6344babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE",
6354babba55SJin Yao        "PublicDescription": "Counts the number of uops executed from any thread.",
6364babba55SJin Yao        "SampleAfterValue": "2000003",
6374babba55SJin Yao        "UMask": "0x2"
6384babba55SJin Yao    },
6394babba55SJin Yao    {
6404babba55SJin Yao        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
6414babba55SJin Yao        "CounterMask": "1",
6424babba55SJin Yao        "EventCode": "0xb1",
6434babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
6444babba55SJin Yao        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
6454babba55SJin Yao        "SampleAfterValue": "2000003",
6464babba55SJin Yao        "UMask": "0x2"
6474babba55SJin Yao    },
6484babba55SJin Yao    {
6494babba55SJin Yao        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
6504babba55SJin Yao        "CounterMask": "2",
6514babba55SJin Yao        "EventCode": "0xb1",
6524babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
6534babba55SJin Yao        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
6544babba55SJin Yao        "SampleAfterValue": "2000003",
6554babba55SJin Yao        "UMask": "0x2"
6564babba55SJin Yao    },
6574babba55SJin Yao    {
6584babba55SJin Yao        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
6594babba55SJin Yao        "CounterMask": "3",
6604babba55SJin Yao        "EventCode": "0xb1",
6614babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
6624babba55SJin Yao        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
6634babba55SJin Yao        "SampleAfterValue": "2000003",
6644babba55SJin Yao        "UMask": "0x2"
6654babba55SJin Yao    },
6664babba55SJin Yao    {
6674babba55SJin Yao        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
6684babba55SJin Yao        "CounterMask": "4",
6694babba55SJin Yao        "EventCode": "0xb1",
6704babba55SJin Yao        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
6714babba55SJin Yao        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
6724babba55SJin Yao        "SampleAfterValue": "2000003",
6734babba55SJin Yao        "UMask": "0x2"
6744babba55SJin Yao    },
6754babba55SJin Yao    {
6764babba55SJin Yao        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
6774babba55SJin Yao        "CounterMask": "1",
6784babba55SJin Yao        "EventCode": "0xb1",
6794babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
6804babba55SJin Yao        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
6814babba55SJin Yao        "SampleAfterValue": "2000003",
6824babba55SJin Yao        "UMask": "0x1"
6834babba55SJin Yao    },
6844babba55SJin Yao    {
6854babba55SJin Yao        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
6864babba55SJin Yao        "CounterMask": "2",
6874babba55SJin Yao        "EventCode": "0xb1",
6884babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
6894babba55SJin Yao        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
6904babba55SJin Yao        "SampleAfterValue": "2000003",
6914babba55SJin Yao        "UMask": "0x1"
6924babba55SJin Yao    },
6934babba55SJin Yao    {
6944babba55SJin Yao        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
6954babba55SJin Yao        "CounterMask": "3",
6964babba55SJin Yao        "EventCode": "0xb1",
6974babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
6984babba55SJin Yao        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
6994babba55SJin Yao        "SampleAfterValue": "2000003",
7004babba55SJin Yao        "UMask": "0x1"
7014babba55SJin Yao    },
7024babba55SJin Yao    {
7034babba55SJin Yao        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
7044babba55SJin Yao        "CounterMask": "4",
7054babba55SJin Yao        "EventCode": "0xb1",
7064babba55SJin Yao        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
7074babba55SJin Yao        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
7084babba55SJin Yao        "SampleAfterValue": "2000003",
7094babba55SJin Yao        "UMask": "0x1"
7104babba55SJin Yao    },
7114babba55SJin Yao    {
7124babba55SJin Yao        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
7134babba55SJin Yao        "CounterMask": "1",
7144babba55SJin Yao        "EventCode": "0xb1",
7154babba55SJin Yao        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
7164babba55SJin Yao        "Invert": "1",
7174babba55SJin Yao        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
7184babba55SJin Yao        "SampleAfterValue": "2000003",
7194babba55SJin Yao        "UMask": "0x1"
7204babba55SJin Yao    },
7214babba55SJin Yao    {
7224babba55SJin Yao        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
7234babba55SJin Yao        "EventCode": "0xb1",
7244babba55SJin Yao        "EventName": "UOPS_EXECUTED.THREAD",
7254babba55SJin Yao        "SampleAfterValue": "2000003",
7264babba55SJin Yao        "UMask": "0x1"
7274babba55SJin Yao    },
7284babba55SJin Yao    {
7294babba55SJin Yao        "BriefDescription": "Counts the number of x87 uops dispatched.",
7304babba55SJin Yao        "EventCode": "0xb1",
7314babba55SJin Yao        "EventName": "UOPS_EXECUTED.X87",
7324babba55SJin Yao        "PublicDescription": "Counts the number of x87 uops executed.",
7334babba55SJin Yao        "SampleAfterValue": "2000003",
7344babba55SJin Yao        "UMask": "0x10"
7354babba55SJin Yao    },
7364babba55SJin Yao    {
7374babba55SJin Yao        "BriefDescription": "Uops that RAT issues to RS",
7384babba55SJin Yao        "EventCode": "0x0e",
7394babba55SJin Yao        "EventName": "UOPS_ISSUED.ANY",
7404babba55SJin Yao        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
7414babba55SJin Yao        "SampleAfterValue": "2000003",
7424babba55SJin Yao        "UMask": "0x1"
7434babba55SJin Yao    },
7444babba55SJin Yao    {
7454babba55SJin Yao        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
7464babba55SJin Yao        "CounterMask": "1",
7474babba55SJin Yao        "EventCode": "0x0e",
7484babba55SJin Yao        "EventName": "UOPS_ISSUED.STALL_CYCLES",
7494babba55SJin Yao        "Invert": "1",
7504babba55SJin 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.",
7514babba55SJin Yao        "SampleAfterValue": "1000003",
7524babba55SJin Yao        "UMask": "0x1"
7534babba55SJin Yao    },
7544babba55SJin Yao    {
7554babba55SJin Yao        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
7564babba55SJin Yao        "EventCode": "0x0e",
7574babba55SJin Yao        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
7584babba55SJin 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.",
7594babba55SJin Yao        "SampleAfterValue": "100003",
7604babba55SJin Yao        "UMask": "0x2"
7614babba55SJin Yao    },
7624babba55SJin Yao    {
7634babba55SJin Yao        "BriefDescription": "Retirement slots used.",
7644babba55SJin Yao        "EventCode": "0xc2",
7654babba55SJin Yao        "EventName": "UOPS_RETIRED.SLOTS",
7664babba55SJin Yao        "PublicDescription": "Counts the retirement slots used each cycle.",
7674babba55SJin Yao        "SampleAfterValue": "2000003",
7684babba55SJin Yao        "UMask": "0x2"
7694babba55SJin Yao    },
7704babba55SJin Yao    {
7714babba55SJin Yao        "BriefDescription": "Cycles without actually retired uops.",
7724babba55SJin Yao        "CounterMask": "1",
7734babba55SJin Yao        "EventCode": "0xc2",
7744babba55SJin Yao        "EventName": "UOPS_RETIRED.STALL_CYCLES",
7754babba55SJin Yao        "Invert": "1",
7764babba55SJin Yao        "PublicDescription": "This event counts cycles without actually retired uops.",
7774babba55SJin Yao        "SampleAfterValue": "1000003",
7784babba55SJin Yao        "UMask": "0x2"
7794babba55SJin Yao    },
7804babba55SJin Yao    {
7814babba55SJin Yao        "BriefDescription": "Cycles with less than 10 actually retired uops.",
7824babba55SJin Yao        "CounterMask": "10",
7834babba55SJin Yao        "EventCode": "0xc2",
7844babba55SJin Yao        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
7854babba55SJin Yao        "Invert": "1",
786*69f685e0SIan Rogers        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
7874babba55SJin Yao        "SampleAfterValue": "1000003",
7884babba55SJin Yao        "UMask": "0x2"
7894babba55SJin Yao    }
7904babba55SJin Yao]
791