xref: /freebsd/lib/libpmc/pmu-events/arch/x86/silvermont/frontend.json (revision a7623790fb345e6dc986dfd31df0ace115e6f2e4)
1[
2    {
3        "PublicDescription": "This event counts all instruction fetches, not including most uncacheable\r\nfetches.",
4        "EventCode": "0x80",
5        "Counter": "0,1",
6        "UMask": "0x3",
7        "EventName": "ICACHE.ACCESSES",
8        "SampleAfterValue": "200003",
9        "BriefDescription": "Instruction fetches"
10    },
11    {
12        "PublicDescription": "This event counts all instruction fetches from the instruction cache.",
13        "EventCode": "0x80",
14        "Counter": "0,1",
15        "UMask": "0x1",
16        "EventName": "ICACHE.HIT",
17        "SampleAfterValue": "200003",
18        "BriefDescription": "Instruction fetches from Icache"
19    },
20    {
21        "PublicDescription": "This event counts all instruction fetches that miss the Instruction cache or produce memory requests. This includes uncacheable fetches. An instruction fetch miss is counted only once and not once for every cycle it is outstanding.",
22        "EventCode": "0x80",
23        "Counter": "0,1",
24        "UMask": "0x2",
25        "EventName": "ICACHE.MISSES",
26        "SampleAfterValue": "200003",
27        "BriefDescription": "Icache miss"
28    },
29    {
30        "PublicDescription": "Counts the number of times the MSROM starts a flow of UOPS. It does not count every time a UOP is read from the microcode ROM.  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.  The event will count MSROM startups for UOPS that are speculative, and subsequently cleared by branch mispredict or machine clear.  Background: UOPS are produced by two mechanisms.  Either they are generated by hardware that decodes instructions into UOPS, or they are delivered by a ROM (called the MSROM) that holds UOPS associated with a specific instruction.  MSROM UOPS might also be delivered in response to some condition such as a fault or other exceptional condition.  This event is an excellent mechanism for detecting instructions that require the use of MSROM instructions.",
31        "EventCode": "0xE7",
32        "Counter": "0,1",
33        "UMask": "0x1",
34        "EventName": "MS_DECODED.MS_ENTRY",
35        "SampleAfterValue": "200003",
36        "BriefDescription": "Counts the number of times entered into a ucode flow in the FEC.  Includes inserted flows due to front-end detected faults or assists.  Speculative count."
37    },
38    {
39        "PublicDescription": "Counts the number of times a decode restriction reduced the decode throughput due to wrong instruction length prediction.",
40        "EventCode": "0xE9",
41        "Counter": "0,1",
42        "UMask": "0x1",
43        "EventName": "DECODE_RESTRICTION.PREDECODE_WRONG",
44        "SampleAfterValue": "200003",
45        "BriefDescription": "Counts the number of times a decode restriction reduced the decode throughput due to wrong instruction length prediction"
46    }
47]