xref: /freebsd/lib/libpmc/pmu-events/arch/x86/icelake/pipeline.json (revision 18054d0220cfc8df9c9568c437bd6fbb59d53c3c)
192b14858SMatt Macy[
292b14858SMatt Macy    {
3*18054d02SAlexander Motin        "BriefDescription": "Cycles when divide unit is busy executing divide or square root operations.",
492b14858SMatt Macy        "CollectPEBSRecord": "2",
592b14858SMatt Macy        "Counter": "0,1,2,3,4,5,6,7",
6*18054d02SAlexander Motin        "CounterMask": "1",
7*18054d02SAlexander Motin        "EventCode": "0x14",
8*18054d02SAlexander Motin        "EventName": "ARITH.DIVIDER_ACTIVE",
9*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
10*18054d02SAlexander Motin        "PublicDescription": "Counts cycles when divide unit is busy executing divide or square root operations. Accounts for integer and floating-point operations.",
11*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
12*18054d02SAlexander Motin        "Speculative": "1",
13*18054d02SAlexander Motin        "UMask": "0x9"
14*18054d02SAlexander Motin    },
15*18054d02SAlexander Motin    {
16*18054d02SAlexander Motin        "BriefDescription": "Number of occurrences where a microcode assist is invoked by hardware.",
17*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
18*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
19*18054d02SAlexander Motin        "EventCode": "0xc1",
20*18054d02SAlexander Motin        "EventName": "ASSISTS.ANY",
21*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
22*18054d02SAlexander Motin        "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.",
23*18054d02SAlexander Motin        "SampleAfterValue": "100003",
24*18054d02SAlexander Motin        "Speculative": "1",
25*18054d02SAlexander Motin        "UMask": "0x7"
26*18054d02SAlexander Motin    },
27*18054d02SAlexander Motin    {
28*18054d02SAlexander Motin        "BriefDescription": "All branch instructions retired.",
29*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
30*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
31*18054d02SAlexander Motin        "EventCode": "0xc4",
32*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.ALL_BRANCHES",
3352d973f5SAlexander Motin        "PEBS": "1",
3492b14858SMatt Macy        "PEBScounters": "0,1,2,3,4,5,6,7",
35*18054d02SAlexander Motin        "PublicDescription": "Counts all branch instructions retired.",
36*18054d02SAlexander Motin        "SampleAfterValue": "400009"
3792b14858SMatt Macy    },
3892b14858SMatt Macy    {
39*18054d02SAlexander Motin        "BriefDescription": "Conditional branch instructions retired.",
4092b14858SMatt Macy        "CollectPEBSRecord": "2",
4192b14858SMatt Macy        "Counter": "0,1,2,3,4,5,6,7",
42*18054d02SAlexander Motin        "EventCode": "0xc4",
43*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.COND",
44*18054d02SAlexander Motin        "PEBS": "1",
4552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
46*18054d02SAlexander Motin        "PublicDescription": "Counts conditional branch instructions retired.",
47*18054d02SAlexander Motin        "SampleAfterValue": "400009",
48*18054d02SAlexander Motin        "UMask": "0x11"
4992b14858SMatt Macy    },
5092b14858SMatt Macy    {
5152d973f5SAlexander Motin        "BriefDescription": "Not taken branch instructions retired.",
5292b14858SMatt Macy        "CollectPEBSRecord": "2",
5392b14858SMatt Macy        "Counter": "0,1,2,3,4,5,6,7",
5492b14858SMatt Macy        "EventCode": "0xc4",
5592b14858SMatt Macy        "EventName": "BR_INST_RETIRED.COND_NTAKEN",
5652d973f5SAlexander Motin        "PEBS": "1",
5752d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
5852d973f5SAlexander Motin        "PublicDescription": "Counts not taken branch instructions retired.",
5992b14858SMatt Macy        "SampleAfterValue": "400009",
6052d973f5SAlexander Motin        "UMask": "0x10"
6192b14858SMatt Macy    },
6292b14858SMatt Macy    {
63*18054d02SAlexander Motin        "BriefDescription": "Taken conditional branch instructions retired.",
6452d973f5SAlexander Motin        "CollectPEBSRecord": "2",
6552d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
6692b14858SMatt Macy        "EventCode": "0xc4",
67*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.COND_TAKEN",
6852d973f5SAlexander Motin        "PEBS": "1",
6952d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
70*18054d02SAlexander Motin        "PublicDescription": "Counts taken conditional branch instructions retired.",
7152d973f5SAlexander Motin        "SampleAfterValue": "400009",
7252d973f5SAlexander Motin        "UMask": "0x1"
7392b14858SMatt Macy    },
7492b14858SMatt Macy    {
7552d973f5SAlexander Motin        "BriefDescription": "Far branch instructions retired.",
7652d973f5SAlexander Motin        "CollectPEBSRecord": "2",
7752d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
7852d973f5SAlexander Motin        "EventCode": "0xc4",
7952d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.FAR_BRANCH",
8052d973f5SAlexander Motin        "PEBS": "1",
8152d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
8252d973f5SAlexander Motin        "PublicDescription": "Counts far branch instructions retired.",
8352d973f5SAlexander Motin        "SampleAfterValue": "100007",
8452d973f5SAlexander Motin        "UMask": "0x40"
8552d973f5SAlexander Motin    },
8652d973f5SAlexander Motin    {
87*18054d02SAlexander Motin        "BriefDescription": "Indirect near branch instructions retired (excluding returns)",
8852d973f5SAlexander Motin        "CollectPEBSRecord": "2",
8952d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
9052d973f5SAlexander Motin        "EventCode": "0xc4",
91*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.INDIRECT",
9252d973f5SAlexander Motin        "PEBS": "1",
9352d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
94*18054d02SAlexander Motin        "PublicDescription": "Counts near indirect branch instructions retired excluding returns. TSX abort is an indirect branch.",
95*18054d02SAlexander Motin        "SampleAfterValue": "100003",
96*18054d02SAlexander Motin        "UMask": "0x80"
9752d973f5SAlexander Motin    },
9852d973f5SAlexander Motin    {
9952d973f5SAlexander Motin        "BriefDescription": "Direct and indirect near call instructions retired.",
10052d973f5SAlexander Motin        "CollectPEBSRecord": "2",
10152d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
10252d973f5SAlexander Motin        "EventCode": "0xc4",
10352d973f5SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_CALL",
10452d973f5SAlexander Motin        "PEBS": "1",
10552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
10652d973f5SAlexander Motin        "PublicDescription": "Counts both direct and indirect near call instructions retired.",
10752d973f5SAlexander Motin        "SampleAfterValue": "100007",
10852d973f5SAlexander Motin        "UMask": "0x2"
10952d973f5SAlexander Motin    },
11052d973f5SAlexander Motin    {
111*18054d02SAlexander Motin        "BriefDescription": "Return instructions retired.",
11252d973f5SAlexander Motin        "CollectPEBSRecord": "2",
11352d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
11452d973f5SAlexander Motin        "EventCode": "0xc4",
115*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_RETURN",
11652d973f5SAlexander Motin        "PEBS": "1",
11752d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
118*18054d02SAlexander Motin        "PublicDescription": "Counts return instructions retired.",
119*18054d02SAlexander Motin        "SampleAfterValue": "100007",
120*18054d02SAlexander Motin        "UMask": "0x8"
12152d973f5SAlexander Motin    },
12252d973f5SAlexander Motin    {
123*18054d02SAlexander Motin        "BriefDescription": "Taken branch instructions retired.",
12452d973f5SAlexander Motin        "CollectPEBSRecord": "2",
12552d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
126*18054d02SAlexander Motin        "EventCode": "0xc4",
127*18054d02SAlexander Motin        "EventName": "BR_INST_RETIRED.NEAR_TAKEN",
128*18054d02SAlexander Motin        "PEBS": "1",
12952d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
130*18054d02SAlexander Motin        "PublicDescription": "Counts taken branch instructions retired.",
131*18054d02SAlexander Motin        "SampleAfterValue": "400009",
132*18054d02SAlexander Motin        "UMask": "0x20"
133*18054d02SAlexander Motin    },
134*18054d02SAlexander Motin    {
135*18054d02SAlexander Motin        "BriefDescription": "All mispredicted branch instructions retired.",
136*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
137*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
138*18054d02SAlexander Motin        "EventCode": "0xc5",
139*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.ALL_BRANCHES",
140*18054d02SAlexander Motin        "PEBS": "1",
141*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
142*18054d02SAlexander Motin        "PublicDescription": "Counts all the retired branch instructions that were mispredicted by the processor. A branch misprediction occurs when the processor incorrectly predicts the destination of the branch.  When the misprediction is discovered at execution, all the instructions executed in the wrong (speculative) path must be discarded, and the processor must start fetching from the correct path.",
143*18054d02SAlexander Motin        "SampleAfterValue": "50021"
144*18054d02SAlexander Motin    },
145*18054d02SAlexander Motin    {
146*18054d02SAlexander Motin        "BriefDescription": "Mispredicted conditional branch instructions retired.",
147*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
148*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
149*18054d02SAlexander Motin        "EventCode": "0xc5",
150*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.COND",
151*18054d02SAlexander Motin        "PEBS": "1",
152*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
153*18054d02SAlexander Motin        "PublicDescription": "Counts mispredicted conditional branch instructions retired.",
154*18054d02SAlexander Motin        "SampleAfterValue": "50021",
155*18054d02SAlexander Motin        "UMask": "0x11"
156*18054d02SAlexander Motin    },
157*18054d02SAlexander Motin    {
158*18054d02SAlexander Motin        "BriefDescription": "Mispredicted non-taken conditional branch instructions retired.",
159*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
160*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
161*18054d02SAlexander Motin        "EventCode": "0xc5",
162*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.COND_NTAKEN",
163*18054d02SAlexander Motin        "PEBS": "1",
164*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
165*18054d02SAlexander Motin        "PublicDescription": "Counts the number of conditional branch instructions retired that were mispredicted and the branch direction was not taken.",
166*18054d02SAlexander Motin        "SampleAfterValue": "50021",
167*18054d02SAlexander Motin        "UMask": "0x10"
168*18054d02SAlexander Motin    },
169*18054d02SAlexander Motin    {
170*18054d02SAlexander Motin        "BriefDescription": "number of branch instructions retired that were mispredicted and taken. Non PEBS",
171*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
172*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
173*18054d02SAlexander Motin        "EventCode": "0xc5",
174*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.COND_TAKEN",
175*18054d02SAlexander Motin        "PEBS": "1",
176*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
177*18054d02SAlexander Motin        "PublicDescription": "Counts taken conditional mispredicted branch instructions retired.",
178*18054d02SAlexander Motin        "SampleAfterValue": "50021",
17952d973f5SAlexander Motin        "UMask": "0x1"
18052d973f5SAlexander Motin    },
18152d973f5SAlexander Motin    {
182*18054d02SAlexander Motin        "BriefDescription": "All miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
183*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
184*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
185*18054d02SAlexander Motin        "EventCode": "0xc5",
186*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.INDIRECT",
187*18054d02SAlexander Motin        "PEBS": "1",
188*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
189*18054d02SAlexander Motin        "PublicDescription": "Counts all miss-predicted indirect branch instructions retired (excluding RETs. TSX aborts is considered indirect branch).",
190*18054d02SAlexander Motin        "SampleAfterValue": "50021",
191*18054d02SAlexander Motin        "UMask": "0x80"
192*18054d02SAlexander Motin    },
193*18054d02SAlexander Motin    {
194*18054d02SAlexander Motin        "BriefDescription": "Mispredicted indirect CALL instructions retired.",
195*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
196*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
197*18054d02SAlexander Motin        "EventCode": "0xc5",
198*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.INDIRECT_CALL",
199*18054d02SAlexander Motin        "PEBS": "1",
200*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
201*18054d02SAlexander Motin        "PublicDescription": "Counts retired mispredicted indirect (near taken) CALL instructions, including both register and memory indirect.",
202*18054d02SAlexander Motin        "SampleAfterValue": "50021",
203*18054d02SAlexander Motin        "UMask": "0x2"
204*18054d02SAlexander Motin    },
205*18054d02SAlexander Motin    {
206*18054d02SAlexander Motin        "BriefDescription": "Number of near branch instructions retired that were mispredicted and taken.",
207*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
208*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
209*18054d02SAlexander Motin        "EventCode": "0xc5",
210*18054d02SAlexander Motin        "EventName": "BR_MISP_RETIRED.NEAR_TAKEN",
211*18054d02SAlexander Motin        "PEBS": "1",
212*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
213*18054d02SAlexander Motin        "PublicDescription": "Counts number of near branch instructions retired that were mispredicted and taken.",
214*18054d02SAlexander Motin        "SampleAfterValue": "50021",
215*18054d02SAlexander Motin        "UMask": "0x20"
216*18054d02SAlexander Motin    },
217*18054d02SAlexander Motin    {
21852d973f5SAlexander Motin        "BriefDescription": "Cycle counts are evenly distributed between active threads in the Core.",
21952d973f5SAlexander Motin        "CollectPEBSRecord": "2",
22052d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
22152d973f5SAlexander Motin        "EventCode": "0xec",
22252d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.DISTRIBUTED",
22352d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
22452d973f5SAlexander Motin        "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.",
22552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
22652d973f5SAlexander Motin        "Speculative": "1",
22752d973f5SAlexander Motin        "UMask": "0x2"
22852d973f5SAlexander Motin    },
22952d973f5SAlexander Motin    {
23052d973f5SAlexander Motin        "BriefDescription": "Core crystal clock cycles when this thread is unhalted and the other thread is halted.",
23152d973f5SAlexander Motin        "CollectPEBSRecord": "2",
23252d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
23352d973f5SAlexander Motin        "EventCode": "0x3C",
23452d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE",
23552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
23652d973f5SAlexander Motin        "PublicDescription": "Counts Core crystal clock cycles when current thread is unhalted and the other thread is halted.",
23752d973f5SAlexander Motin        "SampleAfterValue": "25003",
23852d973f5SAlexander Motin        "Speculative": "1",
23952d973f5SAlexander Motin        "UMask": "0x2"
24052d973f5SAlexander Motin    },
24152d973f5SAlexander Motin    {
242*18054d02SAlexander Motin        "BriefDescription": "Core crystal clock cycles. Cycle counts are evenly distributed between active threads in the Core.",
243*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
244*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
245*18054d02SAlexander Motin        "EventCode": "0x3c",
246*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_DISTRIBUTED",
247*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
248*18054d02SAlexander Motin        "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.",
249*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
250*18054d02SAlexander Motin        "Speculative": "1",
251*18054d02SAlexander Motin        "UMask": "0x8"
252*18054d02SAlexander Motin    },
253*18054d02SAlexander Motin    {
254*18054d02SAlexander Motin        "BriefDescription": "Reference cycles when the core is not in halt state.",
255*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
256*18054d02SAlexander Motin        "Counter": "Fixed counter 2",
257*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_TSC",
258*18054d02SAlexander Motin        "PEBScounters": "34",
259*18054d02SAlexander Motin        "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.",
260*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
261*18054d02SAlexander Motin        "Speculative": "1",
262*18054d02SAlexander Motin        "UMask": "0x3"
263*18054d02SAlexander Motin    },
264*18054d02SAlexander Motin    {
265*18054d02SAlexander Motin        "BriefDescription": "Core crystal clock cycles when the thread is unhalted.",
266*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
267*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
268*18054d02SAlexander Motin        "EventCode": "0x3C",
269*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.REF_XCLK",
270*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
271*18054d02SAlexander Motin        "PublicDescription": "Counts core crystal clock cycles when the thread is unhalted.",
272*18054d02SAlexander Motin        "SampleAfterValue": "25003",
273*18054d02SAlexander Motin        "Speculative": "1",
274*18054d02SAlexander Motin        "UMask": "0x1"
275*18054d02SAlexander Motin    },
276*18054d02SAlexander Motin    {
277*18054d02SAlexander Motin        "BriefDescription": "Core cycles when the thread is not in halt state",
278*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
279*18054d02SAlexander Motin        "Counter": "Fixed counter 1",
280*18054d02SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD",
281*18054d02SAlexander Motin        "PEBScounters": "33",
282*18054d02SAlexander Motin        "PublicDescription": "Counts the number of core cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. This event is a component in many key event ratios. The core frequency may change from time to time due to transitions associated with Enhanced Intel SpeedStep Technology or TM2. For this reason this event may have a changing ratio with regards to time. When the core frequency is constant, this event can approximate elapsed time while the core was not in the halt state. It is counted on a dedicated fixed counter, leaving the eight programmable counters available for other events.",
283*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
284*18054d02SAlexander Motin        "Speculative": "1",
285*18054d02SAlexander Motin        "UMask": "0x2"
286*18054d02SAlexander Motin    },
287*18054d02SAlexander Motin    {
28852d973f5SAlexander Motin        "BriefDescription": "Thread cycles when thread is not in halt state",
28952d973f5SAlexander Motin        "CollectPEBSRecord": "2",
29052d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
29152d973f5SAlexander Motin        "EventCode": "0x3C",
29252d973f5SAlexander Motin        "EventName": "CPU_CLK_UNHALTED.THREAD_P",
29352d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
29452d973f5SAlexander Motin        "PublicDescription": "This is an architectural event that counts the number of thread cycles while the thread is not in a halt state. The thread enters the halt state when it is running the HLT instruction. The core frequency may change from time to time due to power or thermal throttling. For this reason, this event may have a changing ratio with regards to wall clock time.",
29552d973f5SAlexander Motin        "SampleAfterValue": "2000003",
29652d973f5SAlexander Motin        "Speculative": "1"
29752d973f5SAlexander Motin    },
29852d973f5SAlexander Motin    {
299*18054d02SAlexander Motin        "BriefDescription": "Cycles while L1 cache miss demand load is outstanding.",
30052d973f5SAlexander Motin        "CollectPEBSRecord": "2",
301*18054d02SAlexander Motin        "Counter": "0,1,2,3",
302*18054d02SAlexander Motin        "CounterMask": "8",
303*18054d02SAlexander Motin        "EventCode": "0xA3",
304*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L1D_MISS",
305*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
306*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
307*18054d02SAlexander Motin        "Speculative": "1",
308*18054d02SAlexander Motin        "UMask": "0x8"
30952d973f5SAlexander Motin    },
31052d973f5SAlexander Motin    {
311*18054d02SAlexander Motin        "BriefDescription": "Cycles while L2 cache miss demand load is outstanding.",
312*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
313*18054d02SAlexander Motin        "Counter": "0,1,2,3",
314*18054d02SAlexander Motin        "CounterMask": "1",
315*18054d02SAlexander Motin        "EventCode": "0xA3",
316*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_L2_MISS",
317*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
318*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
319*18054d02SAlexander Motin        "Speculative": "1",
320*18054d02SAlexander Motin        "UMask": "0x1"
321*18054d02SAlexander Motin    },
322*18054d02SAlexander Motin    {
323*18054d02SAlexander Motin        "BriefDescription": "Cycles while memory subsystem has an outstanding load.",
32452d973f5SAlexander Motin        "CollectPEBSRecord": "2",
32552d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
326*18054d02SAlexander Motin        "CounterMask": "16",
327*18054d02SAlexander Motin        "EventCode": "0xA3",
328*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.CYCLES_MEM_ANY",
32952d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
330*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
331*18054d02SAlexander Motin        "Speculative": "1",
332*18054d02SAlexander Motin        "UMask": "0x10"
333*18054d02SAlexander Motin    },
334*18054d02SAlexander Motin    {
335*18054d02SAlexander Motin        "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
336*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
337*18054d02SAlexander Motin        "Counter": "0,1,2,3",
338*18054d02SAlexander Motin        "CounterMask": "12",
339*18054d02SAlexander Motin        "EventCode": "0xA3",
340*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L1D_MISS",
341*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
342*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
343*18054d02SAlexander Motin        "Speculative": "1",
344*18054d02SAlexander Motin        "UMask": "0xc"
345*18054d02SAlexander Motin    },
346*18054d02SAlexander Motin    {
347*18054d02SAlexander Motin        "BriefDescription": "Execution stalls while L2 cache miss demand load is outstanding.",
348*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
349*18054d02SAlexander Motin        "Counter": "0,1,2,3",
350*18054d02SAlexander Motin        "CounterMask": "5",
351*18054d02SAlexander Motin        "EventCode": "0xa3",
352*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_L2_MISS",
353*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
354*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
355*18054d02SAlexander Motin        "Speculative": "1",
356*18054d02SAlexander Motin        "UMask": "0x5"
357*18054d02SAlexander Motin    },
358*18054d02SAlexander Motin    {
359*18054d02SAlexander Motin        "BriefDescription": "Execution stalls while memory subsystem has an outstanding load.",
360*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
361*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
362*18054d02SAlexander Motin        "CounterMask": "20",
363*18054d02SAlexander Motin        "EventCode": "0xa3",
364*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_MEM_ANY",
365*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
366*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
367*18054d02SAlexander Motin        "Speculative": "1",
368*18054d02SAlexander Motin        "UMask": "0x14"
369*18054d02SAlexander Motin    },
370*18054d02SAlexander Motin    {
371*18054d02SAlexander Motin        "BriefDescription": "Total execution stalls.",
372*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
373*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
374*18054d02SAlexander Motin        "CounterMask": "4",
375*18054d02SAlexander Motin        "EventCode": "0xa3",
376*18054d02SAlexander Motin        "EventName": "CYCLE_ACTIVITY.STALLS_TOTAL",
377*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
378*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
379*18054d02SAlexander Motin        "Speculative": "1",
380*18054d02SAlexander Motin        "UMask": "0x4"
381*18054d02SAlexander Motin    },
382*18054d02SAlexander Motin    {
383*18054d02SAlexander Motin        "BriefDescription": "Cycles total of 1 uop is executed on all ports and Reservation Station was not empty.",
384*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
385*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
386*18054d02SAlexander Motin        "EventCode": "0xa6",
387*18054d02SAlexander Motin        "EventName": "EXE_ACTIVITY.1_PORTS_UTIL",
388*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
389*18054d02SAlexander Motin        "PublicDescription": "Counts cycles during which a total of 1 uop was executed on all ports and Reservation Station (RS) was not empty.",
390*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
391*18054d02SAlexander Motin        "Speculative": "1",
392*18054d02SAlexander Motin        "UMask": "0x2"
393*18054d02SAlexander Motin    },
394*18054d02SAlexander Motin    {
395*18054d02SAlexander Motin        "BriefDescription": "Cycles total of 2 uops are executed on all ports and Reservation Station was not empty.",
396*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
397*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
398*18054d02SAlexander Motin        "EventCode": "0xa6",
399*18054d02SAlexander Motin        "EventName": "EXE_ACTIVITY.2_PORTS_UTIL",
400*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
401*18054d02SAlexander Motin        "PublicDescription": "Counts cycles during which a total of 2 uops were executed on all ports and Reservation Station (RS) was not empty.",
402*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
403*18054d02SAlexander Motin        "Speculative": "1",
404*18054d02SAlexander Motin        "UMask": "0x4"
405*18054d02SAlexander Motin    },
406*18054d02SAlexander Motin    {
407*18054d02SAlexander Motin        "BriefDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station was not empty.",
408*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
409*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
410*18054d02SAlexander Motin        "EventCode": "0xa6",
411*18054d02SAlexander Motin        "EventName": "EXE_ACTIVITY.3_PORTS_UTIL",
412*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
413*18054d02SAlexander Motin        "PublicDescription": "Cycles total of 3 uops are executed on all ports and Reservation Station (RS) was not empty.",
414*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
415*18054d02SAlexander Motin        "Speculative": "1",
416*18054d02SAlexander Motin        "UMask": "0x8"
417*18054d02SAlexander Motin    },
418*18054d02SAlexander Motin    {
419*18054d02SAlexander Motin        "BriefDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station was not empty.",
420*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
421*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
422*18054d02SAlexander Motin        "EventCode": "0xa6",
423*18054d02SAlexander Motin        "EventName": "EXE_ACTIVITY.4_PORTS_UTIL",
424*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
425*18054d02SAlexander Motin        "PublicDescription": "Cycles total of 4 uops are executed on all ports and Reservation Station (RS) was not empty.",
426*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
427*18054d02SAlexander Motin        "Speculative": "1",
428*18054d02SAlexander Motin        "UMask": "0x10"
429*18054d02SAlexander Motin    },
430*18054d02SAlexander Motin    {
431*18054d02SAlexander Motin        "BriefDescription": "Cycles where the Store Buffer was full and no loads caused an execution stall.",
432*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
433*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
434*18054d02SAlexander Motin        "CounterMask": "2",
435*18054d02SAlexander Motin        "EventCode": "0xA6",
436*18054d02SAlexander Motin        "EventName": "EXE_ACTIVITY.BOUND_ON_STORES",
437*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
438*18054d02SAlexander Motin        "PublicDescription": "Counts cycles where the Store Buffer was full and no loads caused an execution stall.",
439*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
440*18054d02SAlexander Motin        "Speculative": "1",
441*18054d02SAlexander Motin        "UMask": "0x40"
442*18054d02SAlexander Motin    },
443*18054d02SAlexander Motin    {
444*18054d02SAlexander Motin        "BriefDescription": "Stalls caused by changing prefix length of the instruction.",
445*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
446*18054d02SAlexander Motin        "Counter": "0,1,2,3",
447*18054d02SAlexander Motin        "EventCode": "0x87",
448*18054d02SAlexander Motin        "EventName": "ILD_STALL.LCP",
449*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
450*18054d02SAlexander Motin        "PublicDescription": "Counts cycles that the Instruction Length decoder (ILD) stalls occurred due to dynamically changing prefix length of the decoded instruction (by operand size prefix instruction 0x66, address size prefix instruction 0x67 or REX.W for Intel64). Count is proportional to the number of prefixes in a 16B-line. This may result in a three-cycle penalty for each LCP (Length changing prefix) in a 16-byte chunk.",
451*18054d02SAlexander Motin        "SampleAfterValue": "500009",
452*18054d02SAlexander Motin        "Speculative": "1",
453*18054d02SAlexander Motin        "UMask": "0x1"
454*18054d02SAlexander Motin    },
455*18054d02SAlexander Motin    {
456*18054d02SAlexander Motin        "BriefDescription": "Instruction decoders utilized in a cycle",
457*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
458*18054d02SAlexander Motin        "Counter": "0,1,2,3",
459*18054d02SAlexander Motin        "EventCode": "0x55",
460*18054d02SAlexander Motin        "EventName": "INST_DECODED.DECODERS",
461*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
462*18054d02SAlexander Motin        "PublicDescription": "Number of decoders utilized in a cycle when the MITE (legacy decode pipeline) fetches instructions.",
46352d973f5SAlexander Motin        "SampleAfterValue": "2000003",
46452d973f5SAlexander Motin        "Speculative": "1",
46552d973f5SAlexander Motin        "UMask": "0x1"
46652d973f5SAlexander Motin    },
46752d973f5SAlexander Motin    {
468*18054d02SAlexander Motin        "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
46952d973f5SAlexander Motin        "CollectPEBSRecord": "2",
470*18054d02SAlexander Motin        "Counter": "Fixed counter 0",
471*18054d02SAlexander Motin        "EventName": "INST_RETIRED.ANY",
47252d973f5SAlexander Motin        "PEBS": "1",
473*18054d02SAlexander Motin        "PEBScounters": "32",
474*18054d02SAlexander Motin        "PublicDescription": "Counts the number of 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.",
475*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
476*18054d02SAlexander Motin        "UMask": "0x1"
47752d973f5SAlexander Motin    },
47852d973f5SAlexander Motin    {
479*18054d02SAlexander Motin        "BriefDescription": "Number of instructions retired. General Counter - architectural event",
48052d973f5SAlexander Motin        "CollectPEBSRecord": "2",
48152d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
482*18054d02SAlexander Motin        "EventCode": "0xc0",
483*18054d02SAlexander Motin        "EventName": "INST_RETIRED.ANY_P",
484*18054d02SAlexander Motin        "PEBS": "1",
48552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
486*18054d02SAlexander Motin        "PublicDescription": "Counts the number of 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.",
487*18054d02SAlexander Motin        "SampleAfterValue": "2000003"
488*18054d02SAlexander Motin    },
489*18054d02SAlexander Motin    {
490*18054d02SAlexander Motin        "BriefDescription": "Number of all retired NOP instructions.",
491*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
492*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
493*18054d02SAlexander Motin        "EventCode": "0xc0",
494*18054d02SAlexander Motin        "EventName": "INST_RETIRED.NOP",
495*18054d02SAlexander Motin        "PEBS": "1",
496*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
49752d973f5SAlexander Motin        "SampleAfterValue": "2000003",
49852d973f5SAlexander Motin        "UMask": "0x2"
49952d973f5SAlexander Motin    },
50052d973f5SAlexander Motin    {
501*18054d02SAlexander Motin        "BriefDescription": "Precise instruction retired event with a reduced effect of PEBS shadow in IP distribution",
502*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
503*18054d02SAlexander Motin        "Counter": "Fixed counter 0",
504*18054d02SAlexander Motin        "EventName": "INST_RETIRED.PREC_DIST",
505*18054d02SAlexander Motin        "PEBS": "1",
506*18054d02SAlexander Motin        "PEBScounters": "32",
507*18054d02SAlexander Motin        "PublicDescription": "A version of INST_RETIRED that allows for a more unbiased distribution of samples across instructions retired. It utilizes the Precise Distribution of Instructions Retired (PDIR) feature to mitigate some bias in how retired instructions get sampled. Use on Fixed Counter 0.",
508*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
509*18054d02SAlexander Motin        "UMask": "0x1"
510*18054d02SAlexander Motin    },
511*18054d02SAlexander Motin    {
512*18054d02SAlexander Motin        "BriefDescription": "Cycles without actually retired instructions.",
513*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
514*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
515*18054d02SAlexander Motin        "CounterMask": "1",
516*18054d02SAlexander Motin        "EventCode": "0xc0",
517*18054d02SAlexander Motin        "EventName": "INST_RETIRED.STALL_CYCLES",
518*18054d02SAlexander Motin        "Invert": "1",
519*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
520*18054d02SAlexander Motin        "PublicDescription": "This event counts cycles without actually retired instructions.",
521*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
522*18054d02SAlexander Motin        "Speculative": "1",
523*18054d02SAlexander Motin        "UMask": "0x1"
524*18054d02SAlexander Motin    },
525*18054d02SAlexander Motin    {
526*18054d02SAlexander Motin        "BriefDescription": "Cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
527*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
528*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
529*18054d02SAlexander Motin        "CounterMask": "1",
530*18054d02SAlexander Motin        "EventCode": "0x0D",
531*18054d02SAlexander Motin        "EventName": "INT_MISC.ALL_RECOVERY_CYCLES",
532*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
533*18054d02SAlexander Motin        "PublicDescription": "Counts cycles the Backend cluster is recovering after a miss-speculation or a Store Buffer or Load Buffer drain stall.",
534*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
535*18054d02SAlexander Motin        "Speculative": "1",
536*18054d02SAlexander Motin        "UMask": "0x3"
537*18054d02SAlexander Motin    },
538*18054d02SAlexander Motin    {
539*18054d02SAlexander Motin        "BriefDescription": "Counts cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
540*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
541*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
542*18054d02SAlexander Motin        "EventCode": "0x0d",
543*18054d02SAlexander Motin        "EventName": "INT_MISC.CLEAR_RESTEER_CYCLES",
544*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
545*18054d02SAlexander Motin        "PublicDescription": "Cycles after recovery from a branch misprediction or machine clear till the first uop is issued from the resteered path.",
546*18054d02SAlexander Motin        "SampleAfterValue": "500009",
547*18054d02SAlexander Motin        "Speculative": "1",
548*18054d02SAlexander Motin        "UMask": "0x80"
549*18054d02SAlexander Motin    },
550*18054d02SAlexander Motin    {
551*18054d02SAlexander Motin        "BriefDescription": "Core cycles the allocator was stalled due to recovery from earlier clear event for this thread",
552*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
553*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
554*18054d02SAlexander Motin        "EventCode": "0x0D",
555*18054d02SAlexander Motin        "EventName": "INT_MISC.RECOVERY_CYCLES",
556*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
557*18054d02SAlexander Motin        "PublicDescription": "Counts core cycles when the Resource allocator was stalled due to recovery from an earlier branch misprediction or machine clear event.",
558*18054d02SAlexander Motin        "SampleAfterValue": "500009",
559*18054d02SAlexander Motin        "Speculative": "1",
560*18054d02SAlexander Motin        "UMask": "0x1"
561*18054d02SAlexander Motin    },
562*18054d02SAlexander Motin    {
563*18054d02SAlexander Motin        "BriefDescription": "TMA slots where uops got dropped",
564*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
565*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
566*18054d02SAlexander Motin        "EventCode": "0x0d",
567*18054d02SAlexander Motin        "EventName": "INT_MISC.UOP_DROPPING",
568*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
569*18054d02SAlexander Motin        "PublicDescription": "Estimated number of Top-down Microarchitecture Analysis slots that got dropped due to non front-end reasons",
570*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
571*18054d02SAlexander Motin        "Speculative": "1",
572*18054d02SAlexander Motin        "UMask": "0x10"
573*18054d02SAlexander Motin    },
574*18054d02SAlexander Motin    {
575*18054d02SAlexander Motin        "BriefDescription": "The number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
576*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
577*18054d02SAlexander Motin        "Counter": "0,1,2,3",
578*18054d02SAlexander Motin        "EventCode": "0x03",
579*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.NO_SR",
580*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
581*18054d02SAlexander Motin        "PublicDescription": "Counts the number of times that split load operations are temporarily blocked because all resources for handling the split accesses are in use.",
582*18054d02SAlexander Motin        "SampleAfterValue": "100003",
583*18054d02SAlexander Motin        "Speculative": "1",
584*18054d02SAlexander Motin        "UMask": "0x8"
585*18054d02SAlexander Motin    },
586*18054d02SAlexander Motin    {
587*18054d02SAlexander Motin        "BriefDescription": "Loads blocked due to overlapping with a preceding store that cannot be forwarded.",
588*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
589*18054d02SAlexander Motin        "Counter": "0,1,2,3",
590*18054d02SAlexander Motin        "EventCode": "0x03",
591*18054d02SAlexander Motin        "EventName": "LD_BLOCKS.STORE_FORWARD",
592*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
593*18054d02SAlexander Motin        "PublicDescription": "Counts the number of times where store forwarding was prevented for a load operation. The most common case is a load blocked due to the address of memory access (partially) overlapping with a preceding uncompleted store. Note: See the table of not supported store forwards in the Optimization Guide.",
594*18054d02SAlexander Motin        "SampleAfterValue": "100003",
595*18054d02SAlexander Motin        "Speculative": "1",
596*18054d02SAlexander Motin        "UMask": "0x2"
597*18054d02SAlexander Motin    },
598*18054d02SAlexander Motin    {
599*18054d02SAlexander Motin        "BriefDescription": "False dependencies due to partial compare on address.",
600*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
601*18054d02SAlexander Motin        "Counter": "0,1,2,3",
602*18054d02SAlexander Motin        "EventCode": "0x07",
603*18054d02SAlexander Motin        "EventName": "LD_BLOCKS_PARTIAL.ADDRESS_ALIAS",
604*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
605*18054d02SAlexander Motin        "PublicDescription": "Counts the number of times a load got blocked due to false dependencies due to partial compare on address.",
606*18054d02SAlexander Motin        "SampleAfterValue": "100003",
607*18054d02SAlexander Motin        "Speculative": "1",
608*18054d02SAlexander Motin        "UMask": "0x1"
609*18054d02SAlexander Motin    },
610*18054d02SAlexander Motin    {
611*18054d02SAlexander Motin        "BriefDescription": "Counts the number of demand load dispatches that hit L1D fill buffer (FB) allocated for software prefetch.",
612*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
613*18054d02SAlexander Motin        "Counter": "0,1,2,3",
614*18054d02SAlexander Motin        "EventCode": "0x4c",
615*18054d02SAlexander Motin        "EventName": "LOAD_HIT_PREFETCH.SWPF",
616*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
617*18054d02SAlexander Motin        "PublicDescription": "Counts all not software-prefetch load dispatches that hit the fill buffer (FB) allocated for the software prefetch. It can also be incremented by some lock instructions. So it should only be used with profiling so that the locks can be excluded by ASM (Assembly File) inspection of the nearby instructions.",
618*18054d02SAlexander Motin        "SampleAfterValue": "100003",
619*18054d02SAlexander Motin        "Speculative": "1",
620*18054d02SAlexander Motin        "UMask": "0x1"
621*18054d02SAlexander Motin    },
622*18054d02SAlexander Motin    {
623*18054d02SAlexander Motin        "BriefDescription": "Cycles Uops delivered by the LSD, but didn't come from the decoder.",
624*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
625*18054d02SAlexander Motin        "Counter": "0,1,2,3",
626*18054d02SAlexander Motin        "CounterMask": "1",
627*18054d02SAlexander Motin        "EventCode": "0xA8",
628*18054d02SAlexander Motin        "EventName": "LSD.CYCLES_ACTIVE",
629*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
630*18054d02SAlexander Motin        "PublicDescription": "Counts the cycles when at least one uop is delivered by the LSD (Loop-stream detector).",
631*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
632*18054d02SAlexander Motin        "Speculative": "1",
633*18054d02SAlexander Motin        "UMask": "0x1"
634*18054d02SAlexander Motin    },
635*18054d02SAlexander Motin    {
63652d973f5SAlexander Motin        "BriefDescription": "Cycles optimal number of Uops delivered by the LSD, but did not come from the decoder.",
63752d973f5SAlexander Motin        "CollectPEBSRecord": "2",
63852d973f5SAlexander Motin        "Counter": "0,1,2,3",
63952d973f5SAlexander Motin        "CounterMask": "5",
64052d973f5SAlexander Motin        "EventCode": "0xa8",
64152d973f5SAlexander Motin        "EventName": "LSD.CYCLES_OK",
64252d973f5SAlexander Motin        "PEBScounters": "0,1,2,3",
64352d973f5SAlexander Motin        "PublicDescription": "Counts the cycles when optimal number of uops is delivered by the LSD (Loop-stream detector).",
64452d973f5SAlexander Motin        "SampleAfterValue": "2000003",
64552d973f5SAlexander Motin        "Speculative": "1",
64652d973f5SAlexander Motin        "UMask": "0x1"
64752d973f5SAlexander Motin    },
64852d973f5SAlexander Motin    {
649*18054d02SAlexander Motin        "BriefDescription": "Number of Uops delivered by the LSD.",
650*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
651*18054d02SAlexander Motin        "Counter": "0,1,2,3",
652*18054d02SAlexander Motin        "EventCode": "0xa8",
653*18054d02SAlexander Motin        "EventName": "LSD.UOPS",
654*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
655*18054d02SAlexander Motin        "PublicDescription": "Counts the number of uops delivered to the back-end by the LSD(Loop Stream Detector).",
656*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
657*18054d02SAlexander Motin        "Speculative": "1",
658*18054d02SAlexander Motin        "UMask": "0x1"
659*18054d02SAlexander Motin    },
660*18054d02SAlexander Motin    {
661*18054d02SAlexander Motin        "BriefDescription": "Number of machine clears (nukes) of any type.",
66252d973f5SAlexander Motin        "CollectPEBSRecord": "2",
66352d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
664*18054d02SAlexander Motin        "CounterMask": "1",
665*18054d02SAlexander Motin        "EdgeDetect": "1",
666*18054d02SAlexander Motin        "EventCode": "0xc3",
667*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.COUNT",
66852d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
669*18054d02SAlexander Motin        "PublicDescription": "Counts the number of machine clears (nukes) of any type.",
670*18054d02SAlexander Motin        "SampleAfterValue": "100003",
671*18054d02SAlexander Motin        "Speculative": "1",
672*18054d02SAlexander Motin        "UMask": "0x1"
673*18054d02SAlexander Motin    },
674*18054d02SAlexander Motin    {
675*18054d02SAlexander Motin        "BriefDescription": "Self-modifying code (SMC) detected.",
676*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
677*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
678*18054d02SAlexander Motin        "EventCode": "0xc3",
679*18054d02SAlexander Motin        "EventName": "MACHINE_CLEARS.SMC",
680*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
681*18054d02SAlexander Motin        "PublicDescription": "Counts self-modifying code (SMC) detected, which causes a machine clear.",
682*18054d02SAlexander Motin        "SampleAfterValue": "100003",
683*18054d02SAlexander Motin        "Speculative": "1",
684*18054d02SAlexander Motin        "UMask": "0x4"
685*18054d02SAlexander Motin    },
686*18054d02SAlexander Motin    {
687*18054d02SAlexander Motin        "BriefDescription": "Increments whenever there is an update to the LBR array.",
688*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
689*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
690*18054d02SAlexander Motin        "EventCode": "0xcc",
691*18054d02SAlexander Motin        "EventName": "MISC_RETIRED.LBR_INSERTS",
692*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
693*18054d02SAlexander Motin        "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 to be enabled properly.",
694*18054d02SAlexander Motin        "SampleAfterValue": "100003",
695*18054d02SAlexander Motin        "UMask": "0x20"
696*18054d02SAlexander Motin    },
697*18054d02SAlexander Motin    {
698*18054d02SAlexander Motin        "BriefDescription": "Number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
699*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
700*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
701*18054d02SAlexander Motin        "EventCode": "0xcc",
702*18054d02SAlexander Motin        "EventName": "MISC_RETIRED.PAUSE_INST",
703*18054d02SAlexander Motin        "PublicDescription": "Counts number of retired PAUSE instructions. This event is not supported on first SKL and KBL products.",
704*18054d02SAlexander Motin        "SampleAfterValue": "100003",
705*18054d02SAlexander Motin        "UMask": "0x40"
706*18054d02SAlexander Motin    },
707*18054d02SAlexander Motin    {
708*18054d02SAlexander Motin        "BriefDescription": "Cycles stalled due to no store buffers available. (not including draining form sync).",
709*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
710*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
711*18054d02SAlexander Motin        "EventCode": "0xa2",
712*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.SB",
713*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
714*18054d02SAlexander Motin        "PublicDescription": "Counts allocation stall cycles caused by the store buffer (SB) being full. This counts cycles that the pipeline back-end blocked uop delivery from the front-end.",
715*18054d02SAlexander Motin        "SampleAfterValue": "100003",
71652d973f5SAlexander Motin        "Speculative": "1",
71752d973f5SAlexander Motin        "UMask": "0x8"
71852d973f5SAlexander Motin    },
71952d973f5SAlexander Motin    {
720*18054d02SAlexander Motin        "BriefDescription": "Counts cycles where the pipeline is stalled due to serializing operations.",
72152d973f5SAlexander Motin        "CollectPEBSRecord": "2",
72252d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
723*18054d02SAlexander Motin        "EventCode": "0xa2",
724*18054d02SAlexander Motin        "EventName": "RESOURCE_STALLS.SCOREBOARD",
72552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
726*18054d02SAlexander Motin        "SampleAfterValue": "100003",
72752d973f5SAlexander Motin        "Speculative": "1",
728*18054d02SAlexander Motin        "UMask": "0x2"
72952d973f5SAlexander Motin    },
73052d973f5SAlexander Motin    {
731*18054d02SAlexander Motin        "BriefDescription": "Cycles when Reservation Station (RS) is empty for the thread",
73252d973f5SAlexander Motin        "CollectPEBSRecord": "2",
73352d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
734*18054d02SAlexander Motin        "EventCode": "0x5e",
735*18054d02SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_CYCLES",
73652d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
737*18054d02SAlexander Motin        "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)",
73852d973f5SAlexander Motin        "SampleAfterValue": "1000003",
73952d973f5SAlexander Motin        "Speculative": "1",
74052d973f5SAlexander Motin        "UMask": "0x1"
74152d973f5SAlexander Motin    },
74252d973f5SAlexander Motin    {
743*18054d02SAlexander Motin        "BriefDescription": "Counts end of periods where the Reservation Station (RS) was empty.",
74452d973f5SAlexander Motin        "CollectPEBSRecord": "2",
74552d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
74652d973f5SAlexander Motin        "CounterMask": "1",
747*18054d02SAlexander Motin        "EdgeDetect": "1",
748*18054d02SAlexander Motin        "EventCode": "0x5E",
749*18054d02SAlexander Motin        "EventName": "RS_EVENTS.EMPTY_END",
75052d973f5SAlexander Motin        "Invert": "1",
75152d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
752*18054d02SAlexander Motin        "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)",
753*18054d02SAlexander Motin        "SampleAfterValue": "100003",
754*18054d02SAlexander Motin        "Speculative": "1",
755*18054d02SAlexander Motin        "UMask": "0x1"
756*18054d02SAlexander Motin    },
757*18054d02SAlexander Motin    {
758*18054d02SAlexander Motin        "BriefDescription": "TMA slots where no uops were being issued due to lack of back-end resources.",
759*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
760*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
761*18054d02SAlexander Motin        "EventCode": "0xa4",
762*18054d02SAlexander Motin        "EventName": "TOPDOWN.BACKEND_BOUND_SLOTS",
763*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
764*18054d02SAlexander Motin        "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.",
765*18054d02SAlexander Motin        "SampleAfterValue": "10000003",
766*18054d02SAlexander Motin        "Speculative": "1",
767*18054d02SAlexander Motin        "UMask": "0x2"
768*18054d02SAlexander Motin    },
769*18054d02SAlexander Motin    {
770*18054d02SAlexander Motin        "BriefDescription": "TMA slots wasted due to incorrect speculation by branch mispredictions",
771*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
772*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
773*18054d02SAlexander Motin        "EventCode": "0xa4",
774*18054d02SAlexander Motin        "EventName": "TOPDOWN.BR_MISPREDICT_SLOTS",
775*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
776*18054d02SAlexander Motin        "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.",
777*18054d02SAlexander Motin        "SampleAfterValue": "10000003",
778*18054d02SAlexander Motin        "Speculative": "1",
779*18054d02SAlexander Motin        "UMask": "0x8"
780*18054d02SAlexander Motin    },
781*18054d02SAlexander Motin    {
782*18054d02SAlexander Motin        "BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - architectural event",
783*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
784*18054d02SAlexander Motin        "Counter": "Fixed counter 3",
785*18054d02SAlexander Motin        "EventName": "TOPDOWN.SLOTS",
786*18054d02SAlexander Motin        "PEBScounters": "35",
787*18054d02SAlexander Motin        "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).",
788*18054d02SAlexander Motin        "SampleAfterValue": "10000003",
789*18054d02SAlexander Motin        "Speculative": "1",
790*18054d02SAlexander Motin        "UMask": "0x4"
791*18054d02SAlexander Motin    },
792*18054d02SAlexander Motin    {
793*18054d02SAlexander Motin        "BriefDescription": "TMA slots available for an unhalted logical processor. General counter - architectural event",
794*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
795*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
796*18054d02SAlexander Motin        "EventCode": "0xa4",
797*18054d02SAlexander Motin        "EventName": "TOPDOWN.SLOTS_P",
798*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
799*18054d02SAlexander Motin        "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.",
800*18054d02SAlexander Motin        "SampleAfterValue": "10000003",
801*18054d02SAlexander Motin        "Speculative": "1",
802*18054d02SAlexander Motin        "UMask": "0x1"
803*18054d02SAlexander Motin    },
804*18054d02SAlexander Motin    {
805*18054d02SAlexander Motin        "BriefDescription": "Number of uops decoded out of instructions exclusively fetched by decoder 0",
806*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
807*18054d02SAlexander Motin        "Counter": "0,1,2,3",
808*18054d02SAlexander Motin        "EventCode": "0x56",
809*18054d02SAlexander Motin        "EventName": "UOPS_DECODED.DEC0",
810*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3",
811*18054d02SAlexander Motin        "PublicDescription": "Uops exclusively fetched by decoder 0",
81252d973f5SAlexander Motin        "SampleAfterValue": "1000003",
81352d973f5SAlexander Motin        "Speculative": "1",
81452d973f5SAlexander Motin        "UMask": "0x1"
81552d973f5SAlexander Motin    },
81652d973f5SAlexander Motin    {
817*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 0",
81852d973f5SAlexander Motin        "CollectPEBSRecord": "2",
81952d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
820*18054d02SAlexander Motin        "EventCode": "0xa1",
821*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_0",
82252d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
823*18054d02SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 0.",
824*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
825*18054d02SAlexander Motin        "Speculative": "1",
826*18054d02SAlexander Motin        "UMask": "0x1"
827*18054d02SAlexander Motin    },
828*18054d02SAlexander Motin    {
829*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 1",
830*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
831*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
832*18054d02SAlexander Motin        "EventCode": "0xa1",
833*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_1",
834*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
835*18054d02SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 1.",
836*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
837*18054d02SAlexander Motin        "Speculative": "1",
838*18054d02SAlexander Motin        "UMask": "0x2"
839*18054d02SAlexander Motin    },
840*18054d02SAlexander Motin    {
841*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 2 and 3",
842*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
843*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
844*18054d02SAlexander Motin        "EventCode": "0xa1",
845*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_2_3",
846*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
847*18054d02SAlexander Motin        "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.",
848*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
849*18054d02SAlexander Motin        "Speculative": "1",
850*18054d02SAlexander Motin        "UMask": "0x4"
851*18054d02SAlexander Motin    },
852*18054d02SAlexander Motin    {
853*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 4 and 9",
854*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
855*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
856*18054d02SAlexander Motin        "EventCode": "0xa1",
857*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_4_9",
858*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
859*18054d02SAlexander Motin        "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.",
860*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
861*18054d02SAlexander Motin        "Speculative": "1",
862*18054d02SAlexander Motin        "UMask": "0x10"
863*18054d02SAlexander Motin    },
864*18054d02SAlexander Motin    {
865*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 5",
866*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
867*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
868*18054d02SAlexander Motin        "EventCode": "0xa1",
869*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_5",
870*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
871*18054d02SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 5.",
872*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
873*18054d02SAlexander Motin        "Speculative": "1",
874*18054d02SAlexander Motin        "UMask": "0x20"
875*18054d02SAlexander Motin    },
876*18054d02SAlexander Motin    {
877*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 6",
878*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
879*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
880*18054d02SAlexander Motin        "EventCode": "0xa1",
881*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_6",
882*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
883*18054d02SAlexander Motin        "PublicDescription": "Counts, on the per-thread basis, cycles during which at least one uop is dispatched from the Reservation Station (RS) to port 6.",
884*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
885*18054d02SAlexander Motin        "Speculative": "1",
886*18054d02SAlexander Motin        "UMask": "0x40"
887*18054d02SAlexander Motin    },
888*18054d02SAlexander Motin    {
889*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on port 7 and 8",
890*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
891*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
892*18054d02SAlexander Motin        "EventCode": "0xa1",
893*18054d02SAlexander Motin        "EventName": "UOPS_DISPATCHED.PORT_7_8",
894*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
895*18054d02SAlexander Motin        "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.",
896*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
897*18054d02SAlexander Motin        "Speculative": "1",
898*18054d02SAlexander Motin        "UMask": "0x80"
899*18054d02SAlexander Motin    },
900*18054d02SAlexander Motin    {
901*18054d02SAlexander Motin        "BriefDescription": "Number of uops executed on the core.",
902*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
903*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
904*18054d02SAlexander Motin        "EventCode": "0xB1",
905*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE",
906*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
907*18054d02SAlexander Motin        "PublicDescription": "Counts the number of uops executed from any thread.",
90852d973f5SAlexander Motin        "SampleAfterValue": "2000003",
90952d973f5SAlexander Motin        "Speculative": "1",
91052d973f5SAlexander Motin        "UMask": "0x2"
91152d973f5SAlexander Motin    },
91252d973f5SAlexander Motin    {
91352d973f5SAlexander Motin        "BriefDescription": "Cycles at least 1 micro-op is executed from any thread on physical core.",
91452d973f5SAlexander Motin        "CollectPEBSRecord": "2",
91552d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
91652d973f5SAlexander Motin        "CounterMask": "1",
91752d973f5SAlexander Motin        "EventCode": "0xB1",
91852d973f5SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_1",
91952d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
92052d973f5SAlexander Motin        "PublicDescription": "Counts cycles when at least 1 micro-op is executed from any thread on physical core.",
92152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
92252d973f5SAlexander Motin        "Speculative": "1",
92352d973f5SAlexander Motin        "UMask": "0x2"
92452d973f5SAlexander Motin    },
92552d973f5SAlexander Motin    {
926*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 2 micro-op is executed from any thread on physical core.",
92752d973f5SAlexander Motin        "CollectPEBSRecord": "2",
92852d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
929*18054d02SAlexander Motin        "CounterMask": "2",
930*18054d02SAlexander Motin        "EventCode": "0xB1",
931*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_2",
93252d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
933*18054d02SAlexander Motin        "PublicDescription": "Counts cycles when at least 2 micro-ops are executed from any thread on physical core.",
934*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
935*18054d02SAlexander Motin        "Speculative": "1",
936*18054d02SAlexander Motin        "UMask": "0x2"
93752d973f5SAlexander Motin    },
93852d973f5SAlexander Motin    {
939*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 3 micro-op is executed from any thread on physical core.",
94052d973f5SAlexander Motin        "CollectPEBSRecord": "2",
94152d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
942*18054d02SAlexander Motin        "CounterMask": "3",
943*18054d02SAlexander Motin        "EventCode": "0xB1",
944*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_3",
94552d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
946*18054d02SAlexander Motin        "PublicDescription": "Counts cycles when at least 3 micro-ops are executed from any thread on physical core.",
947*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
948*18054d02SAlexander Motin        "Speculative": "1",
949*18054d02SAlexander Motin        "UMask": "0x2"
950*18054d02SAlexander Motin    },
951*18054d02SAlexander Motin    {
952*18054d02SAlexander Motin        "BriefDescription": "Cycles at least 4 micro-op is executed from any thread on physical core.",
953*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
954*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
955*18054d02SAlexander Motin        "CounterMask": "4",
956*18054d02SAlexander Motin        "EventCode": "0xB1",
957*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CORE_CYCLES_GE_4",
958*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
959*18054d02SAlexander Motin        "PublicDescription": "Counts cycles when at least 4 micro-ops are executed from any thread on physical core.",
960*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
961*18054d02SAlexander Motin        "Speculative": "1",
962*18054d02SAlexander Motin        "UMask": "0x2"
963*18054d02SAlexander Motin    },
964*18054d02SAlexander Motin    {
965*18054d02SAlexander Motin        "BriefDescription": "Cycles where at least 1 uop was executed per-thread",
966*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
967*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
968*18054d02SAlexander Motin        "CounterMask": "1",
969*18054d02SAlexander Motin        "EventCode": "0xb1",
970*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_1",
971*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
972*18054d02SAlexander Motin        "PublicDescription": "Cycles where at least 1 uop was executed per-thread.",
973*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
974*18054d02SAlexander Motin        "Speculative": "1",
975*18054d02SAlexander Motin        "UMask": "0x1"
976*18054d02SAlexander Motin    },
977*18054d02SAlexander Motin    {
978*18054d02SAlexander Motin        "BriefDescription": "Cycles where at least 2 uops were executed per-thread",
979*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
980*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
981*18054d02SAlexander Motin        "CounterMask": "2",
982*18054d02SAlexander Motin        "EventCode": "0xb1",
983*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_2",
984*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
985*18054d02SAlexander Motin        "PublicDescription": "Cycles where at least 2 uops were executed per-thread.",
986*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
987*18054d02SAlexander Motin        "Speculative": "1",
988*18054d02SAlexander Motin        "UMask": "0x1"
989*18054d02SAlexander Motin    },
990*18054d02SAlexander Motin    {
991*18054d02SAlexander Motin        "BriefDescription": "Cycles where at least 3 uops were executed per-thread",
992*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
993*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
994*18054d02SAlexander Motin        "CounterMask": "3",
995*18054d02SAlexander Motin        "EventCode": "0xb1",
996*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_3",
997*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
998*18054d02SAlexander Motin        "PublicDescription": "Cycles where at least 3 uops were executed per-thread.",
999*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1000*18054d02SAlexander Motin        "Speculative": "1",
1001*18054d02SAlexander Motin        "UMask": "0x1"
1002*18054d02SAlexander Motin    },
1003*18054d02SAlexander Motin    {
1004*18054d02SAlexander Motin        "BriefDescription": "Cycles where at least 4 uops were executed per-thread",
1005*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1006*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1007*18054d02SAlexander Motin        "CounterMask": "4",
1008*18054d02SAlexander Motin        "EventCode": "0xb1",
1009*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.CYCLES_GE_4",
1010*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1011*18054d02SAlexander Motin        "PublicDescription": "Cycles where at least 4 uops were executed per-thread.",
1012*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1013*18054d02SAlexander Motin        "Speculative": "1",
1014*18054d02SAlexander Motin        "UMask": "0x1"
1015*18054d02SAlexander Motin    },
1016*18054d02SAlexander Motin    {
1017*18054d02SAlexander Motin        "BriefDescription": "Counts number of cycles no uops were dispatched to be executed on this thread.",
1018*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1019*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1020*18054d02SAlexander Motin        "CounterMask": "1",
1021*18054d02SAlexander Motin        "EventCode": "0xB1",
1022*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.STALL_CYCLES",
1023*18054d02SAlexander Motin        "Invert": "1",
1024*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1025*18054d02SAlexander Motin        "PublicDescription": "Counts cycles during which no uops were dispatched from the Reservation Station (RS) per thread.",
1026*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1027*18054d02SAlexander Motin        "Speculative": "1",
1028*18054d02SAlexander Motin        "UMask": "0x1"
1029*18054d02SAlexander Motin    },
1030*18054d02SAlexander Motin    {
1031*18054d02SAlexander Motin        "BriefDescription": "Counts the number of uops to be executed per-thread each cycle.",
1032*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1033*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1034*18054d02SAlexander Motin        "EventCode": "0xb1",
1035*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.THREAD",
1036*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1037*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1038*18054d02SAlexander Motin        "Speculative": "1",
1039*18054d02SAlexander Motin        "UMask": "0x1"
1040*18054d02SAlexander Motin    },
1041*18054d02SAlexander Motin    {
1042*18054d02SAlexander Motin        "BriefDescription": "Counts the number of x87 uops dispatched.",
1043*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1044*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1045*18054d02SAlexander Motin        "EventCode": "0xB1",
1046*18054d02SAlexander Motin        "EventName": "UOPS_EXECUTED.X87",
1047*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1048*18054d02SAlexander Motin        "PublicDescription": "Counts the number of x87 uops executed.",
1049*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
105052d973f5SAlexander Motin        "Speculative": "1",
105152d973f5SAlexander Motin        "UMask": "0x10"
105252d973f5SAlexander Motin    },
105352d973f5SAlexander Motin    {
1054*18054d02SAlexander Motin        "BriefDescription": "Uops that RAT issues to RS",
105552d973f5SAlexander Motin        "CollectPEBSRecord": "2",
105652d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1057*18054d02SAlexander Motin        "EventCode": "0x0e",
1058*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.ANY",
105952d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1060*18054d02SAlexander Motin        "PublicDescription": "Counts the number of uops that the Resource Allocation Table (RAT) issues to the Reservation Station (RS).",
106152d973f5SAlexander Motin        "SampleAfterValue": "2000003",
106252d973f5SAlexander Motin        "Speculative": "1",
106352d973f5SAlexander Motin        "UMask": "0x1"
106452d973f5SAlexander Motin    },
106552d973f5SAlexander Motin    {
1066*18054d02SAlexander Motin        "BriefDescription": "Cycles when RAT does not issue Uops to RS for the thread",
106752d973f5SAlexander Motin        "CollectPEBSRecord": "2",
106852d973f5SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1069*18054d02SAlexander Motin        "CounterMask": "1",
1070*18054d02SAlexander Motin        "EventCode": "0x0E",
1071*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.STALL_CYCLES",
1072*18054d02SAlexander Motin        "Invert": "1",
107352d973f5SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1074*18054d02SAlexander Motin        "PublicDescription": "Counts cycles during which the Resource Allocation Table (RAT) does not issue any Uops to the reservation station (RS) for the current thread.",
1075*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
1076*18054d02SAlexander Motin        "Speculative": "1",
1077*18054d02SAlexander Motin        "UMask": "0x1"
1078*18054d02SAlexander Motin    },
1079*18054d02SAlexander Motin    {
1080*18054d02SAlexander Motin        "BriefDescription": "Uops inserted at issue-stage in order to preserve upper bits of vector registers.",
1081*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1082*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1083*18054d02SAlexander Motin        "EventCode": "0x0e",
1084*18054d02SAlexander Motin        "EventName": "UOPS_ISSUED.VECTOR_WIDTH_MISMATCH",
1085*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1086*18054d02SAlexander Motin        "PublicDescription": "Counts the number of Blend Uops issued by the Resource Allocation Table (RAT) to the reservation station (RS) in order to preserve upper bits of vector registers. Starting with the Skylake microarchitecture, these Blend uops are needed since every Intel SSE instruction executed in Dirty Upper State needs to preserve bits 128-255 of the destination register. For more information, refer to Mixing Intel AVX and Intel SSE Code section of the Optimization Guide.",
1087*18054d02SAlexander Motin        "SampleAfterValue": "100003",
1088*18054d02SAlexander Motin        "Speculative": "1",
1089*18054d02SAlexander Motin        "UMask": "0x2"
1090*18054d02SAlexander Motin    },
1091*18054d02SAlexander Motin    {
1092*18054d02SAlexander Motin        "BriefDescription": "Retirement slots used.",
1093*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1094*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1095*18054d02SAlexander Motin        "EventCode": "0xc2",
1096*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.SLOTS",
1097*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1098*18054d02SAlexander Motin        "PublicDescription": "Counts the retirement slots used each cycle.",
1099*18054d02SAlexander Motin        "SampleAfterValue": "2000003",
1100*18054d02SAlexander Motin        "UMask": "0x2"
1101*18054d02SAlexander Motin    },
1102*18054d02SAlexander Motin    {
1103*18054d02SAlexander Motin        "BriefDescription": "Cycles without actually retired uops.",
1104*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1105*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1106*18054d02SAlexander Motin        "CounterMask": "1",
1107*18054d02SAlexander Motin        "EventCode": "0xc2",
1108*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.STALL_CYCLES",
1109*18054d02SAlexander Motin        "Invert": "1",
1110*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1111*18054d02SAlexander Motin        "PublicDescription": "This event counts cycles without actually retired uops.",
1112*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
1113*18054d02SAlexander Motin        "Speculative": "1",
1114*18054d02SAlexander Motin        "UMask": "0x2"
1115*18054d02SAlexander Motin    },
1116*18054d02SAlexander Motin    {
1117*18054d02SAlexander Motin        "BriefDescription": "Cycles with less than 10 actually retired uops.",
1118*18054d02SAlexander Motin        "CollectPEBSRecord": "2",
1119*18054d02SAlexander Motin        "Counter": "0,1,2,3,4,5,6,7",
1120*18054d02SAlexander Motin        "CounterMask": "10",
1121*18054d02SAlexander Motin        "EventCode": "0xc2",
1122*18054d02SAlexander Motin        "EventName": "UOPS_RETIRED.TOTAL_CYCLES",
1123*18054d02SAlexander Motin        "Invert": "1",
1124*18054d02SAlexander Motin        "PEBScounters": "0,1,2,3,4,5,6,7",
1125*18054d02SAlexander Motin        "PublicDescription": "Counts the number of cycles using always true condition (uops_ret < 16) applied to non PEBS uops retired event.",
1126*18054d02SAlexander Motin        "SampleAfterValue": "1000003",
1127*18054d02SAlexander Motin        "UMask": "0x2"
112892b14858SMatt Macy    }
112992b14858SMatt Macy]
1130