xref: /illumos-gate/usr/src/data/amdpmc/f19h_zen3_core.json (revision 281939df320dc275543124ebb96b5a9415c503be)
1[
2{
3	"mnemonic": "Core::X86::Pmc::Core::FpRetSseAvxOps",
4	"name": "FpRetSseAvxOps",
5	"code": "0x003",
6	"summary": "Retired SSE/AVX FLOPs",
7	"description": "This is a retire-based event. The number of retired SSE/AVX FLOPs. The number of events logged per cycle can vary from 0 to 64. This event requires the use of the MergeEvent since it can count above 15 events per cycle. See 2.1.17.3 [Large Increment per Cycle Events]. It does not provide a useful count without the use of the MergeEvent.",
8	"units": [ {
9		"name": "MacFLOPs",
10		"bit": 3,
11		"rw": "Read-write",
12		"description": "Multiply-Accumulate FLOPs. Each MAC operation is counted as 2 FLOPS."
13	}, {
14		"name": "DivFLOPs",
15		"bit": 2,
16		"rw": "Read-write",
17		"description": "Divide/square root FLOPs."
18	}, {
19		"name": "MultFLOPs",
20		"bit": 1,
21		"rw": "Read-write",
22		"description": "Multiply FLOPs."
23	}, {
24		"name": "AddSubFLOPs",
25		"bit": 0,
26		"rw": "Read-write",
27		"description": "Add/subtract FLOPs."
28	} ]
29},
30{
31	"mnemonic": "Core::X86::Pmc::Core::FpRetiredSerOps",
32	"name": "FpRetiredSerOps",
33	"code": "0x005",
34	"summary": "Retired Serializing Ops",
35	"description": "The number of serializing Ops retired.",
36	"units": [ {
37		"name": "SseBotRet",
38		"bit": 3,
39		"rw": "Read-write",
40		"description": "SSE/AVX bottom-executing ops retired."
41	}, {
42		"name": "SseCtrlRet",
43		"bit": 2,
44		"rw": "Read-write",
45		"description": "SSE/AVX control word mispredict traps."
46	}, {
47		"name": "X87BotRet",
48		"bit": 1,
49		"rw": "Read-write",
50		"description": "x87 bottom-executing ops retired."
51	}, {
52		"name": "X87CtrlRet",
53		"bit": 0,
54		"rw": "Read-write",
55		"description": "x87 control word mispredict traps due to mispredictions in RC or PC, or changes in Exception Mask bits."
56	} ]
57},
58{
59	"mnemonic": "Core::X86::Pmc::Core::FpDispFaults",
60	"name": "FpDispFaults",
61	"code": "0x00E",
62	"summary": "FP Dispatch Faults",
63	"description": "Floating Point Dispatch Faults.",
64	"units": [ {
65		"name": "YmmSpillFault",
66		"bit": 3,
67		"rw": "Read-write",
68		"description": "YMM Spill fault."
69	}, {
70		"name": "YmmFillFault",
71		"bit": 2,
72		"rw": "Read-write",
73		"description": "YMM Fill fault."
74	}, {
75		"name": "XmmFillFault",
76		"bit": 1,
77		"rw": "Read-write",
78		"description": "XMM Fill fault."
79	}, {
80		"name": "x87FillFault",
81		"bit": 0,
82		"rw": "Read-write",
83		"description": "x87 Fill fault."
84	} ]
85},
86{
87	"mnemonic": "Core::X86::Pmc::Core::LsBadStatus2",
88	"name": "LsBadStatus2",
89	"code": "0x024",
90	"summary": "Bad Status 2",
91	"units": [ {
92		"name": "StliOther",
93		"bit": 1,
94		"rw": "Read-write",
95		"description": "Store-to-load conflicts: A load was unable to complete due to a non-forwardable conflict with an older store. Most commonly, a load's address range partially but not completely overlaps with an uncompleted older store. Software can avoid this problem by using same-size and same-alignment loads and stores when accessing the same data. Vector/SIMD code is particularly susceptible to this problem; software should construct wide vector stores by manipulating vector elements in registers using shuffle/blend/swap instructions prior to storing to memory, instead of using narrow element-by-element stores."
96	} ]
97},
98{
99	"mnemonic": "Core::X86::Pmc::Core::LsLocks",
100	"name": "LsLocks",
101	"code": "0x025",
102	"summary": "Retired Lock Instructions",
103	"units": [ {
104		"name": "BusLock",
105		"bit": 0,
106		"rw": "Read-write",
107		"description": "Read-write. Reset: 0. Comparable to legacy bus lock."
108	} ]
109},
110{
111	"mnemonic": "Core::X86::Pmc::Core::LsRetClClush",
112	"name": "LsRetClClush",
113	"code": "0x026",
114	"summary": "Retired CLFLUSH Instructions",
115	"description": "The number of retired CLFLUSH instructions. This is a non-speculative event."
116},
117{
118	"mnemonic": "Core::X86::Pmc::Core::LsRetCpuid",
119	"name": "LsRetCpuid",
120	"code": "0x027",
121	"summary": "Retired CPUID Instructions",
122	"description": "The number of CPUID instructions retired."
123},
124{
125	"mnemonic": "Core::X86::Pmc::Core::LsDispatch",
126	"name": "LsDispatch",
127	"code": "0x029",
128	"summary": "LS Dispatch",
129	"description": "Counts the number of operations dispatched to the LS unit.",
130	"unit_mode": "add",
131	"units": [ {
132		"name": "LdStDispatch",
133		"bit": 2,
134		"rw": "Read-write",
135		"description": "Load-op-Store Dispatch. Dispatch of a single op that performs a load from and store to the same memory address."
136	}, {
137		"name": "StoreDispatch",
138		"bit": 1,
139		"rw": "Read-write",
140		"description": "Dispatch of a single op that performs a memory store."
141	}, {
142		"name": "LdDispatch",
143		"bit": 0,
144		"rw": "Read-write",
145		"description": "Dispatch of a single op that performs a memory load."
146	} ]
147},
148{
149	"mnemonic": "Core::X86::Pmc::Core::LsSmiRx",
150	"name": "LsSmiRx",
151	"code": "0x02B",
152	"summary": "SMIs Received",
153	"description": "Counts the number of SMIs received."
154},
155{
156	"mnemonic": "Core::X86::Pmc::Core::LsIntTaken",
157	"name": "LsIntTaken",
158	"code": "0x02C",
159	"summary": "Interrupts Taken",
160	"description": "Counts the number of interrupts taken."
161},
162{
163	"mnemonic": "Core::X86::Pmc::Core::LsSTLF",
164	"name": "LsSTLF",
165	"code": "0x035",
166	"summary": "Store to Load Forward",
167	"description": "Number of STLF hits."
168},
169{
170	"mnemonic": "Core::X86::Pmc::Core::LsStCommitCancel2",
171	"name": "LsStCommitCancel2",
172	"code": "0x037",
173	"summary": "Store Commit Cancels 2",
174	"units": [ {
175		"name": "StCommitCancelWcbFull",
176		"bit": 0,
177		"rw": "Read-write",
178		"description": "A non-cacheable store and the non-cacheable commit buffer is full."
179	} ]
180},
181{
182	"mnemonic": "Core::X86::Pmc::Core::LsMabAlloc",
183	"name": "LsMabAlloc",
184	"code": "0x041",
185	"summary": "LS MAB Allocates by Type",
186	"description": "Counts when a LS pipe allocates a MAB entry.",
187	"unit_mode": "value",
188	"units": [ {
189		"name": "LsMabAllocation",
190		"bit-range": "6:0",
191		"rw": "Read-write",
192		"values": [
193			{ "value": "0x3f", "description": "Load Store Allocations." },
194			{ "value": "0x40", "description": "Hardware Prefetecher Allocations." },
195			{ "value": "0x7f", "description": "All Allocations." }
196		]
197	} ]
198},
199{
200	"mnemonic": "Core::X86::Pmc::Core::LsDmndFillsFromSys",
201	"name": "LsDmndFillsFromSys",
202	"code": "0x043",
203	"summary": "Demand Data Cache Fills by Data Source",
204	"description": "Demand Data Cache Fills by Data Source.",
205	"units": [ {
206		"name": "MemIoRemote",
207		"bit": 6,
208		"rw": "Read-write",
209		"description": "From DRAM or IO connected in different Node."
210	}, {
211		"name": "ExtCacheRemote",
212		"bit": 4,
213		"rw": "Read-write",
214		"description": "From CCX Cache in different Node."
215	}, {
216		"name": "MemIoLocal",
217		"bit": 3,
218		"rw": "Read-write",
219		"description": "From DRAM or IO connected in same node."
220	}, {
221		"name": "ExtCacheLocal",
222		"bit": 2,
223		"rw": "Read-write",
224		"description": "From cache of different CCX in same node."
225	}, {
226		"name": "IntCache",
227		"bit": 1,
228		"rw": "Read-write",
229		"description": "From L3 or different L2 in same CCX."
230	}, {
231		"name": "LclL2",
232		"bit": 0,
233		"rw": "Read-write",
234		"description": "From Local L2 to the core."
235	} ]
236},
237{
238	"mnemonic": "Core::X86::Pmc::Core::LsAnyFillsFromSys",
239	"name": "LsAnyFillsFromSys",
240	"code": "0x044",
241	"summary": "Any Data Cache Fills by Data Source",
242	"description": "Any Data Cache Fills by Data Source.",
243	"units": [ {
244		"name": "MemIoRemote",
245		"bit": 6,
246		"rw": "Read-write",
247		"description": "From DRAM or IO connected in different Node."
248	}, {
249		"name": "ExtCacheRemote",
250		"bit": 4,
251		"rw": "Read-write",
252		"description": "From CCX Cache in different Node."
253	}, {
254		"name": "MemIoLocal",
255		"bit": 3,
256		"rw": "Read-write",
257		"description": "From DRAM or IO connected in same node."
258	}, {
259		"name": "ExtCacheLocal",
260		"bit": 2,
261		"rw": "Read-write",
262		"description": "From cache of different CCX in same node."
263	}, {
264		"name": "IntCache",
265		"bit": 1,
266		"rw": "Read-write",
267		"description": "From L3 or different L2 in same CCX."
268	}, {
269		"name": "LclL2",
270		"bit": 0,
271		"rw": "Read-write",
272		"description": "From Local L2 to the core."
273	} ]
274},
275{
276	"mnemonic": "Core::X86::Pmc::Core::LsL1DTlbMiss",
277	"name": "LsL1DTlbMiss",
278	"code": "0x045",
279	"summary": "L1 DTLB Misses",
280	"units": [ {
281		"name": "TlbReload1GL2Miss",
282		"bit": 7,
283		"rw": "Read-write",
284		"description": "DTLB reload to a 1G page that also missed in the L2 TLB."
285	}, {
286		"name": "TlbReload2ML2Miss",
287		"bit": 6,
288		"rw": "Read-write",
289		"description": "DTLB reload to a 2M page that also missed in the L2 TLB."
290	}, {
291		"name": "TlbReloadCoalescedPageMiss",
292		"bit": 5,
293		"rw": "Read-write",
294		"description": "DTLB reload to a coalesced page that also missed in the L2 TLB."
295	}, {
296		"name": "TlbReload4KL2Miss",
297		"bit": 4,
298		"rw": "Read-write",
299		"description": "DTLB reload to a 4 K page that missed the L2 TLB"
300	}, {
301		"name": "TlbReload1GL2Hit",
302		"bit": 3,
303		"rw": "Read-write",
304		"description": "DTLB reload to a 1G page that hit in the L2 TLB."
305	}, {
306		"name": "TlbReload2ML2Hit",
307		"bit": 2,
308		"rw": "Read-write",
309		"description": "DTLB reload to a 2M page that hit in the L2 TLB.1TlbReloadCoalescedPageHit. Read-write. Reset: 0. DTLB reload to a coalesced page that hit in the L2 TLB."
310	}, {
311		"name": "TlbReload4KL2Hit",
312		"bit": 0,
313		"rw": "Read-write",
314		"description": "DTLB reload to a 4K page that hit in the L2 TLB."
315	} ]
316},
317{
318	"mnemonic": "Core::X86::Pmc::Core::LsMisalLoads",
319	"name": "LsMisalLoads",
320	"code": "0x047",
321	"summary": "Misaligned loads",
322	"units": [ {
323		"name": "MA4K",
324		"bit": 1,
325		"rw": "Read-write",
326		"description": "The number of 4KB misaligned (i.e., page crossing) loads."
327	}, {
328		"name": "MA64",
329		"bit": 0,
330		"rw": "Read-write",
331		"description": "The number of 64B misaligned (i.e., cacheline crossing) loads."
332	} ]
333},
334{
335	"mnemonic": "Core::X86::Pmc::Core::LsPrefInstrDisp",
336	"name": "LsPrefInstrDisp",
337	"code": "0x04B",
338	"summary": "Prefetch Instructions Dispatched",
339	"description": "Software Prefetch Instructions Dispatched (Speculative).",
340	"units": [ {
341		"name": "PREFETCHNTA",
342		"bit": 2,
343		"rw": "Read-write",
344		"description": "PrefetchNTA instruction. See docAPM3 PREFETCHlevel."
345	}, {
346		"name": "PREFETCHW",
347		"bit": 1,
348		"rw": "Read-write",
349		"description": "PrefetchW instruction. See docAPM3 PREFETCHW."
350	}, {
351		"name": "PREFETCH",
352		"bit": 0,
353		"rw": "Read-write",
354		"description": "PrefetchT0, T1 and T2 instructions. See docAPM3 PREFETCHlevel."
355	} ]
356},
357{
358	"mnemonic": "Core::X86::Pmc::Core::LsInefSwPref",
359	"name": "LsInefSwPref",
360	"code": "0x052",
361	"summary": "Ineffective Software Prefetches",
362	"description": "The number of software prefetches that did not fetch data outside of the processor core.",
363	"units": [ {
364		"name": "MabMchCnt",
365		"bit": 1,
366		"rw": "Read-write",
367		"description": "Software PREFETCH instruction saw a match on an already-allocated miss request buffer."
368	}, {
369		"name": "DataPipeSwPfDcHit",
370		"bit": 0,
371		"rw": "Read-write",
372		"description": "Software PREFETCH instruction saw a DC hit."
373	} ]
374},
375{
376	"mnemonic": "Core::X86::Pmc::Core::LsSwPfDcFills",
377	"name": "LsSwPfDcFills",
378	"code": "0x059",
379	"summary": "Software Prefetch Data Cache Fills",
380	"description": "Software Prefetch Data Cache Fills by Data Source.",
381	"units": [ {
382		"name": "MemIoRemote",
383		"bit": 6,
384		"rw": "Read-write",
385		"description": "From DRAM or IO connected in different Node."
386	}, {
387		"name": "ExtCacheRemote",
388		"bit": 4,
389		"rw": "Read-write",
390		"description": "From CCX Cache in different Node."
391	}, {
392		"name": "MemIoLocal",
393		"bit": 3,
394		"rw": "Read-write",
395		"description": "From DRAM or IO connected in same node."
396	}, {
397		"name": "ExtCacheLocal",
398		"bit": 2,
399		"rw": "Read-write",
400		"description": "From cache of different CCX in same node."
401	}, {
402		"name": "IntCache",
403		"bit": 1,
404		"rw": "Read-write",
405		"description": "From L3 or different L2 in same CCX."
406	}, {
407		"name": "LclL2",
408		"bit": 0,
409		"rw": "Read-write",
410		"description": "From Local L2 to the core."
411	} ]
412},
413{
414	"mnemonic": "Core::X86::Pmc::Core::LsHwPfDcFills",
415	"name": "LsHwPfDcFills",
416	"code": "0x05A",
417	"summary": "Hardware Prefetch Data Cache Fills",
418	"description": "Hardware Prefetch Data Cache Fills by Data Source.",
419	"units": [ {
420		"name": "MemIoRemote",
421		"bit": 6,
422		"rw": "Read-write",
423		"description": "From DRAM or IO connected in different Node."
424	}, {
425		"name": "ExtCacheRemote",
426		"bit": 4,
427		"rw": "Read-write",
428		"description": "From CCX Cache in different Node."
429	}, {
430		"name": "MemIoLocal",
431		"bit": 3,
432		"rw": "Read-write",
433		"description": "From DRAM or IO connected in same node."
434	}, {
435		"name": "ExtCacheLocal",
436		"bit": 2,
437		"rw": "Read-write",
438		"description": "From cache of different CCX in same node."
439	}, {
440		"name": "IntCache",
441		"bit": 1,
442		"rw": "Read-write",
443		"description": "From L3 or different L2 in same CCX."
444	}, {
445		"name": "LclL2",
446		"bit": 0,
447		"rw": "Read-write",
448		"description": "From Local L2 to the core."
449	} ]
450},
451{
452	"mnemonic": "Core::X86::Pmc::Core::LsAllocMabCount",
453	"name": "LsAllocMabCount",
454	"code": "0x05F",
455	"summary": "Count of Allocated Mabs",
456	"description": "This event counts the in-flight L1 data cache misses (allocated Miss Address Buffers) divided by 4 and rounded down each cycle unless used with the MergeEvent functionality. If the MergeEvent is used, it counts the exact number of outstanding L1 data cache misses. See 2.1.17.3 [Large Increment per Cycle Events]."
457},
458{
459	"mnemonic": "Core::X86::Pmc::Core::LsNotHaltedCyc",
460	"name": "LsNotHaltedCyc",
461	"code": "0x076",
462	"summary": "Cycles not in Halt"
463},
464{
465	"mnemonic": "Core::X86::Pmc::Core::LsTlbFlush",
466	"name": "LsTlbFlush",
467	"code": "0x078",
468	"summary": "All TLB Flushes",
469	"description": "Requires unit mask 0xFF to engage event for counting.",
470	"unit_mode": "value",
471	"units": [ {
472		"name": "All",
473		"bit-range": "7:0",
474		"rw": "Read-write",
475		"values": [
476			{ "value": "0xff", "description": "All TLB Flushes." }
477		]
478	} ]
479},
480{
481	"mnemonic": "Core::X86::Pmc::Core::IcCacheFillL2",
482	"name": "IcCacheFillL2",
483	"code": "0x082",
484	"summary": "Instruction Cache Refills from L2",
485	"description": "The number of 64-byte instruction cache line was fulfilled from the L2 cache."
486},
487{
488	"mnemonic": "Core::X86::Pmc::Core::IcCacheFillSys",
489	"name": "IcCacheFillSys",
490	"code": "0x083",
491	"summary": "Instruction Cache Refills from System",
492	"description": "The number of 64-byte instruction cache line fulfilled from system memory or another cache."
493},
494{
495	"mnemonic": "Core::X86::Pmc::Core::BpL1TlbMissL2TlbHit",
496	"name": "BpL1TlbMissL2TlbHit",
497	"code": "0x084",
498	"summary": "L1 ITLB Miss, L2 ITLB Hit",
499	"description": "The number of instruction fetches that miss in the L1 ITLB but hit in the L2 ITLB."
500},
501{
502	"mnemonic": "Core::X86::Pmc::Core::BpL1TlbMissL2TlbMiss",
503	"name": "BpL1TlbMissL2TlbMiss",
504	"code": "0x085",
505	"summary": "ITLB Reload from Page-Table walk",
506	"description": "The number of valid fills into the ITLB originating from the LS Page-Table Walker. Tablewalk requests are issued for L1-ITLB and L2-ITLB misses.",
507	"units": [ {
508		"name": "Coalesced4K",
509		"bit": 3,
510		"rw": "Read-write",
511		"description": " Walk for >4K Coalesced page."
512	}, {
513		"name": "IF1G",
514		"bit": 2,
515		"rw": "Read-write",
516		"description": " Walk for 1G page."
517	}, {
518		"name": "IF2M",
519		"bit": 1,
520		"rw": "Read-write",
521		"description": " Walk for 2M page."
522	}, {
523		"name": "IF4K",
524		"bit": 0,
525		"rw": "Read-write",
526		"description": " Walk to 4K page."
527	} ]
528},
529{
530	"mnemonic": "Core::X86::Pmc::Core::BpL2BTBCorrect",
531	"name": "BpL2BTBCorrect",
532	"code": "0x08B",
533	"summary": "L2 Branch Prediction Overrides Existing Prediction (speculative)"
534},
535{
536	"mnemonic": "Core::X86::Pmc::Core::BpDynIndPred",
537	"name": "BpDynIndPred",
538	"code": "0x08E",
539	"summary": "Dynamic Indirect Predictions",
540	"description": "The number of times a branch used the indirect predictor to make a prediction."
541},
542{
543	"mnemonic": "Core::X86::Pmc::Core::BpDeReDirect",
544	"name": "BpDeReDirect",
545	"code": "0x091",
546	"summary": "Decode Redirects",
547	"description": "The number of times the instruction decoder overrides the predicted target."
548},
549{
550	"mnemonic": "Core::X86::Pmc::Core::BpL1TlbFetchHit",
551	"name": "BpL1TlbFetchHit",
552	"code": "0x094",
553	"summary": "L1 TLB Hits for Instruction Fetch",
554	"description": "The number of instruction fetches that hit in the L1 ITLB.",
555	"units": [ {
556		"name": "IF1G",
557		"bit": 2,
558		"rw": "Read-write",
559		"description": "L1 Instruction TLB hit (1G page size)."
560	}, {
561		"name": "IF2M",
562		"bit": 1,
563		"rw": "Read-write",
564		"description": "L1 Instruction TLB hit (2M page size)."
565	}, {
566		"name": "IF4K",
567		"bit": 0,
568		"rw": "Read-write",
569		"description": "L1 Instruction TLB hit (4K or 16K page size)."
570	} ]
571},
572{
573	"mnemonic": "Core::X86::Pmc::Core::IcTagHitMiss",
574	"name": "IcTagHitMiss",
575	"code": "0x18E",
576	"summary": "IC Tag Hit/Miss Events",
577	"description": "Counts various IC tag related hit and miss events.",
578	"unit_mode": "value",
579	"units": [ {
580		"name": "IcAccessTypes",
581		"bit-range": "4:0",
582		"rw": "Read-write",
583		"description": "Instruction Cache accesses.",
584		"values": [
585			{ "value": "0x07", "description": "Instruction Cache Hit." },
586			{ "value": "0x18", "description": "Instruction Cache Miss." },
587			{ "value": "0x1f", "description": "All Instruction Cache Accesses." }
588		]
589	} ]
590},
591{
592	"mnemonic": "Core::X86::Pmc::Core::OpCacheHitMiss",
593	"name": "OpCacheHitMiss",
594	"code": "0x28F",
595	"summary": "Op Cache Hit/Miss",
596	"description": "Counts Op Cache micro-tag hit/miss events.",
597	"unit_mode": "value",
598	"units": [ {
599		"name": "OpCacheAccesses",
600		"bit-range": "2:0",
601		"rw": "Read-write",
602		"values": [
603			{ "value": "0x03", "description": "Op Cache Hit." },
604			{ "value": "0x04", "description": "Op Cache Miss." },
605			{ "value": "0x07", "description": "All Op Cache accesses." }
606		]
607	} ]
608},
609{
610	"mnemonic": "Core::X86::Pmc::Core::DeSrcOpDisp",
611	"name": "DeSrcOpDisp",
612	"code": "0x0AA",
613	"summary": "Source of Op Dispatched From Decoder",
614	"description": "Counts the number of ops dispatched from the decoder classified by op source. See docRevG erratum #1287.",
615	"units": [ {
616		"name": "OpCache",
617		"bit": 1,
618		"rw": "Read-write",
619		"description": "Count of ops fetched from Op Cache and dispatched."
620	}, {
621		"name": "x86Decoder",
622		"bit": 0,
623		"rw": "Read-write",
624		"description": "Count of ops fetched from Instruction Cache and dispatched."
625	} ]
626},
627{
628	"mnemonic": "Core::X86::Pmc::Core::DeDisCopsFromDecoder",
629	"name": "DeDisCopsFromDecoder",
630	"code": "0x0AB",
631	"summary": "Types of Oops Dispatched From Decoder",
632	"description": "Counts the number of ops dispatched from the decoder classified by op type. The UnitMask value encodes which types of ops are counted.",
633	"unit_mode": "or-value",
634	"units": [ {
635		"name": "OpCountingMode",
636		"bit": 7,
637		"rw": "Read-write",
638		"description": "0= count aligns with IBS count; 1= count aligns with retire count (PMCx0C1)."
639	}, {
640		"name": "DispOpType",
641		"bit-range": "4:0",
642		"rw": "Read-write",
643		"values": [
644			{ "value": "0x04", "description": "FP Dispatch." },
645			{ "value": "0x08", "description": "Integer Dispatch." }
646		]
647	} ]
648},
649{
650	"mnemonic": "Core::X86::Pmc::Core::DeDisDispatchTokenStalls1",
651	"name": "DeDisDispatchTokenStalls1",
652	"code": "0x0AE",
653	"summary": "Dispatch Resource Stall Cycles 1",
654	"description": "Cycles where a dispatch group is valid but does not get dispatched due to a Token Stall. Also counts cycles when the thread is not selected to dispatch but would have been stalled due to a Token Stall.",
655	"units": [ {
656		"name": "FpFlushRecoveryStall",
657		"bit": 7,
658		"rw": "Read-write",
659		"description": "FP Flush recovery stall."
660	}, {
661		"name": "FPSchRsrcStall",
662		"bit": 6,
663		"rw": "Read-write",
664		"description": "FP scheduler resource stall.  Applies to ops that use the FP scheduler."
665	}, {
666		"name": "FpRegFileRsrcStall",
667		"bit": 5,
668		"rw": "Read-write",
669		"description": "floating point register file resource stall.  Applies to all FP ops that have a destination register."
670	}, {
671		"name": "TakenBrnchBufferRsrc",
672		"bit": 4,
673		"rw": "Read-write",
674		"description": "taken branch buffer resource stall. "
675	}, {
676		"name": "StoreQueueRsrcStall",
677		"bit": 2,
678		"rw": "Read-write",
679		"description": "Store Queue resource stall.  Applies to all ops with store semantics."
680	}, {
681		"name": "LoadQueueRsrcStall",
682		"bit": 1,
683		"rw": "Read-write",
684		"description": "Load Queue resource stall.  Applies to all ops with load semantics."
685	}, {
686		"name": "IntPhyRegFileRsrcStall",
687		"bit": 0,
688		"rw": "Read-write",
689		"description": "Integer Physical Register File resource stall.  Integer Physical Register File, applies to all ops that have an integer destination register."
690	} ]
691},
692{
693	"mnemonic": "Core::X86::Pmc::Core::DeDisDispatchTokenStalls2",
694	"name": "DeDisDispatchTokenStalls2",
695	"code": "0x0AF",
696	"summary": "Dynamic Tokens Dispatch Stall Cycles 2",
697	"description": "Cycles where a dispatch group is valid but does not get dispatched due to a token stall.",
698	"units": [ {
699		"name": "RetireTokenStall",
700		"bit": 5,
701		"rw": "Read-write",
702		"description": "Insufficient Retire Queue tokens available."
703	}, {
704		"name": "IntSch3TokenStall",
705		"bit": 3,
706		"rw": "Read-write",
707		"description": "No tokens for Integer Scheduler Queue 3 available."
708	}, {
709		"name": "IntSch2TokenStall",
710		"bit": 2,
711		"rw": "Read-write",
712		"description": "No tokens for Integer Scheduler Queue 2 available."
713	}, {
714		"name": "IntSch1TokenStall",
715		"bit": 1,
716		"rw": "Read-write",
717		"description": "No tokens for Integer Scheduler Queue 1 available."
718	}, {
719		"name": "IntSch0TokenStall",
720		"bit": 0,
721		"rw": "Read-write",
722		"description": "No tokens for Integer Scheduler Queue 0 available."
723	} ]
724},
725{
726	"mnemonic": "Core::X86::Pmc::Core::ExRetInstr",
727	"name": "ExRetInstr",
728	"code": "0x0C0",
729	"summary": "Retired Instructions",
730	"description": "The number of instructions retired."
731},
732{
733	"mnemonic": "Core::X86::Pmc::Core::ExRetOps",
734	"name": "ExRetOps",
735	"code": "0x0C1",
736	"summary": "Retired Ops",
737	"description": "The number of macro-ops retired."
738},
739{
740	"mnemonic": "Core::X86::Pmc::Core::ExRetBrn",
741	"name": "ExRetBrn",
742	"code": "0x0C2",
743	"summary": "Retired Branch Instructions",
744	"description": "The number of branch instructions retired. This includes all types of architectural control flow changes, including exceptions and interrupts."
745},
746{
747	"mnemonic": "Core::X86::Pmc::Core::ExRetBrnMisp",
748	"name": "ExRetBrnMisp",
749	"code": "0x0C3",
750	"summary": "Retired Branch Instructions Mispredicted",
751	"description": "The number of retired branch instructions, that were mispredicted."
752},
753{
754	"mnemonic": "Core::X86::Pmc::Core::ExRetBrnTkn",
755	"name": "ExRetBrnTkn",
756	"code": "0x0C4",
757	"summary": "Retired Taken Branch Instructions",
758	"description": "The number of taken branches that were retired.  This includes all types of architectural control flow changes, including exceptions and interrupts."
759},
760{
761	"mnemonic": "Core::X86::Pmc::Core::ExRetBrnTknMisp",
762	"name": "ExRetBrnTknMisp",
763	"code": "0x0C5",
764	"summary": "Retired Taken Branch Instructions Mispredicted",
765	"description": "The number of retired taken branch instructions that were mispredicted."
766},
767{
768	"mnemonic": "Core::X86::Pmc::Core::ExRetBrnFar",
769	"name": "ExRetBrnFar",
770	"code": "0x0C6",
771	"summary": "Retired Far Control Transfers",
772	"description": "The number of far control transfers retired including far call/jump/return, IRET, SYSCALL and SYSRET, plus exceptions and interrupts. Far control transfers are not subject to branch prediction."
773},
774{
775	"mnemonic": "Core::X86::Pmc::Core::ExRetNearRet",
776	"name": "ExRetNearRet",
777	"code": "0x0C8",
778	"summary": "Retired Near Returns",
779	"description": "The number of near return instructions (RET or RET Iw) retired."
780},
781{
782	"mnemonic": "Core::X86::Pmc::Core::ExRetNearRetMispred",
783	"name": "ExRetNearRetMispred",
784	"code": "0x0C9",
785	"summary": "Retired Near Returns Mispredicted",
786	"description": "The number of near returns retired that were not correctly predicted by the return address predictor. Each such mispredictincurs the same penalty as a mispredicted conditional branch instruction."
787},
788{
789	"mnemonic": "Core::X86::Pmc::Core::ExRetBrnIndMisp",
790	"name": "ExRetBrnIndMisp",
791	"code": "0x0CA",
792	"summary": "Retired Indirect Branch Instructions Mispredicted",
793	"description": "The number of indirect branches retired that were not correctly predicted. Each such mispredict incurs the same penalty as a mispredicted conditional branch instruction. Note that only EX mispredicts are counted."
794},
795{
796	"mnemonic": "Core::X86::Pmc::Core::ExRetMmxFpInstr",
797	"name": "ExRetMmxFpInstr",
798	"code": "0x0CB",
799	"summary": "Retired MMX/FP Instructions",
800	"description": "The number of MMX, SSE or x87 instructions retired. The UnitMask allows the selection of the individual classes of instructions as given in the table. Each increment represents one complete instruction. Since this event includes non-numeric instructions it is not suitable for measuring MFLOPs.",
801	"units": [ {
802		"name": "SseInstr",
803		"bit": 2,
804		"rw": "Read-write",
805		"description": "SSE instructions (SSE, SSE2, SSE3, SSSE3, SSE4A, SSE41, SSE42, AVX)."
806	}, {
807		"name": "MmxInstr",
808		"bit": 1,
809		"rw": "Read-write",
810		"description": "MMX instructions."
811	}, {
812		"name": "X87Instr",
813		"bit": 0,
814		"rw": "Read-write",
815		"description": "x87 instructions. "
816	} ]
817},
818{
819	"mnemonic": "Core::X86::Pmc::Core::ExRetIndBrchInstr",
820	"name": "ExRetIndBrchInstr",
821	"code": "0x0CC",
822	"summary": "Retired Indirect Branch Instructions",
823	"description": "The number of indirect branches retired."
824},
825{
826	"mnemonic": "Core::X86::Pmc::Core::ExRetCond",
827	"name": "ExRetCond",
828	"code": "0x0D1",
829	"summary": "Retired Conditional Branch Instructions"
830},
831{
832	"mnemonic": "Core::X86::Pmc::Core::ExDivBusy",
833	"name": "ExDivBusy",
834	"code": "0x0D3",
835	"summary": "Div Cycles Busy count"
836},
837{
838	"mnemonic": "Core::X86::Pmc::Core::ExDivCount",
839	"name": "ExDivCount",
840	"code": "0x0D4",
841	"summary": "Div Op Count"
842},
843{
844	"mnemonic": "Core::X86::Pmc::Core::ExRetMsprdBrnchInstrDirMsmtch",
845	"name": "ExRetMsprdBrnchInstrDirMsmtch",
846	"code": "0x1C7",
847	"summary": "Retired Mispredicted Branch Instructions due to Direction Mismatch",
848	"description": "The number of retired conditional branch instructions that were not correctly predicted because of a branch direction mismatch."
849},
850{
851	"mnemonic": "Core::X86::Pmc::Core::ExTaggedIbsOps",
852	"name": "ExTaggedIbsOps",
853	"code": "0x1CF",
854	"summary": "Tagged IBS Ops",
855	"description": "Counts Op IBS related events.",
856	"units": [ {
857		"name": "IbsCountRollover",
858		"bit": 2,
859		"rw": "Read-write",
860		"description": "Number of times an op could not be tagged by IBS because of a previous tagged op that has not retired."
861	}, {
862		"name": "IbsTaggedOpsRet",
863		"bit": 1,
864		"rw": "Read-write",
865		"description": "Number of Ops tagged by IBS that retired."
866	}, {
867		"name": "IbsTaggedOps",
868		"bit": 0,
869		"rw": "Read-write",
870		"description": "Number of Ops tagged by IBS. "
871	} ]
872},
873{
874	"mnemonic": "Core::X86::Pmc::Core::ExRetFusedInstr",
875	"name": "ExRetFusedInstr",
876	"code": "0x1D0",
877	"summary": "Retired Fused Instructions",
878	"description": "Counts retired fused instructions."
879},
880{
881	"mnemonic": "Core::X86::Pmc::Core::L2RequestG1",
882	"name": "L2RequestG1",
883	"code": "0x060",
884	"summary": "Requests to L2 Group1",
885	"description": "All L2 Cache Requests",
886	"units": [ {
887		"name": "RdBlkL",
888		"bit": 7,
889		"rw": "Read-write",
890		"description": "Data Cache Reads (including hardware and software prefetch)."
891	}, {
892		"name": "RdBlkX",
893		"bit": 6,
894		"rw": "Read-write",
895		"description": "Data Cache Stores."
896	}, {
897		"name": "LsRdBlkC_S",
898		"bit": 5,
899		"rw": "Read-write",
900		"description": "Data Cache Shared Reads."
901	}, {
902		"name": "CacheableIcRead",
903		"bit": 4,
904		"rw": "Read-write",
905		"description": "Instruction Cache Reads."
906	}, {
907		"name": "ChangeToX",
908		"bit": 3,
909		"rw": "Read-write",
910		"description": "Data Cache State Change Requests.  Request change to writable, check L2 for current state."
911	}, {
912		"name": "PrefetchL2Cmd",
913		"bit": 2,
914		"rw": "Read-write",
915		"description": ""
916	}, {
917		"name": "L2HwPf",
918		"bit": 1,
919		"rw": "Read-write",
920		"description": "L2 Prefetcher.  All prefetches accepted by L2 pipeline, hit or miss. Types of PF and L2 hit/miss broken out in a separate perfmon event."
921	} ]
922},
923{
924	"mnemonic": "Core::X86::Pmc::Core::L2CacheReqStat",
925	"name": "L2CacheReqStat",
926	"code": "0x064",
927	"summary": "Core to L2 Cacheable Request Access Status",
928	"description": "L2 Cache Request Outcomes (not including L2 Prefetch).",
929	"units": [ {
930		"name": "LsRdBlkCS",
931		"bit": 7,
932		"rw": "Read-write",
933		"description": "Data Cache Shared Read Hit in L2."
934	}, {
935		"name": "LsRdBlkLHitX",
936		"bit": 6,
937		"rw": "Read-write",
938		"description": "Data Cache Read Hit in L2."
939	}, {
940		"name": "LsRdBlkLHitS",
941		"bit": 5,
942		"rw": "Read-write",
943		"description": "Data Cache Read Hit Non-Modifiable Line in L2."
944	}, {
945		"name": "LsRdBlkX",
946		"bit": 4,
947		"rw": "Read-write",
948		"description": "Data Cache Store or State Change Hit in L2."
949	}, {
950		"name": "LsRdBlkC",
951		"bit": 3,
952		"rw": "Read-write",
953		"description": "Data Cache Req Miss in L2 (all types)."
954	}, {
955		"name": "IcFillHitX",
956		"bit": 2,
957		"rw": "Read-write",
958		"description": "Instruction Cache Hit Modifiable Line in L2."
959	}, {
960		"name": "IcFillHitS",
961		"bit": 1,
962		"rw": "Read-write",
963		"description": "Instruction Cache Hit Non-Modifiable Line in L2."
964	}, {
965		"name": "IcFillMiss",
966		"bit": 0,
967		"rw": "Read-write",
968		"description": "Instruction Cache Req Miss in L2."
969	} ]
970},
971{
972	"mnemonic": "Core::X86::Pmc::Core::L2PfHitL2",
973	"name": "L2PfHitL2",
974	"code": "0x070",
975	"summary": "L2 Prefetch Hit in L2"
976},
977{
978	"mnemonic": "Core::X86::Pmc::Core::L2PfMissL2HitL3",
979	"name": "L2PfMissL2HitL3",
980	"code": "0x071",
981	"summary": "L2 Prefetcher Hits in L3",
982	"description": "Counts all L2 prefetches accepted by the L2 pipeline which miss the L2 cache and hit the L3."
983},
984{
985	"mnemonic": "Core::X86::Pmc::Core::L2PfMissL2L3",
986	"name": "L2PfMissL2L3",
987	"code": "0x072",
988	"summary": "L2 Prefetcher Misses in L3",
989	"description": "Counts all L2 prefetches accepted by the L2 pipeline which miss the L2 and the L3 caches."
990}
991]
992