1dcfbad10SAndi Kleen[ 2dcfbad10SAndi Kleen { 34dd25272SIan Rogers "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.", 4*b59307d0SIan Rogers "Counter": "0,1,2,3", 54dd25272SIan Rogers "EventCode": "0xe6", 64dd25272SIan Rogers "EventName": "BACLEARS.ANY", 74dd25272SIan Rogers "PublicDescription": "Number of front end re-steers due to BPU misprediction.", 84dd25272SIan Rogers "SampleAfterValue": "100003", 94dd25272SIan Rogers "UMask": "0x1f" 10dcfbad10SAndi Kleen }, 11dcfbad10SAndi Kleen { 124dd25272SIan Rogers "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles.", 13*b59307d0SIan Rogers "Counter": "0,1,2,3", 14dcfbad10SAndi Kleen "EventCode": "0xAB", 15dcfbad10SAndi Kleen "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES", 16dcfbad10SAndi Kleen "SampleAfterValue": "2000003", 174dd25272SIan Rogers "UMask": "0x2" 184dd25272SIan Rogers }, 194dd25272SIan Rogers { 204dd25272SIan Rogers "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.", 21*b59307d0SIan Rogers "Counter": "0,1,2,3", 224dd25272SIan Rogers "EventCode": "0x80", 234dd25272SIan Rogers "EventName": "ICACHE.HIT", 244dd25272SIan Rogers "SampleAfterValue": "2000003", 254dd25272SIan Rogers "UMask": "0x1" 264dd25272SIan Rogers }, 274dd25272SIan Rogers { 284dd25272SIan Rogers "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction-cache miss.", 29*b59307d0SIan Rogers "Counter": "0,1,2,3", 304dd25272SIan Rogers "EventCode": "0x80", 314dd25272SIan Rogers "EventName": "ICACHE.IFDATA_STALL", 324dd25272SIan Rogers "SampleAfterValue": "2000003", 334dd25272SIan Rogers "UMask": "0x4" 344dd25272SIan Rogers }, 354dd25272SIan Rogers { 364dd25272SIan Rogers "BriefDescription": "Cycles where a code fetch is stalled due to L1 instruction-cache miss.", 37*b59307d0SIan Rogers "Counter": "0,1,2,3", 384dd25272SIan Rogers "EventCode": "0x80", 394dd25272SIan Rogers "EventName": "ICACHE.IFETCH_STALL", 404dd25272SIan Rogers "SampleAfterValue": "2000003", 414dd25272SIan Rogers "UMask": "0x4" 424dd25272SIan Rogers }, 434dd25272SIan Rogers { 444dd25272SIan Rogers "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes Uncacheable accesses.", 45*b59307d0SIan Rogers "Counter": "0,1,2,3", 464dd25272SIan Rogers "EventCode": "0x80", 474dd25272SIan Rogers "EventName": "ICACHE.MISSES", 484dd25272SIan Rogers "PublicDescription": "This event counts Instruction Cache (ICACHE) misses.", 494dd25272SIan Rogers "SampleAfterValue": "200003", 504dd25272SIan Rogers "UMask": "0x2" 514dd25272SIan Rogers }, 524dd25272SIan Rogers { 534dd25272SIan Rogers "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops", 54*b59307d0SIan Rogers "Counter": "0,1,2,3", 554dd25272SIan Rogers "CounterMask": "4", 564dd25272SIan Rogers "EventCode": "0x79", 574dd25272SIan Rogers "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS", 584dd25272SIan Rogers "PublicDescription": "Counts cycles DSB is delivered four uops. Set Cmask = 4.", 594dd25272SIan Rogers "SampleAfterValue": "2000003", 604dd25272SIan Rogers "UMask": "0x18" 614dd25272SIan Rogers }, 624dd25272SIan Rogers { 634dd25272SIan Rogers "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop", 64*b59307d0SIan Rogers "Counter": "0,1,2,3", 654dd25272SIan Rogers "CounterMask": "1", 664dd25272SIan Rogers "EventCode": "0x79", 674dd25272SIan Rogers "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS", 684dd25272SIan Rogers "PublicDescription": "Counts cycles DSB is delivered at least one uops. Set Cmask = 1.", 694dd25272SIan Rogers "SampleAfterValue": "2000003", 704dd25272SIan Rogers "UMask": "0x18" 714dd25272SIan Rogers }, 724dd25272SIan Rogers { 734dd25272SIan Rogers "BriefDescription": "Cycles MITE is delivering 4 Uops", 74*b59307d0SIan Rogers "Counter": "0,1,2,3", 754dd25272SIan Rogers "CounterMask": "4", 764dd25272SIan Rogers "EventCode": "0x79", 774dd25272SIan Rogers "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS", 784dd25272SIan Rogers "PublicDescription": "Counts cycles MITE is delivered four uops. Set Cmask = 4.", 794dd25272SIan Rogers "SampleAfterValue": "2000003", 804dd25272SIan Rogers "UMask": "0x24" 814dd25272SIan Rogers }, 824dd25272SIan Rogers { 834dd25272SIan Rogers "BriefDescription": "Cycles MITE is delivering any Uop", 84*b59307d0SIan Rogers "Counter": "0,1,2,3", 854dd25272SIan Rogers "CounterMask": "1", 864dd25272SIan Rogers "EventCode": "0x79", 874dd25272SIan Rogers "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS", 884dd25272SIan Rogers "PublicDescription": "Counts cycles MITE is delivered at least one uop. Set Cmask = 1.", 894dd25272SIan Rogers "SampleAfterValue": "2000003", 904dd25272SIan Rogers "UMask": "0x24" 914dd25272SIan Rogers }, 924dd25272SIan Rogers { 934dd25272SIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.", 94*b59307d0SIan Rogers "Counter": "0,1,2,3", 954dd25272SIan Rogers "CounterMask": "1", 964dd25272SIan Rogers "EventCode": "0x79", 974dd25272SIan Rogers "EventName": "IDQ.DSB_CYCLES", 984dd25272SIan Rogers "SampleAfterValue": "2000003", 994dd25272SIan Rogers "UMask": "0x8" 1004dd25272SIan Rogers }, 1014dd25272SIan Rogers { 1024dd25272SIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path", 103*b59307d0SIan Rogers "Counter": "0,1,2,3", 1044dd25272SIan Rogers "EventCode": "0x79", 1054dd25272SIan Rogers "EventName": "IDQ.DSB_UOPS", 1064dd25272SIan Rogers "PublicDescription": "Increment each cycle. # of uops delivered to IDQ from DSB path. Set Cmask = 1 to count cycles.", 1074dd25272SIan Rogers "SampleAfterValue": "2000003", 1084dd25272SIan Rogers "UMask": "0x8" 1094dd25272SIan Rogers }, 1104dd25272SIan Rogers { 1114dd25272SIan Rogers "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles", 112*b59307d0SIan Rogers "Counter": "0,1,2,3", 1134dd25272SIan Rogers "Errata": "HSD135", 1144dd25272SIan Rogers "EventCode": "0x79", 1154dd25272SIan Rogers "EventName": "IDQ.EMPTY", 1164dd25272SIan Rogers "PublicDescription": "Counts cycles the IDQ is empty.", 1174dd25272SIan Rogers "SampleAfterValue": "2000003", 1184dd25272SIan Rogers "UMask": "0x2" 1194dd25272SIan Rogers }, 1204dd25272SIan Rogers { 1214dd25272SIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 122*b59307d0SIan Rogers "Counter": "0,1,2,3", 1234dd25272SIan Rogers "EventCode": "0x79", 1244dd25272SIan Rogers "EventName": "IDQ.MITE_ALL_UOPS", 1254dd25272SIan Rogers "PublicDescription": "Number of uops delivered to IDQ from any path.", 1264dd25272SIan Rogers "SampleAfterValue": "2000003", 1274dd25272SIan Rogers "UMask": "0x3c" 1284dd25272SIan Rogers }, 1294dd25272SIan Rogers { 1304dd25272SIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.", 131*b59307d0SIan Rogers "Counter": "0,1,2,3", 1324dd25272SIan Rogers "CounterMask": "1", 1334dd25272SIan Rogers "EventCode": "0x79", 1344dd25272SIan Rogers "EventName": "IDQ.MITE_CYCLES", 1354dd25272SIan Rogers "SampleAfterValue": "2000003", 1364dd25272SIan Rogers "UMask": "0x4" 1374dd25272SIan Rogers }, 1384dd25272SIan Rogers { 1394dd25272SIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path", 140*b59307d0SIan Rogers "Counter": "0,1,2,3", 1414dd25272SIan Rogers "EventCode": "0x79", 1424dd25272SIan Rogers "EventName": "IDQ.MITE_UOPS", 1434dd25272SIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MITE path. Set Cmask = 1 to count cycles.", 1444dd25272SIan Rogers "SampleAfterValue": "2000003", 1454dd25272SIan Rogers "UMask": "0x4" 1464dd25272SIan Rogers }, 1474dd25272SIan Rogers { 148dd7aae2cSIan Rogers "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 149*b59307d0SIan Rogers "Counter": "0,1,2,3", 1504dd25272SIan Rogers "CounterMask": "1", 1514dd25272SIan Rogers "EventCode": "0x79", 1524dd25272SIan Rogers "EventName": "IDQ.MS_CYCLES", 1534dd25272SIan Rogers "PublicDescription": "This event counts cycles during which the microcode sequencer assisted the Front-end in delivering uops. Microcode assists are used for complex instructions or scenarios that can't be handled by the standard decoder. Using other instructions, if possible, will usually improve performance.", 1544dd25272SIan Rogers "SampleAfterValue": "2000003", 1554dd25272SIan Rogers "UMask": "0x30" 1564dd25272SIan Rogers }, 1574dd25272SIan Rogers { 158dd7aae2cSIan Rogers "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy.", 159*b59307d0SIan Rogers "Counter": "0,1,2,3", 1604dd25272SIan Rogers "CounterMask": "1", 1614dd25272SIan Rogers "EventCode": "0x79", 1624dd25272SIan Rogers "EventName": "IDQ.MS_DSB_CYCLES", 1634dd25272SIan Rogers "SampleAfterValue": "2000003", 1644dd25272SIan Rogers "UMask": "0x10" 1654dd25272SIan Rogers }, 1664dd25272SIan Rogers { 167dd7aae2cSIan Rogers "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequencer (MS) is busy.", 168*b59307d0SIan Rogers "Counter": "0,1,2,3", 1694dd25272SIan Rogers "CounterMask": "1", 1704dd25272SIan Rogers "EdgeDetect": "1", 1714dd25272SIan Rogers "EventCode": "0x79", 1724dd25272SIan Rogers "EventName": "IDQ.MS_DSB_OCCUR", 1734dd25272SIan Rogers "SampleAfterValue": "2000003", 1744dd25272SIan Rogers "UMask": "0x10" 1754dd25272SIan Rogers }, 1764dd25272SIan Rogers { 177dd7aae2cSIan Rogers "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 178*b59307d0SIan Rogers "Counter": "0,1,2,3", 1794dd25272SIan Rogers "EventCode": "0x79", 1804dd25272SIan Rogers "EventName": "IDQ.MS_DSB_UOPS", 1814dd25272SIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count # of delivery.", 1824dd25272SIan Rogers "SampleAfterValue": "2000003", 1834dd25272SIan Rogers "UMask": "0x10" 1844dd25272SIan Rogers }, 1854dd25272SIan Rogers { 186dd7aae2cSIan Rogers "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 187*b59307d0SIan Rogers "Counter": "0,1,2,3", 1884dd25272SIan Rogers "EventCode": "0x79", 1894dd25272SIan Rogers "EventName": "IDQ.MS_MITE_UOPS", 1904dd25272SIan Rogers "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by MITE. Set Cmask = 1 to count cycles.", 1914dd25272SIan Rogers "SampleAfterValue": "2000003", 1924dd25272SIan Rogers "UMask": "0x20" 1934dd25272SIan Rogers }, 1944dd25272SIan Rogers { 1954dd25272SIan Rogers "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.", 196*b59307d0SIan Rogers "Counter": "0,1,2,3", 1974dd25272SIan Rogers "CounterMask": "1", 1984dd25272SIan Rogers "EdgeDetect": "1", 1994dd25272SIan Rogers "EventCode": "0x79", 2004dd25272SIan Rogers "EventName": "IDQ.MS_SWITCHES", 2014dd25272SIan Rogers "SampleAfterValue": "2000003", 2024dd25272SIan Rogers "UMask": "0x30" 2034dd25272SIan Rogers }, 2044dd25272SIan Rogers { 205dd7aae2cSIan Rogers "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequencer (MS) is busy", 206*b59307d0SIan Rogers "Counter": "0,1,2,3", 2074dd25272SIan Rogers "EventCode": "0x79", 2084dd25272SIan Rogers "EventName": "IDQ.MS_UOPS", 2094dd25272SIan Rogers "PublicDescription": "This event counts uops delivered by the Front-end with the assistance of the microcode sequencer. Microcode assists are used for complex instructions or scenarios that can't be handled by the standard decoder. Using other instructions, if possible, will usually improve performance.", 2104dd25272SIan Rogers "SampleAfterValue": "2000003", 2114dd25272SIan Rogers "UMask": "0x30" 2124dd25272SIan Rogers }, 2134dd25272SIan Rogers { 2144dd25272SIan Rogers "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled", 215*b59307d0SIan Rogers "Counter": "0,1,2,3", 2164dd25272SIan Rogers "Errata": "HSD135", 2174dd25272SIan Rogers "EventCode": "0x9C", 2184dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE", 2194dd25272SIan Rogers "PublicDescription": "This event count the number of undelivered (unallocated) uops from the Front-end to the Resource Allocation Table (RAT) while the Back-end of the processor is not stalled. The Front-end can allocate up to 4 uops per cycle so this event can increment 0-4 times per cycle depending on the number of unallocated uops. This event is counted on a per-core basis.", 2204dd25272SIan Rogers "SampleAfterValue": "2000003", 2214dd25272SIan Rogers "UMask": "0x1" 2224dd25272SIan Rogers }, 2234dd25272SIan Rogers { 2244dd25272SIan Rogers "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled", 225*b59307d0SIan Rogers "Counter": "0,1,2,3", 2264dd25272SIan Rogers "CounterMask": "4", 2274dd25272SIan Rogers "Errata": "HSD135", 2284dd25272SIan Rogers "EventCode": "0x9C", 2294dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE", 2304dd25272SIan Rogers "PublicDescription": "This event counts the number cycles during which the Front-end allocated exactly zero uops to the Resource Allocation Table (RAT) while the Back-end of the processor is not stalled. This event is counted on a per-core basis.", 2314dd25272SIan Rogers "SampleAfterValue": "2000003", 2324dd25272SIan Rogers "UMask": "0x1" 2334dd25272SIan Rogers }, 2344dd25272SIan Rogers { 2354dd25272SIan Rogers "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.", 236*b59307d0SIan Rogers "Counter": "0,1,2,3", 2374dd25272SIan Rogers "CounterMask": "1", 2384dd25272SIan Rogers "Errata": "HSD135", 2394dd25272SIan Rogers "EventCode": "0x9C", 2404dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK", 2414dd25272SIan Rogers "Invert": "1", 2424dd25272SIan Rogers "SampleAfterValue": "2000003", 2434dd25272SIan Rogers "UMask": "0x1" 2444dd25272SIan Rogers }, 2454dd25272SIan Rogers { 2464dd25272SIan Rogers "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.", 247*b59307d0SIan Rogers "Counter": "0,1,2,3", 2484dd25272SIan Rogers "CounterMask": "3", 2494dd25272SIan Rogers "Errata": "HSD135", 2504dd25272SIan Rogers "EventCode": "0x9C", 2514dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE", 2524dd25272SIan Rogers "SampleAfterValue": "2000003", 2534dd25272SIan Rogers "UMask": "0x1" 2544dd25272SIan Rogers }, 2554dd25272SIan Rogers { 2564dd25272SIan Rogers "BriefDescription": "Cycles with less than 2 uops delivered by the front end.", 257*b59307d0SIan Rogers "Counter": "0,1,2,3", 2584dd25272SIan Rogers "CounterMask": "2", 2594dd25272SIan Rogers "Errata": "HSD135", 2604dd25272SIan Rogers "EventCode": "0x9C", 2614dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE", 2624dd25272SIan Rogers "SampleAfterValue": "2000003", 2634dd25272SIan Rogers "UMask": "0x1" 2644dd25272SIan Rogers }, 2654dd25272SIan Rogers { 2664dd25272SIan Rogers "BriefDescription": "Cycles with less than 3 uops delivered by the front end.", 267*b59307d0SIan Rogers "Counter": "0,1,2,3", 2684dd25272SIan Rogers "CounterMask": "1", 2694dd25272SIan Rogers "Errata": "HSD135", 2704dd25272SIan Rogers "EventCode": "0x9C", 2714dd25272SIan Rogers "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE", 2724dd25272SIan Rogers "SampleAfterValue": "2000003", 2734dd25272SIan Rogers "UMask": "0x1" 274dcfbad10SAndi Kleen } 275dcfbad10SAndi Kleen] 276