1ede00740SAndi Kleen[ 2ede00740SAndi Kleen { 3ede00740SAndi Kleen "BriefDescription": "Any uop executed by the Divider. (This includes all divide uops, sqrt, ...)", 4ede00740SAndi Kleen "Counter": "0,1,2,3", 5f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 6f16c3236SIan Rogers "EventCode": "0x14", 7ede00740SAndi Kleen "EventName": "ARITH.DIVIDER_UOPS", 8ede00740SAndi Kleen "SampleAfterValue": "2000003", 9f16c3236SIan Rogers "UMask": "0x2" 10ede00740SAndi Kleen }, 11ede00740SAndi Kleen { 12ede00740SAndi Kleen "BriefDescription": "Speculative and retired branches", 13ede00740SAndi Kleen "Counter": "0,1,2,3", 14f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 15f16c3236SIan Rogers "EventCode": "0x88", 16ede00740SAndi Kleen "EventName": "BR_INST_EXEC.ALL_BRANCHES", 17ede00740SAndi Kleen "PublicDescription": "Counts all near executed branches (not necessarily retired).", 18ede00740SAndi Kleen "SampleAfterValue": "200003", 19f16c3236SIan Rogers "UMask": "0xff" 20ede00740SAndi Kleen }, 21ede00740SAndi Kleen { 22f16c3236SIan Rogers "BriefDescription": "Speculative and retired macro-conditional branches.", 23ede00740SAndi Kleen "Counter": "0,1,2,3", 24f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 25f16c3236SIan Rogers "EventCode": "0x88", 26f16c3236SIan Rogers "EventName": "BR_INST_EXEC.ALL_CONDITIONAL", 27ede00740SAndi Kleen "SampleAfterValue": "200003", 28f16c3236SIan Rogers "UMask": "0xc1" 29ede00740SAndi Kleen }, 30ede00740SAndi Kleen { 31f16c3236SIan Rogers "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects.", 32ede00740SAndi Kleen "Counter": "0,1,2,3", 33f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 34f16c3236SIan Rogers "EventCode": "0x88", 35f16c3236SIan Rogers "EventName": "BR_INST_EXEC.ALL_DIRECT_JMP", 36ede00740SAndi Kleen "SampleAfterValue": "200003", 37f16c3236SIan Rogers "UMask": "0xc2" 38ede00740SAndi Kleen }, 39ede00740SAndi Kleen { 40f16c3236SIan Rogers "BriefDescription": "Speculative and retired direct near calls.", 41ede00740SAndi Kleen "Counter": "0,1,2,3", 42f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 43f16c3236SIan Rogers "EventCode": "0x88", 44f16c3236SIan Rogers "EventName": "BR_INST_EXEC.ALL_DIRECT_NEAR_CALL", 45ede00740SAndi Kleen "SampleAfterValue": "200003", 46f16c3236SIan Rogers "UMask": "0xd0" 47ede00740SAndi Kleen }, 48ede00740SAndi Kleen { 49f16c3236SIan Rogers "BriefDescription": "Speculative and retired indirect branches excluding calls and returns.", 50ede00740SAndi Kleen "Counter": "0,1,2,3", 51f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 52f16c3236SIan Rogers "EventCode": "0x88", 53f16c3236SIan Rogers "EventName": "BR_INST_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 54ede00740SAndi Kleen "SampleAfterValue": "200003", 55f16c3236SIan Rogers "UMask": "0xc4" 56ede00740SAndi Kleen }, 57ede00740SAndi Kleen { 58f16c3236SIan Rogers "BriefDescription": "Speculative and retired indirect return branches.", 59032c16b2SAndi Kleen "Counter": "0,1,2,3", 60f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 61f16c3236SIan Rogers "EventCode": "0x88", 62f16c3236SIan Rogers "EventName": "BR_INST_EXEC.ALL_INDIRECT_NEAR_RETURN", 63032c16b2SAndi Kleen "SampleAfterValue": "200003", 64f16c3236SIan Rogers "UMask": "0xc8" 65032c16b2SAndi Kleen }, 66032c16b2SAndi Kleen { 67f16c3236SIan Rogers "BriefDescription": "Not taken macro-conditional branches.", 68ede00740SAndi Kleen "Counter": "0,1,2,3", 69f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 70f16c3236SIan Rogers "EventCode": "0x88", 71f16c3236SIan Rogers "EventName": "BR_INST_EXEC.NONTAKEN_CONDITIONAL", 72ede00740SAndi Kleen "SampleAfterValue": "200003", 73f16c3236SIan Rogers "UMask": "0x41" 74ede00740SAndi Kleen }, 75ede00740SAndi Kleen { 76f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired macro-conditional branches.", 77ede00740SAndi Kleen "Counter": "0,1,2,3", 78f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 79f16c3236SIan Rogers "EventCode": "0x88", 80f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_CONDITIONAL", 81ede00740SAndi Kleen "SampleAfterValue": "200003", 82f16c3236SIan Rogers "UMask": "0x81" 83ede00740SAndi Kleen }, 84ede00740SAndi Kleen { 85f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired macro-conditional branch instructions excluding calls and indirects.", 86ede00740SAndi Kleen "Counter": "0,1,2,3", 87f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 88f16c3236SIan Rogers "EventCode": "0x88", 89f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_DIRECT_JUMP", 90ede00740SAndi Kleen "SampleAfterValue": "200003", 91f16c3236SIan Rogers "UMask": "0x82" 92ede00740SAndi Kleen }, 93ede00740SAndi Kleen { 94f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired direct near calls.", 95ede00740SAndi Kleen "Counter": "0,1,2,3", 96f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 97f16c3236SIan Rogers "EventCode": "0x88", 98f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_DIRECT_NEAR_CALL", 99f16c3236SIan Rogers "SampleAfterValue": "200003", 100f16c3236SIan Rogers "UMask": "0x90" 101ede00740SAndi Kleen }, 102ede00740SAndi Kleen { 103f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired indirect branches excluding calls and returns.", 104032c16b2SAndi Kleen "Counter": "0,1,2,3", 105f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 106f16c3236SIan Rogers "EventCode": "0x88", 107f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 108f16c3236SIan Rogers "SampleAfterValue": "200003", 109f16c3236SIan Rogers "UMask": "0x84" 110032c16b2SAndi Kleen }, 111032c16b2SAndi Kleen { 112f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired indirect calls.", 113032c16b2SAndi Kleen "Counter": "0,1,2,3", 114f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 115f16c3236SIan Rogers "EventCode": "0x88", 116f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_CALL", 117f16c3236SIan Rogers "SampleAfterValue": "200003", 118f16c3236SIan Rogers "UMask": "0xa0" 119032c16b2SAndi Kleen }, 120032c16b2SAndi Kleen { 121f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired indirect branches with return mnemonic.", 122ede00740SAndi Kleen "Counter": "0,1,2,3", 123f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 124f16c3236SIan Rogers "EventCode": "0x88", 125f16c3236SIan Rogers "EventName": "BR_INST_EXEC.TAKEN_INDIRECT_NEAR_RETURN", 126f16c3236SIan Rogers "SampleAfterValue": "200003", 127f16c3236SIan Rogers "UMask": "0x88" 128ede00740SAndi Kleen }, 129ede00740SAndi Kleen { 130032c16b2SAndi Kleen "BriefDescription": "All (macro) branch instructions retired.", 131032c16b2SAndi Kleen "Counter": "0,1,2,3", 132f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 133f16c3236SIan Rogers "EventCode": "0xC4", 134032c16b2SAndi Kleen "EventName": "BR_INST_RETIRED.ALL_BRANCHES", 135032c16b2SAndi Kleen "PublicDescription": "Branch instructions at retirement.", 136f16c3236SIan Rogers "SampleAfterValue": "400009" 137032c16b2SAndi Kleen }, 138032c16b2SAndi Kleen { 139f16c3236SIan Rogers "BriefDescription": "All (macro) branch instructions retired.", 140032c16b2SAndi Kleen "Counter": "0,1,2,3", 141f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 142f16c3236SIan Rogers "EventCode": "0xC4", 143f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.ALL_BRANCHES_PEBS", 144f16c3236SIan Rogers "PEBS": "2", 145f16c3236SIan Rogers "SampleAfterValue": "400009", 146f16c3236SIan Rogers "UMask": "0x4" 147f16c3236SIan Rogers }, 148f16c3236SIan Rogers { 149f16c3236SIan Rogers "BriefDescription": "Conditional branch instructions retired.", 150f16c3236SIan Rogers "Counter": "0,1,2,3", 151f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 152f16c3236SIan Rogers "EventCode": "0xC4", 153032c16b2SAndi Kleen "EventName": "BR_INST_RETIRED.CONDITIONAL", 154f16c3236SIan Rogers "PEBS": "1", 155e313477fSAndi Kleen "PublicDescription": "Counts the number of conditional branch instructions retired.", 156032c16b2SAndi Kleen "SampleAfterValue": "400009", 157f16c3236SIan Rogers "UMask": "0x1" 158032c16b2SAndi Kleen }, 159032c16b2SAndi Kleen { 160032c16b2SAndi Kleen "BriefDescription": "Far branch instructions retired.", 161032c16b2SAndi Kleen "Counter": "0,1,2,3", 162f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 163f16c3236SIan Rogers "EventCode": "0xC4", 164032c16b2SAndi Kleen "EventName": "BR_INST_RETIRED.FAR_BRANCH", 165032c16b2SAndi Kleen "PublicDescription": "Number of far branches retired.", 166032c16b2SAndi Kleen "SampleAfterValue": "100003", 167f16c3236SIan Rogers "UMask": "0x40" 168032c16b2SAndi Kleen }, 169032c16b2SAndi Kleen { 170f16c3236SIan Rogers "BriefDescription": "Direct and indirect near call instructions retired.", 171f16c3236SIan Rogers "Counter": "0,1,2,3", 172f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 173f16c3236SIan Rogers "EventCode": "0xC4", 174f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.NEAR_CALL", 175f16c3236SIan Rogers "PEBS": "1", 176f16c3236SIan Rogers "SampleAfterValue": "100003", 177f16c3236SIan Rogers "UMask": "0x2" 178f16c3236SIan Rogers }, 179f16c3236SIan Rogers { 180f16c3236SIan Rogers "BriefDescription": "Direct and indirect macro near call instructions retired (captured in ring 3).", 181f16c3236SIan Rogers "Counter": "0,1,2,3", 182f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 183f16c3236SIan Rogers "EventCode": "0xC4", 184f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.NEAR_CALL_R3", 185f16c3236SIan Rogers "PEBS": "1", 186f16c3236SIan Rogers "SampleAfterValue": "100003", 187f16c3236SIan Rogers "UMask": "0x2" 188f16c3236SIan Rogers }, 189f16c3236SIan Rogers { 190f16c3236SIan Rogers "BriefDescription": "Return instructions retired.", 191f16c3236SIan Rogers "Counter": "0,1,2,3", 192f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 193f16c3236SIan Rogers "EventCode": "0xC4", 194f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.NEAR_RETURN", 195f16c3236SIan Rogers "PEBS": "1", 196f16c3236SIan Rogers "PublicDescription": "Counts the number of near return instructions retired.", 197f16c3236SIan Rogers "SampleAfterValue": "100003", 198f16c3236SIan Rogers "UMask": "0x8" 199f16c3236SIan Rogers }, 200f16c3236SIan Rogers { 201f16c3236SIan Rogers "BriefDescription": "Taken branch instructions retired.", 202f16c3236SIan Rogers "Counter": "0,1,2,3", 203f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 204f16c3236SIan Rogers "EventCode": "0xC4", 205f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.NEAR_TAKEN", 206f16c3236SIan Rogers "PEBS": "1", 207f16c3236SIan Rogers "PublicDescription": "Number of near taken branches retired.", 208f16c3236SIan Rogers "SampleAfterValue": "400009", 209f16c3236SIan Rogers "UMask": "0x20" 210f16c3236SIan Rogers }, 211f16c3236SIan Rogers { 212f16c3236SIan Rogers "BriefDescription": "Not taken branch instructions retired.", 213f16c3236SIan Rogers "Counter": "0,1,2,3", 214f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 215f16c3236SIan Rogers "EventCode": "0xC4", 216f16c3236SIan Rogers "EventName": "BR_INST_RETIRED.NOT_TAKEN", 217f16c3236SIan Rogers "PublicDescription": "Counts the number of not taken branch instructions retired.", 218f16c3236SIan Rogers "SampleAfterValue": "400009", 219f16c3236SIan Rogers "UMask": "0x10" 220f16c3236SIan Rogers }, 221f16c3236SIan Rogers { 222f16c3236SIan Rogers "BriefDescription": "Speculative and retired mispredicted macro conditional branches", 223f16c3236SIan Rogers "Counter": "0,1,2,3", 224f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 225f16c3236SIan Rogers "EventCode": "0x89", 226f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.ALL_BRANCHES", 227f16c3236SIan Rogers "PublicDescription": "Counts all near executed branches (not necessarily retired).", 228f16c3236SIan Rogers "SampleAfterValue": "200003", 229f16c3236SIan Rogers "UMask": "0xff" 230f16c3236SIan Rogers }, 231f16c3236SIan Rogers { 232f16c3236SIan Rogers "BriefDescription": "Speculative and retired mispredicted macro conditional branches.", 233f16c3236SIan Rogers "Counter": "0,1,2,3", 234f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 235f16c3236SIan Rogers "EventCode": "0x89", 236f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.ALL_CONDITIONAL", 237f16c3236SIan Rogers "SampleAfterValue": "200003", 238f16c3236SIan Rogers "UMask": "0xc1" 239f16c3236SIan Rogers }, 240f16c3236SIan Rogers { 241f16c3236SIan Rogers "BriefDescription": "Mispredicted indirect branches excluding calls and returns.", 242f16c3236SIan Rogers "Counter": "0,1,2,3", 243f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 244f16c3236SIan Rogers "EventCode": "0x89", 245f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.ALL_INDIRECT_JUMP_NON_CALL_RET", 246f16c3236SIan Rogers "SampleAfterValue": "200003", 247f16c3236SIan Rogers "UMask": "0xc4" 248f16c3236SIan Rogers }, 249f16c3236SIan Rogers { 250f16c3236SIan Rogers "BriefDescription": "Not taken speculative and retired mispredicted macro conditional branches.", 251f16c3236SIan Rogers "Counter": "0,1,2,3", 252f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 253f16c3236SIan Rogers "EventCode": "0x89", 254f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.NONTAKEN_CONDITIONAL", 255f16c3236SIan Rogers "SampleAfterValue": "200003", 256f16c3236SIan Rogers "UMask": "0x41" 257f16c3236SIan Rogers }, 258f16c3236SIan Rogers { 259f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired mispredicted macro conditional branches.", 260f16c3236SIan Rogers "Counter": "0,1,2,3", 261f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 262f16c3236SIan Rogers "EventCode": "0x89", 263f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_CONDITIONAL", 264f16c3236SIan Rogers "SampleAfterValue": "200003", 265f16c3236SIan Rogers "UMask": "0x81" 266f16c3236SIan Rogers }, 267f16c3236SIan Rogers { 268f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect branches excluding calls and returns.", 269f16c3236SIan Rogers "Counter": "0,1,2,3", 270f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 271f16c3236SIan Rogers "EventCode": "0x89", 272f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_JUMP_NON_CALL_RET", 273f16c3236SIan Rogers "SampleAfterValue": "200003", 274f16c3236SIan Rogers "UMask": "0x84" 275f16c3236SIan Rogers }, 276f16c3236SIan Rogers { 277f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect calls.", 278f16c3236SIan Rogers "Counter": "0,1,2,3", 279f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 280f16c3236SIan Rogers "EventCode": "0x89", 281f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_INDIRECT_NEAR_CALL", 282f16c3236SIan Rogers "SampleAfterValue": "200003", 283f16c3236SIan Rogers "UMask": "0xa0" 284f16c3236SIan Rogers }, 285f16c3236SIan Rogers { 286f16c3236SIan Rogers "BriefDescription": "Taken speculative and retired mispredicted indirect branches with return mnemonic.", 287f16c3236SIan Rogers "Counter": "0,1,2,3", 288f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 289f16c3236SIan Rogers "EventCode": "0x89", 290f16c3236SIan Rogers "EventName": "BR_MISP_EXEC.TAKEN_RETURN_NEAR", 291f16c3236SIan Rogers "SampleAfterValue": "200003", 292f16c3236SIan Rogers "UMask": "0x88" 293f16c3236SIan Rogers }, 294f16c3236SIan Rogers { 295032c16b2SAndi Kleen "BriefDescription": "All mispredicted macro branch instructions retired.", 296032c16b2SAndi Kleen "Counter": "0,1,2,3", 297f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 298f16c3236SIan Rogers "EventCode": "0xC5", 299032c16b2SAndi Kleen "EventName": "BR_MISP_RETIRED.ALL_BRANCHES", 300032c16b2SAndi Kleen "PublicDescription": "Mispredicted branch instructions at retirement.", 301f16c3236SIan Rogers "SampleAfterValue": "400009" 302032c16b2SAndi Kleen }, 303032c16b2SAndi Kleen { 304032c16b2SAndi Kleen "BriefDescription": "Mispredicted macro branch instructions retired.", 305032c16b2SAndi Kleen "Counter": "0,1,2,3", 306f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 307f16c3236SIan Rogers "EventCode": "0xC5", 308032c16b2SAndi Kleen "EventName": "BR_MISP_RETIRED.ALL_BRANCHES_PEBS", 309f16c3236SIan Rogers "PEBS": "2", 310032c16b2SAndi Kleen "PublicDescription": "This event counts all mispredicted branch instructions retired. This is a precise event.", 311032c16b2SAndi Kleen "SampleAfterValue": "400009", 312f16c3236SIan Rogers "UMask": "0x4" 313032c16b2SAndi Kleen }, 314032c16b2SAndi Kleen { 315f16c3236SIan Rogers "BriefDescription": "Mispredicted conditional branch instructions retired.", 316032c16b2SAndi Kleen "Counter": "0,1,2,3", 317f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 318f16c3236SIan Rogers "EventCode": "0xC5", 319f16c3236SIan Rogers "EventName": "BR_MISP_RETIRED.CONDITIONAL", 320f16c3236SIan Rogers "PEBS": "1", 321f16c3236SIan Rogers "SampleAfterValue": "400009", 322f16c3236SIan Rogers "UMask": "0x1" 323f16c3236SIan Rogers }, 324f16c3236SIan Rogers { 325f16c3236SIan Rogers "BriefDescription": "number of near branch instructions retired that were mispredicted and taken.", 326f16c3236SIan Rogers "Counter": "0,1,2,3", 327f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 328f16c3236SIan Rogers "EventCode": "0xC5", 329032c16b2SAndi Kleen "EventName": "BR_MISP_RETIRED.NEAR_TAKEN", 330f16c3236SIan Rogers "PEBS": "1", 331e313477fSAndi Kleen "PublicDescription": "Number of near branch instructions retired that were taken but mispredicted.", 332032c16b2SAndi Kleen "SampleAfterValue": "400009", 333f16c3236SIan Rogers "UMask": "0x20" 334032c16b2SAndi Kleen }, 335032c16b2SAndi Kleen { 336f16c3236SIan Rogers "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 337f16c3236SIan Rogers "Counter": "0,1,2,3", 338f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 339f16c3236SIan Rogers "EventCode": "0x3c", 340f16c3236SIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.ONE_THREAD_ACTIVE", 341f16c3236SIan Rogers "SampleAfterValue": "100003", 342f16c3236SIan Rogers "UMask": "0x2" 343f16c3236SIan Rogers }, 344f16c3236SIan Rogers { 345f16c3236SIan Rogers "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 346f16c3236SIan Rogers "Counter": "0,1,2,3", 347f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 348f16c3236SIan Rogers "EventCode": "0x3C", 349f16c3236SIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK", 350f16c3236SIan Rogers "PublicDescription": "Increments at the frequency of XCLK (100 MHz) when not halted.", 351f16c3236SIan Rogers "SampleAfterValue": "100003", 352f16c3236SIan Rogers "UMask": "0x1" 353f16c3236SIan Rogers }, 354f16c3236SIan Rogers { 355f16c3236SIan Rogers "AnyThread": "1", 356f16c3236SIan Rogers "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)", 357f16c3236SIan Rogers "Counter": "0,1,2,3", 358f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 359f16c3236SIan Rogers "EventCode": "0x3C", 360f16c3236SIan Rogers "EventName": "CPU_CLK_THREAD_UNHALTED.REF_XCLK_ANY", 361f16c3236SIan Rogers "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 362f16c3236SIan Rogers "SampleAfterValue": "100003", 363f16c3236SIan Rogers "UMask": "0x1" 364f16c3236SIan Rogers }, 365f16c3236SIan Rogers { 366f16c3236SIan Rogers "BriefDescription": "Count XClk pulses when this thread is unhalted and the other thread is halted.", 367f16c3236SIan Rogers "Counter": "0,1,2,3", 368f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 369f16c3236SIan Rogers "EventCode": "0x3C", 370f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE", 371f16c3236SIan Rogers "SampleAfterValue": "100003", 372f16c3236SIan Rogers "UMask": "0x2" 373f16c3236SIan Rogers }, 374f16c3236SIan Rogers { 375f16c3236SIan Rogers "BriefDescription": "Reference cycles when the core is not in halt state.", 376f16c3236SIan Rogers "Counter": "Fixed counter 2", 377f16c3236SIan Rogers "CounterHTOff": "Fixed counter 2", 378f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_TSC", 379f16c3236SIan Rogers "PublicDescription": "This event 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.", 380f16c3236SIan Rogers "SampleAfterValue": "2000003", 381f16c3236SIan Rogers "UMask": "0x3" 382f16c3236SIan Rogers }, 383f16c3236SIan Rogers { 384f16c3236SIan Rogers "BriefDescription": "Reference cycles when the thread is unhalted (counts at 100 MHz rate)", 385f16c3236SIan Rogers "Counter": "0,1,2,3", 386f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 387f16c3236SIan Rogers "EventCode": "0x3C", 388f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_XCLK", 389f16c3236SIan Rogers "PublicDescription": "Reference cycles when the thread is unhalted. (counts at 100 MHz rate)", 390f16c3236SIan Rogers "SampleAfterValue": "100003", 391f16c3236SIan Rogers "UMask": "0x1" 392f16c3236SIan Rogers }, 393f16c3236SIan Rogers { 394f16c3236SIan Rogers "AnyThread": "1", 395f16c3236SIan Rogers "BriefDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate)", 396f16c3236SIan Rogers "Counter": "0,1,2,3", 397f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 398f16c3236SIan Rogers "EventCode": "0x3C", 399f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.REF_XCLK_ANY", 400f16c3236SIan Rogers "PublicDescription": "Reference cycles when the at least one thread on the physical core is unhalted (counts at 100 MHz rate).", 401f16c3236SIan Rogers "SampleAfterValue": "100003", 402f16c3236SIan Rogers "UMask": "0x1" 403f16c3236SIan Rogers }, 404f16c3236SIan Rogers { 405f16c3236SIan Rogers "BriefDescription": "Core cycles when the thread is not in halt state.", 406f16c3236SIan Rogers "Counter": "Fixed counter 1", 407f16c3236SIan Rogers "CounterHTOff": "Fixed counter 1", 408f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD", 409f16c3236SIan Rogers "PublicDescription": "This event 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.", 410f16c3236SIan Rogers "SampleAfterValue": "2000003", 411f16c3236SIan Rogers "UMask": "0x2" 412f16c3236SIan Rogers }, 413f16c3236SIan Rogers { 414f16c3236SIan Rogers "AnyThread": "1", 415f16c3236SIan Rogers "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 416f16c3236SIan Rogers "Counter": "Fixed counter 1", 417f16c3236SIan Rogers "CounterHTOff": "Fixed counter 1", 418f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_ANY", 419f16c3236SIan Rogers "SampleAfterValue": "2000003", 420f16c3236SIan Rogers "UMask": "0x2" 421f16c3236SIan Rogers }, 422f16c3236SIan Rogers { 423f16c3236SIan Rogers "BriefDescription": "Thread cycles when thread is not in halt state", 424f16c3236SIan Rogers "Counter": "0,1,2,3", 425f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 426f16c3236SIan Rogers "EventCode": "0x3C", 427f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_P", 428f16c3236SIan Rogers "PublicDescription": "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.", 429f16c3236SIan Rogers "SampleAfterValue": "2000003" 430f16c3236SIan Rogers }, 431f16c3236SIan Rogers { 432f16c3236SIan Rogers "AnyThread": "1", 433f16c3236SIan Rogers "BriefDescription": "Core cycles when at least one thread on the physical core is not in halt state.", 434f16c3236SIan Rogers "Counter": "0,1,2,3", 435f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 436f16c3236SIan Rogers "EventCode": "0x3C", 437f16c3236SIan Rogers "EventName": "CPU_CLK_UNHALTED.THREAD_P_ANY", 438f16c3236SIan Rogers "SampleAfterValue": "2000003" 439f16c3236SIan Rogers }, 440f16c3236SIan Rogers { 441f16c3236SIan Rogers "BriefDescription": "Cycles with pending L1 cache miss loads.", 442f16c3236SIan Rogers "Counter": "2", 443f16c3236SIan Rogers "CounterHTOff": "2", 444f16c3236SIan Rogers "CounterMask": "8", 445f16c3236SIan Rogers "EventCode": "0xA3", 446f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_PENDING", 447f16c3236SIan Rogers "PublicDescription": "Cycles with pending L1 data cache miss loads. Set Cmask=8 to count cycle.", 448f16c3236SIan Rogers "SampleAfterValue": "2000003", 449f16c3236SIan Rogers "UMask": "0x8" 450f16c3236SIan Rogers }, 451f16c3236SIan Rogers { 452f16c3236SIan Rogers "BriefDescription": "Cycles with pending L2 cache miss loads.", 453f16c3236SIan Rogers "Counter": "0,1,2,3", 454f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 455f16c3236SIan Rogers "CounterMask": "1", 456f16c3236SIan Rogers "Errata": "HSD78, HSM63, HSM80", 457f16c3236SIan Rogers "EventCode": "0xa3", 458f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_L2_PENDING", 459f16c3236SIan Rogers "PublicDescription": "Cycles with pending L2 miss loads. Set Cmask=2 to count cycle.", 460f16c3236SIan Rogers "SampleAfterValue": "2000003", 461f16c3236SIan Rogers "UMask": "0x1" 462f16c3236SIan Rogers }, 463f16c3236SIan Rogers { 464f16c3236SIan Rogers "BriefDescription": "Cycles with pending memory loads.", 465f16c3236SIan Rogers "Counter": "0,1,2,3", 466f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 467f16c3236SIan Rogers "CounterMask": "2", 468f16c3236SIan Rogers "EventCode": "0xA3", 469f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_LDM_PENDING", 470f16c3236SIan Rogers "PublicDescription": "Cycles with pending memory loads. Set Cmask=2 to count cycle.", 471f16c3236SIan Rogers "SampleAfterValue": "2000003", 472f16c3236SIan Rogers "UMask": "0x2" 473f16c3236SIan Rogers }, 474f16c3236SIan Rogers { 475f16c3236SIan Rogers "BriefDescription": "This event increments by 1 for every cycle where there was no execute for this thread.", 476f16c3236SIan Rogers "Counter": "0,1,2,3", 477f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 478f16c3236SIan Rogers "CounterMask": "4", 479f16c3236SIan Rogers "EventCode": "0xA3", 480f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.CYCLES_NO_EXECUTE", 481f16c3236SIan Rogers "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline.", 482f16c3236SIan Rogers "SampleAfterValue": "2000003", 483f16c3236SIan Rogers "UMask": "0x4" 484f16c3236SIan Rogers }, 485f16c3236SIan Rogers { 486f16c3236SIan Rogers "BriefDescription": "Execution stalls due to L1 data cache misses", 487f16c3236SIan Rogers "Counter": "2", 488f16c3236SIan Rogers "CounterHTOff": "2", 489f16c3236SIan Rogers "CounterMask": "12", 490f16c3236SIan Rogers "EventCode": "0xA3", 491f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L1D_PENDING", 492f16c3236SIan Rogers "PublicDescription": "Execution stalls due to L1 data cache miss loads. Set Cmask=0CH.", 493f16c3236SIan Rogers "SampleAfterValue": "2000003", 494f16c3236SIan Rogers "UMask": "0xc" 495f16c3236SIan Rogers }, 496f16c3236SIan Rogers { 497f16c3236SIan Rogers "BriefDescription": "Execution stalls due to L2 cache misses.", 498f16c3236SIan Rogers "Counter": "0,1,2,3", 499f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 500f16c3236SIan Rogers "CounterMask": "5", 501f16c3236SIan Rogers "Errata": "HSM63, HSM80", 502f16c3236SIan Rogers "EventCode": "0xa3", 503f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_L2_PENDING", 504f16c3236SIan Rogers "PublicDescription": "Number of loads missed L2.", 505f16c3236SIan Rogers "SampleAfterValue": "2000003", 506f16c3236SIan Rogers "UMask": "0x5" 507f16c3236SIan Rogers }, 508f16c3236SIan Rogers { 509f16c3236SIan Rogers "BriefDescription": "Execution stalls due to memory subsystem.", 510f16c3236SIan Rogers "Counter": "0,1,2,3", 511f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 512f16c3236SIan Rogers "CounterMask": "6", 513f16c3236SIan Rogers "EventCode": "0xA3", 514f16c3236SIan Rogers "EventName": "CYCLE_ACTIVITY.STALLS_LDM_PENDING", 515f16c3236SIan Rogers "PublicDescription": "This event counts cycles during which no instructions were executed in the execution stage of the pipeline and there were memory instructions pending (waiting for data).", 516f16c3236SIan Rogers "SampleAfterValue": "2000003", 517f16c3236SIan Rogers "UMask": "0x6" 518f16c3236SIan Rogers }, 519f16c3236SIan Rogers { 520f16c3236SIan Rogers "BriefDescription": "Stall cycles because IQ is full", 521f16c3236SIan Rogers "Counter": "0,1,2,3", 522f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 523f16c3236SIan Rogers "EventCode": "0x87", 524f16c3236SIan Rogers "EventName": "ILD_STALL.IQ_FULL", 525f16c3236SIan Rogers "PublicDescription": "Stall cycles due to IQ is full.", 526f16c3236SIan Rogers "SampleAfterValue": "2000003", 527f16c3236SIan Rogers "UMask": "0x4" 528f16c3236SIan Rogers }, 529f16c3236SIan Rogers { 530f16c3236SIan Rogers "BriefDescription": "Stalls caused by changing prefix length of the instruction.", 531f16c3236SIan Rogers "Counter": "0,1,2,3", 532f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 533f16c3236SIan Rogers "EventCode": "0x87", 534f16c3236SIan Rogers "EventName": "ILD_STALL.LCP", 535f16c3236SIan Rogers "PublicDescription": "This event counts cycles where the decoder is stalled on an instruction with a length changing prefix (LCP).", 536f16c3236SIan Rogers "SampleAfterValue": "2000003", 537f16c3236SIan Rogers "UMask": "0x1" 538f16c3236SIan Rogers }, 539f16c3236SIan Rogers { 540f16c3236SIan Rogers "BriefDescription": "Instructions retired from execution.", 541f16c3236SIan Rogers "Counter": "Fixed counter 0", 542f16c3236SIan Rogers "CounterHTOff": "Fixed counter 0", 543f16c3236SIan Rogers "Errata": "HSD140, HSD143", 544f16c3236SIan Rogers "EventName": "INST_RETIRED.ANY", 545f16c3236SIan Rogers "PublicDescription": "This event counts the number of instructions retired from execution. For instructions that consist of multiple micro-ops, this event counts the retirement of the last micro-op of the instruction. Counting continues during hardware interrupts, traps, and inside interrupt handlers. INST_RETIRED.ANY is counted by a designated fixed counter, leaving the programmable counters available for other events. Faulting executions of GETSEC/VM entry/VM Exit/MWait will not count as retired instructions.", 546f16c3236SIan Rogers "SampleAfterValue": "2000003", 547f16c3236SIan Rogers "UMask": "0x1" 548f16c3236SIan Rogers }, 549f16c3236SIan Rogers { 550f16c3236SIan Rogers "BriefDescription": "Number of instructions retired. General Counter - architectural event", 551f16c3236SIan Rogers "Counter": "0,1,2,3", 552f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 553f16c3236SIan Rogers "Errata": "HSD11, HSD140", 554f16c3236SIan Rogers "EventCode": "0xC0", 555f16c3236SIan Rogers "EventName": "INST_RETIRED.ANY_P", 556f16c3236SIan Rogers "PublicDescription": "Number of instructions at retirement.", 557f16c3236SIan Rogers "SampleAfterValue": "2000003" 558f16c3236SIan Rogers }, 559f16c3236SIan Rogers { 560f16c3236SIan Rogers "BriefDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution", 561f16c3236SIan Rogers "Counter": "1", 562f16c3236SIan Rogers "CounterHTOff": "1", 563f16c3236SIan Rogers "Errata": "HSD140", 564f16c3236SIan Rogers "EventCode": "0xC0", 565f16c3236SIan Rogers "EventName": "INST_RETIRED.PREC_DIST", 566f16c3236SIan Rogers "PEBS": "2", 567f16c3236SIan Rogers "PublicDescription": "Precise instruction retired event with HW to reduce effect of PEBS shadow in IP distribution.", 568f16c3236SIan Rogers "SampleAfterValue": "2000003", 569f16c3236SIan Rogers "UMask": "0x1" 570f16c3236SIan Rogers }, 571f16c3236SIan Rogers { 572f16c3236SIan Rogers "BriefDescription": "FP operations retired. X87 FP operations that have no exceptions: Counts also flows that have several X87 or flows that use X87 uops in the exception handling.", 573f16c3236SIan Rogers "Counter": "0,1,2,3", 574f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 575f16c3236SIan Rogers "EventCode": "0xC0", 576f16c3236SIan Rogers "EventName": "INST_RETIRED.X87", 577f16c3236SIan Rogers "PublicDescription": "This is a non-precise version (that is, does not use PEBS) of the event that counts FP operations retired. For X87 FP operations that have no exceptions counting also includes flows that have several X87, or flows that use X87 uops in the exception handling.", 578f16c3236SIan Rogers "SampleAfterValue": "2000003", 579f16c3236SIan Rogers "UMask": "0x2" 580f16c3236SIan Rogers }, 581f16c3236SIan Rogers { 582f16c3236SIan Rogers "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread (e.g. misprediction or memory nuke)", 583f16c3236SIan Rogers "Counter": "0,1,2,3", 584f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 585f16c3236SIan Rogers "CounterMask": "1", 586f16c3236SIan Rogers "EventCode": "0x0D", 587f16c3236SIan Rogers "EventName": "INT_MISC.RECOVERY_CYCLES", 588f16c3236SIan Rogers "PublicDescription": "This event counts the number of cycles spent waiting for a recovery after an event such as a processor nuke, JEClear, assist, hle/rtm abort etc.", 589f16c3236SIan Rogers "SampleAfterValue": "2000003", 590f16c3236SIan Rogers "UMask": "0x3" 591f16c3236SIan Rogers }, 592f16c3236SIan Rogers { 593f16c3236SIan Rogers "AnyThread": "1", 594f16c3236SIan Rogers "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke)", 595f16c3236SIan Rogers "Counter": "0,1,2,3", 596f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 597f16c3236SIan Rogers "CounterMask": "1", 598f16c3236SIan Rogers "EventCode": "0x0D", 599f16c3236SIan Rogers "EventName": "INT_MISC.RECOVERY_CYCLES_ANY", 600f16c3236SIan Rogers "PublicDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for any thread running on the physical core (e.g. misprediction or memory nuke).", 601f16c3236SIan Rogers "SampleAfterValue": "2000003", 602f16c3236SIan Rogers "UMask": "0x3" 603f16c3236SIan Rogers }, 604f16c3236SIan Rogers { 605f16c3236SIan Rogers "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use", 606f16c3236SIan Rogers "Counter": "0,1,2,3", 607f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 608f16c3236SIan Rogers "EventCode": "0x03", 609f16c3236SIan Rogers "EventName": "LD_BLOCKS.NO_SR", 610f16c3236SIan Rogers "PublicDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.", 611f16c3236SIan Rogers "SampleAfterValue": "100003", 612f16c3236SIan Rogers "UMask": "0x8" 613f16c3236SIan Rogers }, 614f16c3236SIan Rogers { 615f16c3236SIan Rogers "BriefDescription": "loads blocked by overlapping with store buffer that cannot be forwarded", 616f16c3236SIan Rogers "Counter": "0,1,2,3", 617f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 618f16c3236SIan Rogers "EventCode": "0x03", 619f16c3236SIan Rogers "EventName": "LD_BLOCKS.STORE_FORWARD", 620f16c3236SIan Rogers "PublicDescription": "This event counts loads that followed a store to the same address, where the data could not be forwarded inside the pipeline from the store to the load. The most common reason why store forwarding would be blocked is when a load's address range overlaps with a preceding smaller uncompleted store. The penalty for blocked store forwarding is that the load must wait for the store to write its value to the cache before it can be issued.", 621f16c3236SIan Rogers "SampleAfterValue": "100003", 622f16c3236SIan Rogers "UMask": "0x2" 623f16c3236SIan Rogers }, 624f16c3236SIan Rogers { 625f16c3236SIan Rogers "BriefDescription": "False dependencies in MOB due to partial compare on address.", 626f16c3236SIan Rogers "Counter": "0,1,2,3", 627f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 628f16c3236SIan Rogers "EventCode": "0x07", 629f16c3236SIan Rogers "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS", 630f16c3236SIan Rogers "PublicDescription": "Aliasing occurs when a load is issued after a store and their memory addresses are offset by 4K. This event counts the number of loads that aliased with a preceding store, resulting in an extended address check in the pipeline which can have a performance impact.", 631f16c3236SIan Rogers "SampleAfterValue": "100003", 632f16c3236SIan Rogers "UMask": "0x1" 633f16c3236SIan Rogers }, 634f16c3236SIan Rogers { 635f16c3236SIan Rogers "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for hardware prefetch", 636f16c3236SIan Rogers "Counter": "0,1,2,3", 637f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 638f16c3236SIan Rogers "EventCode": "0x4c", 639f16c3236SIan Rogers "EventName": "LOAD_HIT_PRE.HW_PF", 640f16c3236SIan Rogers "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for H/W prefetch.", 641f16c3236SIan Rogers "SampleAfterValue": "100003", 642f16c3236SIan Rogers "UMask": "0x2" 643f16c3236SIan Rogers }, 644f16c3236SIan Rogers { 645f16c3236SIan Rogers "BriefDescription": "Not software-prefetch load dispatches that hit FB allocated for software prefetch", 646f16c3236SIan Rogers "Counter": "0,1,2,3", 647f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 648f16c3236SIan Rogers "EventCode": "0x4c", 649f16c3236SIan Rogers "EventName": "LOAD_HIT_PRE.SW_PF", 650f16c3236SIan Rogers "PublicDescription": "Non-SW-prefetch load dispatches that hit fill buffer allocated for S/W prefetch.", 651f16c3236SIan Rogers "SampleAfterValue": "100003", 652f16c3236SIan Rogers "UMask": "0x1" 653f16c3236SIan Rogers }, 654f16c3236SIan Rogers { 655f16c3236SIan Rogers "BriefDescription": "Cycles 4 Uops delivered by the LSD, but didn't come from the decoder.", 656f16c3236SIan Rogers "Counter": "0,1,2,3", 657f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 658f16c3236SIan Rogers "CounterMask": "4", 659f16c3236SIan Rogers "EventCode": "0xA8", 660f16c3236SIan Rogers "EventName": "LSD.CYCLES_4_UOPS", 661f16c3236SIan Rogers "SampleAfterValue": "2000003", 662f16c3236SIan Rogers "UMask": "0x1" 663f16c3236SIan Rogers }, 664f16c3236SIan Rogers { 665f16c3236SIan Rogers "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.", 666f16c3236SIan Rogers "Counter": "0,1,2,3", 667f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 668f16c3236SIan Rogers "CounterMask": "1", 669f16c3236SIan Rogers "EventCode": "0xA8", 670f16c3236SIan Rogers "EventName": "LSD.CYCLES_ACTIVE", 671f16c3236SIan Rogers "SampleAfterValue": "2000003", 672f16c3236SIan Rogers "UMask": "0x1" 673f16c3236SIan Rogers }, 674f16c3236SIan Rogers { 675f16c3236SIan Rogers "BriefDescription": "Number of Uops delivered by the LSD.", 676f16c3236SIan Rogers "Counter": "0,1,2,3", 677f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 678f16c3236SIan Rogers "EventCode": "0xa8", 679f16c3236SIan Rogers "EventName": "LSD.UOPS", 680f16c3236SIan Rogers "PublicDescription": "Number of uops delivered by the LSD.", 681f16c3236SIan Rogers "SampleAfterValue": "2000003", 682f16c3236SIan Rogers "UMask": "0x1" 683f16c3236SIan Rogers }, 684f16c3236SIan Rogers { 685f16c3236SIan Rogers "BriefDescription": "Number of machine clears (nukes) of any type.", 686f16c3236SIan Rogers "Counter": "0,1,2,3", 687f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 688f16c3236SIan Rogers "CounterMask": "1", 689f16c3236SIan Rogers "EdgeDetect": "1", 690f16c3236SIan Rogers "EventCode": "0xC3", 691f16c3236SIan Rogers "EventName": "MACHINE_CLEARS.COUNT", 692f16c3236SIan Rogers "SampleAfterValue": "100003", 693f16c3236SIan Rogers "UMask": "0x1" 694f16c3236SIan Rogers }, 695f16c3236SIan Rogers { 696f16c3236SIan Rogers "BriefDescription": "Cycles there was a Nuke. Account for both thread-specific and All Thread Nukes.", 697f16c3236SIan Rogers "Counter": "0,1,2,3", 698f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 699f16c3236SIan Rogers "EventCode": "0xC3", 700f16c3236SIan Rogers "EventName": "MACHINE_CLEARS.CYCLES", 701f16c3236SIan Rogers "SampleAfterValue": "2000003", 702f16c3236SIan Rogers "UMask": "0x1" 703f16c3236SIan Rogers }, 704f16c3236SIan Rogers { 705f16c3236SIan Rogers "BriefDescription": "This event counts the number of executed Intel AVX masked load operations that refer to an illegal address range with the mask bits set to 0.", 706f16c3236SIan Rogers "Counter": "0,1,2,3", 707f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 708f16c3236SIan Rogers "EventCode": "0xC3", 709f16c3236SIan Rogers "EventName": "MACHINE_CLEARS.MASKMOV", 710f16c3236SIan Rogers "SampleAfterValue": "100003", 711f16c3236SIan Rogers "UMask": "0x20" 712f16c3236SIan Rogers }, 713f16c3236SIan Rogers { 714f16c3236SIan Rogers "BriefDescription": "Self-modifying code (SMC) detected.", 715f16c3236SIan Rogers "Counter": "0,1,2,3", 716f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 717f16c3236SIan Rogers "EventCode": "0xC3", 718f16c3236SIan Rogers "EventName": "MACHINE_CLEARS.SMC", 719f16c3236SIan Rogers "PublicDescription": "This event is incremented when self-modifying code (SMC) is detected, which causes a machine clear. Machine clears can have a significant performance impact if they are happening frequently.", 720f16c3236SIan Rogers "SampleAfterValue": "100003", 721f16c3236SIan Rogers "UMask": "0x4" 722f16c3236SIan Rogers }, 723f16c3236SIan Rogers { 724f16c3236SIan Rogers "BriefDescription": "Number of integer Move Elimination candidate uops that were eliminated.", 725f16c3236SIan Rogers "Counter": "0,1,2,3", 726f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 727f16c3236SIan Rogers "EventCode": "0x58", 728f16c3236SIan Rogers "EventName": "MOVE_ELIMINATION.INT_ELIMINATED", 729f16c3236SIan Rogers "PublicDescription": "Number of integer move elimination candidate uops that were eliminated.", 730f16c3236SIan Rogers "SampleAfterValue": "1000003", 731f16c3236SIan Rogers "UMask": "0x1" 732f16c3236SIan Rogers }, 733f16c3236SIan Rogers { 734f16c3236SIan Rogers "BriefDescription": "Number of integer Move Elimination candidate uops that were not eliminated.", 735f16c3236SIan Rogers "Counter": "0,1,2,3", 736f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 737f16c3236SIan Rogers "EventCode": "0x58", 738f16c3236SIan Rogers "EventName": "MOVE_ELIMINATION.INT_NOT_ELIMINATED", 739f16c3236SIan Rogers "PublicDescription": "Number of integer move elimination candidate uops that were not eliminated.", 740f16c3236SIan Rogers "SampleAfterValue": "1000003", 741f16c3236SIan Rogers "UMask": "0x4" 742f16c3236SIan Rogers }, 743f16c3236SIan Rogers { 744f16c3236SIan Rogers "BriefDescription": "Number of times any microcode assist is invoked by HW upon uop writeback.", 745f16c3236SIan Rogers "Counter": "0,1,2,3", 746f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 747f16c3236SIan Rogers "EventCode": "0xC1", 748f16c3236SIan Rogers "EventName": "OTHER_ASSISTS.ANY_WB_ASSIST", 749f16c3236SIan Rogers "PublicDescription": "Number of microcode assists invoked by HW upon uop writeback.", 750f16c3236SIan Rogers "SampleAfterValue": "100003", 751f16c3236SIan Rogers "UMask": "0x40" 752f16c3236SIan Rogers }, 753f16c3236SIan Rogers { 754f16c3236SIan Rogers "BriefDescription": "Resource-related stall cycles", 755f16c3236SIan Rogers "Counter": "0,1,2,3", 756f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 757f16c3236SIan Rogers "Errata": "HSD135", 758f16c3236SIan Rogers "EventCode": "0xA2", 759f16c3236SIan Rogers "EventName": "RESOURCE_STALLS.ANY", 760f16c3236SIan Rogers "PublicDescription": "Cycles allocation is stalled due to resource related reason.", 761f16c3236SIan Rogers "SampleAfterValue": "2000003", 762f16c3236SIan Rogers "UMask": "0x1" 763f16c3236SIan Rogers }, 764f16c3236SIan Rogers { 765f16c3236SIan Rogers "BriefDescription": "Cycles stalled due to re-order buffer full.", 766f16c3236SIan Rogers "Counter": "0,1,2,3", 767f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 768f16c3236SIan Rogers "EventCode": "0xA2", 769f16c3236SIan Rogers "EventName": "RESOURCE_STALLS.ROB", 770f16c3236SIan Rogers "SampleAfterValue": "2000003", 771f16c3236SIan Rogers "UMask": "0x10" 772f16c3236SIan Rogers }, 773f16c3236SIan Rogers { 774f16c3236SIan Rogers "BriefDescription": "Cycles stalled due to no eligible RS entry available.", 775f16c3236SIan Rogers "Counter": "0,1,2,3", 776f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 777f16c3236SIan Rogers "EventCode": "0xA2", 778f16c3236SIan Rogers "EventName": "RESOURCE_STALLS.RS", 779f16c3236SIan Rogers "SampleAfterValue": "2000003", 780f16c3236SIan Rogers "UMask": "0x4" 781f16c3236SIan Rogers }, 782f16c3236SIan Rogers { 783f16c3236SIan Rogers "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).", 784f16c3236SIan Rogers "Counter": "0,1,2,3", 785f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 786f16c3236SIan Rogers "EventCode": "0xA2", 787f16c3236SIan Rogers "EventName": "RESOURCE_STALLS.SB", 788f16c3236SIan Rogers "PublicDescription": "This event counts cycles during which no instructions were allocated because no Store Buffers (SB) were available.", 789f16c3236SIan Rogers "SampleAfterValue": "2000003", 790f16c3236SIan Rogers "UMask": "0x8" 791f16c3236SIan Rogers }, 792f16c3236SIan Rogers { 793032c16b2SAndi Kleen "BriefDescription": "Count cases of saving new LBR", 794032c16b2SAndi Kleen "Counter": "0,1,2,3", 795f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 796f16c3236SIan Rogers "EventCode": "0xCC", 797032c16b2SAndi Kleen "EventName": "ROB_MISC_EVENTS.LBR_INSERTS", 798032c16b2SAndi Kleen "PublicDescription": "Count cases of saving new LBR records by hardware.", 799032c16b2SAndi Kleen "SampleAfterValue": "2000003", 800f16c3236SIan Rogers "UMask": "0x20" 801032c16b2SAndi Kleen }, 802032c16b2SAndi Kleen { 803f16c3236SIan Rogers "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread", 804032c16b2SAndi Kleen "Counter": "0,1,2,3", 805f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 806f16c3236SIan Rogers "EventCode": "0x5E", 807f16c3236SIan Rogers "EventName": "RS_EVENTS.EMPTY_CYCLES", 808f16c3236SIan Rogers "PublicDescription": "This event counts cycles when the Reservation Station ( RS ) is empty for the thread. The RS is a structure that buffers allocated micro-ops from the Front-end. If there are many cycles when the RS is empty, it may represent an underflow of instructions delivered from the Front-end.", 809f16c3236SIan Rogers "SampleAfterValue": "2000003", 810f16c3236SIan Rogers "UMask": "0x1" 811f16c3236SIan Rogers }, 812f16c3236SIan Rogers { 813f16c3236SIan Rogers "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty. Could be useful to precisely locate Frontend Latency Bound issues.", 814f16c3236SIan Rogers "Counter": "0,1,2,3", 815f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 816f16c3236SIan Rogers "CounterMask": "1", 817f16c3236SIan Rogers "EdgeDetect": "1", 818f16c3236SIan Rogers "EventCode": "0x5E", 819f16c3236SIan Rogers "EventName": "RS_EVENTS.EMPTY_END", 820f16c3236SIan Rogers "Invert": "1", 821f16c3236SIan Rogers "SampleAfterValue": "200003", 822f16c3236SIan Rogers "UMask": "0x1" 823f16c3236SIan Rogers }, 824f16c3236SIan Rogers { 825f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 0.", 826f16c3236SIan Rogers "Counter": "0,1,2,3", 827f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 828f16c3236SIan Rogers "EventCode": "0xA1", 829f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_0", 830f16c3236SIan Rogers "SampleAfterValue": "2000003", 831f16c3236SIan Rogers "UMask": "0x1" 832f16c3236SIan Rogers }, 833f16c3236SIan Rogers { 834f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 1.", 835f16c3236SIan Rogers "Counter": "0,1,2,3", 836f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 837f16c3236SIan Rogers "EventCode": "0xA1", 838f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_1", 839f16c3236SIan Rogers "SampleAfterValue": "2000003", 840f16c3236SIan Rogers "UMask": "0x2" 841f16c3236SIan Rogers }, 842f16c3236SIan Rogers { 843f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 2.", 844f16c3236SIan Rogers "Counter": "0,1,2,3", 845f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 846f16c3236SIan Rogers "EventCode": "0xA1", 847f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_2", 848f16c3236SIan Rogers "SampleAfterValue": "2000003", 849f16c3236SIan Rogers "UMask": "0x4" 850f16c3236SIan Rogers }, 851f16c3236SIan Rogers { 852f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 3.", 853f16c3236SIan Rogers "Counter": "0,1,2,3", 854f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 855f16c3236SIan Rogers "EventCode": "0xA1", 856f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_3", 857f16c3236SIan Rogers "SampleAfterValue": "2000003", 858f16c3236SIan Rogers "UMask": "0x8" 859f16c3236SIan Rogers }, 860f16c3236SIan Rogers { 861f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 4.", 862f16c3236SIan Rogers "Counter": "0,1,2,3", 863f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 864f16c3236SIan Rogers "EventCode": "0xA1", 865f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_4", 866f16c3236SIan Rogers "SampleAfterValue": "2000003", 867f16c3236SIan Rogers "UMask": "0x10" 868f16c3236SIan Rogers }, 869f16c3236SIan Rogers { 870f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 5.", 871f16c3236SIan Rogers "Counter": "0,1,2,3", 872f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 873f16c3236SIan Rogers "EventCode": "0xA1", 874f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_5", 875f16c3236SIan Rogers "SampleAfterValue": "2000003", 876f16c3236SIan Rogers "UMask": "0x20" 877f16c3236SIan Rogers }, 878f16c3236SIan Rogers { 879f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 6.", 880f16c3236SIan Rogers "Counter": "0,1,2,3", 881f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 882f16c3236SIan Rogers "EventCode": "0xA1", 883f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_6", 884f16c3236SIan Rogers "SampleAfterValue": "2000003", 885f16c3236SIan Rogers "UMask": "0x40" 886f16c3236SIan Rogers }, 887f16c3236SIan Rogers { 888f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 7.", 889f16c3236SIan Rogers "Counter": "0,1,2,3", 890f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 891f16c3236SIan Rogers "EventCode": "0xA1", 892f16c3236SIan Rogers "EventName": "UOPS_DISPATCHED_PORT.PORT_7", 893f16c3236SIan Rogers "SampleAfterValue": "2000003", 894f16c3236SIan Rogers "UMask": "0x80" 895f16c3236SIan Rogers }, 896f16c3236SIan Rogers { 897f16c3236SIan Rogers "BriefDescription": "Number of uops executed on the core.", 898f16c3236SIan Rogers "Counter": "0,1,2,3", 899f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 900f16c3236SIan Rogers "Errata": "HSD30, HSM31", 901f16c3236SIan Rogers "EventCode": "0xB1", 902f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE", 903f16c3236SIan Rogers "PublicDescription": "Counts total number of uops to be executed per-core each cycle.", 904f16c3236SIan Rogers "SampleAfterValue": "2000003", 905f16c3236SIan Rogers "UMask": "0x2" 906f16c3236SIan Rogers }, 907f16c3236SIan Rogers { 908f16c3236SIan Rogers "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.", 909f16c3236SIan Rogers "Counter": "0,1,2,3", 910f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 911f16c3236SIan Rogers "CounterMask": "1", 912f16c3236SIan Rogers "Errata": "HSD30, HSM31", 913f16c3236SIan Rogers "EventCode": "0xb1", 914f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1", 915f16c3236SIan Rogers "SampleAfterValue": "2000003", 916f16c3236SIan Rogers "UMask": "0x2" 917f16c3236SIan Rogers }, 918f16c3236SIan Rogers { 919f16c3236SIan Rogers "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.", 920f16c3236SIan Rogers "Counter": "0,1,2,3", 921f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 922f16c3236SIan Rogers "CounterMask": "2", 923f16c3236SIan Rogers "Errata": "HSD30, HSM31", 924f16c3236SIan Rogers "EventCode": "0xb1", 925f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2", 926f16c3236SIan Rogers "SampleAfterValue": "2000003", 927f16c3236SIan Rogers "UMask": "0x2" 928f16c3236SIan Rogers }, 929f16c3236SIan Rogers { 930f16c3236SIan Rogers "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.", 931f16c3236SIan Rogers "Counter": "0,1,2,3", 932f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 933f16c3236SIan Rogers "CounterMask": "3", 934f16c3236SIan Rogers "Errata": "HSD30, HSM31", 935f16c3236SIan Rogers "EventCode": "0xb1", 936f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3", 937f16c3236SIan Rogers "SampleAfterValue": "2000003", 938f16c3236SIan Rogers "UMask": "0x2" 939f16c3236SIan Rogers }, 940f16c3236SIan Rogers { 941f16c3236SIan Rogers "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.", 942f16c3236SIan Rogers "Counter": "0,1,2,3", 943f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 944f16c3236SIan Rogers "CounterMask": "4", 945f16c3236SIan Rogers "Errata": "HSD30, HSM31", 946f16c3236SIan Rogers "EventCode": "0xb1", 947f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4", 948f16c3236SIan Rogers "SampleAfterValue": "2000003", 949f16c3236SIan Rogers "UMask": "0x2" 950f16c3236SIan Rogers }, 951f16c3236SIan Rogers { 952f16c3236SIan Rogers "BriefDescription": "Cycles with no micro-ops executed from any thread on physical core.", 953f16c3236SIan Rogers "Counter": "0,1,2,3", 954f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 955f16c3236SIan Rogers "Errata": "HSD30, HSM31", 956f16c3236SIan Rogers "EventCode": "0xb1", 957f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CORE_CYCLES_NONE", 958f16c3236SIan Rogers "Invert": "1", 959f16c3236SIan Rogers "SampleAfterValue": "2000003", 960f16c3236SIan Rogers "UMask": "0x2" 961f16c3236SIan Rogers }, 962f16c3236SIan Rogers { 963f16c3236SIan Rogers "BriefDescription": "Cycles where at least 1 uop was executed per-thread", 964f16c3236SIan Rogers "Counter": "0,1,2,3", 965f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 966f16c3236SIan Rogers "CounterMask": "1", 967f16c3236SIan Rogers "Errata": "HSD144, HSD30, HSM31", 968f16c3236SIan Rogers "EventCode": "0xB1", 969f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC", 970f16c3236SIan Rogers "PublicDescription": "This events counts the cycles where at least one uop was executed. It is counted per thread.", 971f16c3236SIan Rogers "SampleAfterValue": "2000003", 972f16c3236SIan Rogers "UMask": "0x1" 973f16c3236SIan Rogers }, 974f16c3236SIan Rogers { 975f16c3236SIan Rogers "BriefDescription": "Cycles where at least 2 uops were executed per-thread", 976f16c3236SIan Rogers "Counter": "0,1,2,3", 977f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 978f16c3236SIan Rogers "CounterMask": "2", 979f16c3236SIan Rogers "Errata": "HSD144, HSD30, HSM31", 980f16c3236SIan Rogers "EventCode": "0xB1", 981f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_2_UOPS_EXEC", 982f16c3236SIan Rogers "PublicDescription": "This events counts the cycles where at least two uop were executed. It is counted per thread.", 983f16c3236SIan Rogers "SampleAfterValue": "2000003", 984f16c3236SIan Rogers "UMask": "0x1" 985f16c3236SIan Rogers }, 986f16c3236SIan Rogers { 987f16c3236SIan Rogers "BriefDescription": "Cycles where at least 3 uops were executed per-thread", 988f16c3236SIan Rogers "Counter": "0,1,2,3", 989f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 990f16c3236SIan Rogers "CounterMask": "3", 991f16c3236SIan Rogers "Errata": "HSD144, HSD30, HSM31", 992f16c3236SIan Rogers "EventCode": "0xB1", 993f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_3_UOPS_EXEC", 994f16c3236SIan Rogers "PublicDescription": "This events counts the cycles where at least three uop were executed. It is counted per thread.", 995f16c3236SIan Rogers "SampleAfterValue": "2000003", 996f16c3236SIan Rogers "UMask": "0x1" 997f16c3236SIan Rogers }, 998f16c3236SIan Rogers { 999f16c3236SIan Rogers "BriefDescription": "Cycles where at least 4 uops were executed per-thread.", 1000f16c3236SIan Rogers "Counter": "0,1,2,3", 1001f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1002f16c3236SIan Rogers "CounterMask": "4", 1003f16c3236SIan Rogers "Errata": "HSD144, HSD30, HSM31", 1004f16c3236SIan Rogers "EventCode": "0xB1", 1005f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.CYCLES_GE_4_UOPS_EXEC", 1006f16c3236SIan Rogers "SampleAfterValue": "2000003", 1007f16c3236SIan Rogers "UMask": "0x1" 1008f16c3236SIan Rogers }, 1009f16c3236SIan Rogers { 1010f16c3236SIan Rogers "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.", 1011f16c3236SIan Rogers "Counter": "0,1,2,3", 1012f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1013f16c3236SIan Rogers "CounterMask": "1", 1014f16c3236SIan Rogers "Errata": "HSD144, HSD30, HSM31", 1015f16c3236SIan Rogers "EventCode": "0xB1", 1016f16c3236SIan Rogers "EventName": "UOPS_EXECUTED.STALL_CYCLES", 1017f16c3236SIan Rogers "Invert": "1", 1018f16c3236SIan Rogers "SampleAfterValue": "2000003", 1019f16c3236SIan Rogers "UMask": "0x1" 1020f16c3236SIan Rogers }, 1021f16c3236SIan Rogers { 1022f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 0", 1023f16c3236SIan Rogers "Counter": "0,1,2,3", 1024f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1025f16c3236SIan Rogers "EventCode": "0xA1", 1026f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_0", 1027f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 0 in this thread.", 1028f16c3236SIan Rogers "SampleAfterValue": "2000003", 1029f16c3236SIan Rogers "UMask": "0x1" 1030f16c3236SIan Rogers }, 1031f16c3236SIan Rogers { 1032f16c3236SIan Rogers "AnyThread": "1", 1033f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 0.", 1034f16c3236SIan Rogers "Counter": "0,1,2,3", 1035f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1036f16c3236SIan Rogers "EventCode": "0xA1", 1037f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_0_CORE", 1038f16c3236SIan Rogers "PublicDescription": "Cycles per core when uops are exectuted in port 0.", 1039f16c3236SIan Rogers "SampleAfterValue": "2000003", 1040f16c3236SIan Rogers "UMask": "0x1" 1041f16c3236SIan Rogers }, 1042f16c3236SIan Rogers { 1043f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 1", 1044f16c3236SIan Rogers "Counter": "0,1,2,3", 1045f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1046f16c3236SIan Rogers "EventCode": "0xA1", 1047f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_1", 1048f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 1 in this thread.", 1049f16c3236SIan Rogers "SampleAfterValue": "2000003", 1050f16c3236SIan Rogers "UMask": "0x2" 1051f16c3236SIan Rogers }, 1052f16c3236SIan Rogers { 1053f16c3236SIan Rogers "AnyThread": "1", 1054f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 1.", 1055f16c3236SIan Rogers "Counter": "0,1,2,3", 1056f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1057f16c3236SIan Rogers "EventCode": "0xA1", 1058f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_1_CORE", 1059f16c3236SIan Rogers "PublicDescription": "Cycles per core when uops are exectuted in port 1.", 1060f16c3236SIan Rogers "SampleAfterValue": "2000003", 1061f16c3236SIan Rogers "UMask": "0x2" 1062f16c3236SIan Rogers }, 1063f16c3236SIan Rogers { 1064f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 2", 1065f16c3236SIan Rogers "Counter": "0,1,2,3", 1066f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1067f16c3236SIan Rogers "EventCode": "0xA1", 1068f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_2", 1069f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 2 in this thread.", 1070f16c3236SIan Rogers "SampleAfterValue": "2000003", 1071f16c3236SIan Rogers "UMask": "0x4" 1072f16c3236SIan Rogers }, 1073f16c3236SIan Rogers { 1074f16c3236SIan Rogers "AnyThread": "1", 1075f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 2.", 1076f16c3236SIan Rogers "Counter": "0,1,2,3", 1077f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1078f16c3236SIan Rogers "EventCode": "0xA1", 1079f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_2_CORE", 1080f16c3236SIan Rogers "SampleAfterValue": "2000003", 1081f16c3236SIan Rogers "UMask": "0x4" 1082f16c3236SIan Rogers }, 1083f16c3236SIan Rogers { 1084f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 3", 1085f16c3236SIan Rogers "Counter": "0,1,2,3", 1086f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1087f16c3236SIan Rogers "EventCode": "0xA1", 1088f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_3", 1089f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 3 in this thread.", 1090f16c3236SIan Rogers "SampleAfterValue": "2000003", 1091f16c3236SIan Rogers "UMask": "0x8" 1092f16c3236SIan Rogers }, 1093f16c3236SIan Rogers { 1094f16c3236SIan Rogers "AnyThread": "1", 1095f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 3.", 1096f16c3236SIan Rogers "Counter": "0,1,2,3", 1097f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1098f16c3236SIan Rogers "EventCode": "0xA1", 1099f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_3_CORE", 1100f16c3236SIan Rogers "SampleAfterValue": "2000003", 1101f16c3236SIan Rogers "UMask": "0x8" 1102f16c3236SIan Rogers }, 1103f16c3236SIan Rogers { 1104f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 4", 1105f16c3236SIan Rogers "Counter": "0,1,2,3", 1106f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1107f16c3236SIan Rogers "EventCode": "0xA1", 1108f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_4", 1109f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 4 in this thread.", 1110f16c3236SIan Rogers "SampleAfterValue": "2000003", 1111f16c3236SIan Rogers "UMask": "0x10" 1112f16c3236SIan Rogers }, 1113f16c3236SIan Rogers { 1114f16c3236SIan Rogers "AnyThread": "1", 1115f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 4.", 1116f16c3236SIan Rogers "Counter": "0,1,2,3", 1117f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1118f16c3236SIan Rogers "EventCode": "0xA1", 1119f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_4_CORE", 1120f16c3236SIan Rogers "PublicDescription": "Cycles per core when uops are exectuted in port 4.", 1121f16c3236SIan Rogers "SampleAfterValue": "2000003", 1122f16c3236SIan Rogers "UMask": "0x10" 1123f16c3236SIan Rogers }, 1124f16c3236SIan Rogers { 1125f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 5", 1126f16c3236SIan Rogers "Counter": "0,1,2,3", 1127f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1128f16c3236SIan Rogers "EventCode": "0xA1", 1129f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_5", 1130f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 5 in this thread.", 1131f16c3236SIan Rogers "SampleAfterValue": "2000003", 1132f16c3236SIan Rogers "UMask": "0x20" 1133f16c3236SIan Rogers }, 1134f16c3236SIan Rogers { 1135f16c3236SIan Rogers "AnyThread": "1", 1136f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 5.", 1137f16c3236SIan Rogers "Counter": "0,1,2,3", 1138f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1139f16c3236SIan Rogers "EventCode": "0xA1", 1140f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_5_CORE", 1141f16c3236SIan Rogers "PublicDescription": "Cycles per core when uops are exectuted in port 5.", 1142f16c3236SIan Rogers "SampleAfterValue": "2000003", 1143f16c3236SIan Rogers "UMask": "0x20" 1144f16c3236SIan Rogers }, 1145f16c3236SIan Rogers { 1146f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 6", 1147f16c3236SIan Rogers "Counter": "0,1,2,3", 1148f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1149f16c3236SIan Rogers "EventCode": "0xA1", 1150f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_6", 1151f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 6 in this thread.", 1152f16c3236SIan Rogers "SampleAfterValue": "2000003", 1153f16c3236SIan Rogers "UMask": "0x40" 1154f16c3236SIan Rogers }, 1155f16c3236SIan Rogers { 1156f16c3236SIan Rogers "AnyThread": "1", 1157f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are executed in port 6.", 1158f16c3236SIan Rogers "Counter": "0,1,2,3", 1159f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1160f16c3236SIan Rogers "EventCode": "0xA1", 1161f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_6_CORE", 1162f16c3236SIan Rogers "PublicDescription": "Cycles per core when uops are exectuted in port 6.", 1163f16c3236SIan Rogers "SampleAfterValue": "2000003", 1164f16c3236SIan Rogers "UMask": "0x40" 1165f16c3236SIan Rogers }, 1166f16c3236SIan Rogers { 1167f16c3236SIan Rogers "BriefDescription": "Cycles per thread when uops are executed in port 7", 1168f16c3236SIan Rogers "Counter": "0,1,2,3", 1169f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1170f16c3236SIan Rogers "EventCode": "0xA1", 1171f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_7", 1172f16c3236SIan Rogers "PublicDescription": "Cycles which a uop is dispatched on port 7 in this thread.", 1173f16c3236SIan Rogers "SampleAfterValue": "2000003", 1174f16c3236SIan Rogers "UMask": "0x80" 1175f16c3236SIan Rogers }, 1176f16c3236SIan Rogers { 1177f16c3236SIan Rogers "AnyThread": "1", 1178f16c3236SIan Rogers "BriefDescription": "Cycles per core when uops are dispatched to port 7.", 1179f16c3236SIan Rogers "Counter": "0,1,2,3", 1180f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1181f16c3236SIan Rogers "EventCode": "0xA1", 1182f16c3236SIan Rogers "EventName": "UOPS_EXECUTED_PORT.PORT_7_CORE", 1183f16c3236SIan Rogers "SampleAfterValue": "2000003", 1184f16c3236SIan Rogers "UMask": "0x80" 1185f16c3236SIan Rogers }, 1186f16c3236SIan Rogers { 1187f16c3236SIan Rogers "BriefDescription": "Uops that Resource Allocation Table (RAT) issues to Reservation Station (RS)", 1188f16c3236SIan Rogers "Counter": "0,1,2,3", 1189f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1190f16c3236SIan Rogers "EventCode": "0x0E", 1191f16c3236SIan Rogers "EventName": "UOPS_ISSUED.ANY", 1192f16c3236SIan Rogers "PublicDescription": "This event counts the number of uops issued by the Front-end of the pipeline to the Back-end. This event is counted at the allocation stage and will count both retired and non-retired uops.", 1193f16c3236SIan Rogers "SampleAfterValue": "2000003", 1194f16c3236SIan Rogers "UMask": "0x1" 1195f16c3236SIan Rogers }, 1196f16c3236SIan Rogers { 1197f16c3236SIan Rogers "AnyThread": "1", 1198f16c3236SIan Rogers "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for all threads.", 1199f16c3236SIan Rogers "Counter": "0,1,2,3", 1200f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1201f16c3236SIan Rogers "CounterMask": "1", 1202f16c3236SIan Rogers "EventCode": "0x0E", 1203f16c3236SIan Rogers "EventName": "UOPS_ISSUED.CORE_STALL_CYCLES", 1204f16c3236SIan Rogers "Invert": "1", 1205f16c3236SIan Rogers "SampleAfterValue": "2000003", 1206f16c3236SIan Rogers "UMask": "0x1" 1207f16c3236SIan Rogers }, 1208f16c3236SIan Rogers { 1209f16c3236SIan Rogers "BriefDescription": "Number of flags-merge uops being allocated. Such uops considered perf sensitive; added by GSR u-arch.", 1210f16c3236SIan Rogers "Counter": "0,1,2,3", 1211f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1212f16c3236SIan Rogers "EventCode": "0x0E", 1213f16c3236SIan Rogers "EventName": "UOPS_ISSUED.FLAGS_MERGE", 1214f16c3236SIan Rogers "PublicDescription": "Number of flags-merge uops allocated. Such uops add delay.", 1215f16c3236SIan Rogers "SampleAfterValue": "2000003", 1216f16c3236SIan Rogers "UMask": "0x10" 1217f16c3236SIan Rogers }, 1218f16c3236SIan Rogers { 1219f16c3236SIan Rogers "BriefDescription": "Number of Multiply packed/scalar single precision uops allocated", 1220f16c3236SIan Rogers "Counter": "0,1,2,3", 1221f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1222f16c3236SIan Rogers "EventCode": "0x0E", 1223f16c3236SIan Rogers "EventName": "UOPS_ISSUED.SINGLE_MUL", 1224f16c3236SIan Rogers "PublicDescription": "Number of multiply packed/scalar single precision uops allocated.", 1225f16c3236SIan Rogers "SampleAfterValue": "2000003", 1226f16c3236SIan Rogers "UMask": "0x40" 1227f16c3236SIan Rogers }, 1228f16c3236SIan Rogers { 1229f16c3236SIan Rogers "BriefDescription": "Number of slow LEA uops being allocated. A uop is generally considered SlowLea if it has 3 sources (e.g. 2 sources + immediate) regardless if as a result of LEA instruction or not.", 1230f16c3236SIan Rogers "Counter": "0,1,2,3", 1231f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1232f16c3236SIan Rogers "EventCode": "0x0E", 1233f16c3236SIan Rogers "EventName": "UOPS_ISSUED.SLOW_LEA", 1234f16c3236SIan Rogers "PublicDescription": "Number of slow LEA or similar uops allocated. Such uop has 3 sources (for example, 2 sources + immediate) regardless of whether it is a result of LEA instruction or not.", 1235f16c3236SIan Rogers "SampleAfterValue": "2000003", 1236f16c3236SIan Rogers "UMask": "0x20" 1237f16c3236SIan Rogers }, 1238f16c3236SIan Rogers { 1239f16c3236SIan Rogers "BriefDescription": "Cycles when Resource Allocation Table (RAT) does not issue Uops to Reservation Station (RS) for the thread.", 1240f16c3236SIan Rogers "Counter": "0,1,2,3", 1241f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1242f16c3236SIan Rogers "CounterMask": "1", 1243f16c3236SIan Rogers "EventCode": "0x0E", 1244f16c3236SIan Rogers "EventName": "UOPS_ISSUED.STALL_CYCLES", 1245f16c3236SIan Rogers "Invert": "1", 1246f16c3236SIan Rogers "SampleAfterValue": "2000003", 1247f16c3236SIan Rogers "UMask": "0x1" 1248f16c3236SIan Rogers }, 1249f16c3236SIan Rogers { 1250f16c3236SIan Rogers "BriefDescription": "Actually retired uops.", 1251f16c3236SIan Rogers "Counter": "0,1,2,3", 1252f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1253f16c3236SIan Rogers "EventCode": "0xC2", 1254f16c3236SIan Rogers "EventName": "UOPS_RETIRED.ALL", 1255f16c3236SIan Rogers "PEBS": "1", 1256f16c3236SIan Rogers "PublicDescription": "Counts the number of micro-ops retired. Use Cmask=1 and invert to count active cycles or stalled cycles.", 1257f16c3236SIan Rogers "SampleAfterValue": "2000003", 1258f16c3236SIan Rogers "UMask": "0x1" 1259f16c3236SIan Rogers }, 1260f16c3236SIan Rogers { 1261f16c3236SIan Rogers "AnyThread": "1", 1262f16c3236SIan Rogers "BriefDescription": "Cycles without actually retired uops.", 1263f16c3236SIan Rogers "Counter": "0,1,2,3", 1264f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1265f16c3236SIan Rogers "CounterMask": "1", 1266f16c3236SIan Rogers "EventCode": "0xC2", 1267f16c3236SIan Rogers "EventName": "UOPS_RETIRED.CORE_STALL_CYCLES", 1268f16c3236SIan Rogers "Invert": "1", 1269f16c3236SIan Rogers "SampleAfterValue": "2000003", 1270f16c3236SIan Rogers "UMask": "0x1" 1271f16c3236SIan Rogers }, 1272f16c3236SIan Rogers { 1273f16c3236SIan Rogers "BriefDescription": "Retirement slots used.", 1274f16c3236SIan Rogers "Counter": "0,1,2,3", 1275f16c3236SIan Rogers "CounterHTOff": "0,1,2,3,4,5,6,7", 1276f16c3236SIan Rogers "EventCode": "0xC2", 1277f16c3236SIan Rogers "EventName": "UOPS_RETIRED.RETIRE_SLOTS", 1278f16c3236SIan Rogers "PEBS": "1", 1279f16c3236SIan Rogers "PublicDescription": "This event counts the number of retirement slots used each cycle. There are potentially 4 slots that can be used each cycle - meaning, 4 uops or 4 instructions could retire each cycle.", 1280f16c3236SIan Rogers "SampleAfterValue": "2000003", 1281f16c3236SIan Rogers "UMask": "0x2" 1282f16c3236SIan Rogers }, 1283f16c3236SIan Rogers { 1284f16c3236SIan Rogers "BriefDescription": "Cycles without actually retired uops.", 1285f16c3236SIan Rogers "Counter": "0,1,2,3", 1286f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1287f16c3236SIan Rogers "CounterMask": "1", 1288f16c3236SIan Rogers "EventCode": "0xC2", 1289f16c3236SIan Rogers "EventName": "UOPS_RETIRED.STALL_CYCLES", 1290f16c3236SIan Rogers "Invert": "1", 1291f16c3236SIan Rogers "SampleAfterValue": "2000003", 1292f16c3236SIan Rogers "UMask": "0x1" 1293f16c3236SIan Rogers }, 1294f16c3236SIan Rogers { 1295f16c3236SIan Rogers "BriefDescription": "Cycles with less than 10 actually retired uops.", 1296f16c3236SIan Rogers "Counter": "0,1,2,3", 1297f16c3236SIan Rogers "CounterHTOff": "0,1,2,3", 1298*bedd1738SZhengjun Xing "CounterMask": "16", 1299f16c3236SIan Rogers "EventCode": "0xC2", 1300f16c3236SIan Rogers "EventName": "UOPS_RETIRED.TOTAL_CYCLES", 1301f16c3236SIan Rogers "Invert": "1", 1302f16c3236SIan Rogers "SampleAfterValue": "2000003", 1303f16c3236SIan Rogers "UMask": "0x1" 1304ede00740SAndi Kleen } 1305ede00740SAndi Kleen] 1306