xref: /freebsd/lib/libpmc/pmu-events/arch/x86/goldmont/frontend.json (revision 8ddb146abcdf061be9f2c0db7e391697dafad85c)
1[
2    {
3        "BriefDescription": "BACLEARs asserted for any branch type",
4        "CollectPEBSRecord": "1",
5        "Counter": "0,1,2,3",
6        "EventCode": "0xE6",
7        "EventName": "BACLEARS.ALL",
8        "PublicDescription": "Counts the number of times a BACLEAR is signaled for any reason, including, but not limited to indirect branch/call,  Jcc (Jump on Conditional Code/Jump if Condition is Met) branch, unconditional branch/call, and returns.",
9        "SampleAfterValue": "200003",
10        "UMask": "0x1"
11    },
12    {
13        "BriefDescription": "BACLEARs asserted for conditional branch",
14        "CollectPEBSRecord": "1",
15        "Counter": "0,1,2,3",
16        "EventCode": "0xE6",
17        "EventName": "BACLEARS.COND",
18        "PublicDescription": "Counts BACLEARS on Jcc (Jump on Conditional Code/Jump if Condition is Met) branches.",
19        "SampleAfterValue": "200003",
20        "UMask": "0x10"
21    },
22    {
23        "BriefDescription": "BACLEARs asserted for return branch",
24        "CollectPEBSRecord": "1",
25        "Counter": "0,1,2,3",
26        "EventCode": "0xE6",
27        "EventName": "BACLEARS.RETURN",
28        "PublicDescription": "Counts BACLEARS on return instructions.",
29        "SampleAfterValue": "200003",
30        "UMask": "0x8"
31    },
32    {
33        "BriefDescription": "Decode restrictions due to predicting wrong instruction length",
34        "CollectPEBSRecord": "1",
35        "Counter": "0,1,2,3",
36        "EventCode": "0xE9",
37        "EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
38        "PublicDescription": "Counts the number of times the prediction (from the predecode cache) for instruction length is incorrect.",
39        "SampleAfterValue": "200003",
40        "UMask": "0x1"
41    },
42    {
43        "BriefDescription": "References per ICache line. This event counts differently than Intel processors based on Silvermont microarchitecture",
44        "CollectPEBSRecord": "1",
45        "Counter": "0,1,2,3",
46        "EventCode": "0x80",
47        "EventName": "ICACHE.ACCESSES",
48        "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line.  The event strives to count on a cache line basis, so that multiple fetches to a single cache line count as one ICACHE.ACCESS.  Specifically, the event counts when accesses from straight line code crosses the cache line boundary, or when a branch target is to a new line.\r\nThis event counts differently than Intel processors based on Silvermont microarchitecture.",
49        "SampleAfterValue": "200003",
50        "UMask": "0x3"
51    },
52    {
53        "BriefDescription": "References per ICache line that are available in the ICache (hit). This event counts differently than Intel processors based on Silvermont microarchitecture",
54        "CollectPEBSRecord": "1",
55        "Counter": "0,1,2,3",
56        "EventCode": "0x80",
57        "EventName": "ICACHE.HIT",
58        "PublicDescription": "Counts requests to the Instruction Cache (ICache) for one or more bytes in an ICache Line and that cache line is in the ICache (hit).  The event strives to count on a cache line basis, so that multiple accesses which hit in a single cache line count as one ICACHE.HIT.  Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
59        "SampleAfterValue": "200003",
60        "UMask": "0x1"
61    },
62    {
63        "BriefDescription": "References per ICache line that are not available in the ICache (miss). This event counts differently than Intel processors based on Silvermont microarchitecture",
64        "CollectPEBSRecord": "1",
65        "Counter": "0,1,2,3",
66        "EventCode": "0x80",
67        "EventName": "ICACHE.MISSES",
68        "PublicDescription": "Counts requests to the Instruction Cache (ICache)  for one or more bytes in an ICache Line and that cache line is not in the ICache (miss).  The event strives to count on a cache line basis, so that multiple accesses which miss in a single cache line count as one ICACHE.MISS.  Specifically, the event counts when straight line code crosses the cache line boundary, or when a branch target is to a new line, and that cache line is not in the ICache. This event counts differently than Intel processors based on Silvermont microarchitecture.",
69        "SampleAfterValue": "200003",
70        "UMask": "0x2"
71    },
72    {
73        "BriefDescription": "MS decode starts",
74        "CollectPEBSRecord": "1",
75        "Counter": "0,1,2,3",
76        "EventCode": "0xE7",
77        "EventName": "MS_DECODED.MS_ENTRY",
78        "PublicDescription": "Counts the number of times the Microcode Sequencer (MS) starts a flow of uops from the MSROM. It does not count every time a uop is read from the MSROM.  The most common case that this counts is when a micro-coded instruction is encountered by the front end of the machine.  Other cases include when an instruction encounters a fault, trap, or microcode assist of any sort that initiates a flow of uops.  The event will count MS startups for uops that are speculative, and subsequently cleared by branch mispredict or a machine clear.",
79        "SampleAfterValue": "200003",
80        "UMask": "0x1"
81    }
82]