162306a36Sopenharmony_ci[
262306a36Sopenharmony_ci    {
362306a36Sopenharmony_ci        "BriefDescription": "Counts the total number when the front end is resteered, mainly when the BPU cannot provide a correct prediction and this is corrected by other branch handling mechanisms at the front end.",
462306a36Sopenharmony_ci        "EventCode": "0xE6",
562306a36Sopenharmony_ci        "EventName": "BACLEARS.ANY",
662306a36Sopenharmony_ci        "PublicDescription": "Number of front end re-steers due to BPU misprediction.",
762306a36Sopenharmony_ci        "SampleAfterValue": "100003",
862306a36Sopenharmony_ci        "UMask": "0x1f"
962306a36Sopenharmony_ci    },
1062306a36Sopenharmony_ci    {
1162306a36Sopenharmony_ci        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switches",
1262306a36Sopenharmony_ci        "EventCode": "0xAB",
1362306a36Sopenharmony_ci        "EventName": "DSB2MITE_SWITCHES.COUNT",
1462306a36Sopenharmony_ci        "PublicDescription": "Number of DSB to MITE switches.",
1562306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
1662306a36Sopenharmony_ci        "UMask": "0x1"
1762306a36Sopenharmony_ci    },
1862306a36Sopenharmony_ci    {
1962306a36Sopenharmony_ci        "BriefDescription": "Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles",
2062306a36Sopenharmony_ci        "EventCode": "0xAB",
2162306a36Sopenharmony_ci        "EventName": "DSB2MITE_SWITCHES.PENALTY_CYCLES",
2262306a36Sopenharmony_ci        "PublicDescription": "Cycles DSB to MITE switches caused delay.",
2362306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
2462306a36Sopenharmony_ci        "UMask": "0x2"
2562306a36Sopenharmony_ci    },
2662306a36Sopenharmony_ci    {
2762306a36Sopenharmony_ci        "BriefDescription": "Cycles when Decode Stream Buffer (DSB) fill encounter more than 3 Decode Stream Buffer (DSB) lines",
2862306a36Sopenharmony_ci        "EventCode": "0xAC",
2962306a36Sopenharmony_ci        "EventName": "DSB_FILL.EXCEED_DSB_LINES",
3062306a36Sopenharmony_ci        "PublicDescription": "DSB Fill encountered > 3 DSB lines.",
3162306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
3262306a36Sopenharmony_ci        "UMask": "0x8"
3362306a36Sopenharmony_ci    },
3462306a36Sopenharmony_ci    {
3562306a36Sopenharmony_ci        "BriefDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches",
3662306a36Sopenharmony_ci        "EventCode": "0x80",
3762306a36Sopenharmony_ci        "EventName": "ICACHE.HIT",
3862306a36Sopenharmony_ci        "PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and noncacheable, including UC fetches.",
3962306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
4062306a36Sopenharmony_ci        "UMask": "0x1"
4162306a36Sopenharmony_ci    },
4262306a36Sopenharmony_ci    {
4362306a36Sopenharmony_ci        "BriefDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss",
4462306a36Sopenharmony_ci        "EventCode": "0x80",
4562306a36Sopenharmony_ci        "EventName": "ICACHE.IFETCH_STALL",
4662306a36Sopenharmony_ci        "PublicDescription": "Cycles where a code-fetch stalled due to L1 instruction-cache miss or an iTLB miss.",
4762306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
4862306a36Sopenharmony_ci        "UMask": "0x4"
4962306a36Sopenharmony_ci    },
5062306a36Sopenharmony_ci    {
5162306a36Sopenharmony_ci        "BriefDescription": "Instruction cache, streaming buffer and victim cache misses",
5262306a36Sopenharmony_ci        "EventCode": "0x80",
5362306a36Sopenharmony_ci        "EventName": "ICACHE.MISSES",
5462306a36Sopenharmony_ci        "PublicDescription": "Number of Instruction Cache, Streaming Buffer and Victim Cache Misses. Includes UC accesses.",
5562306a36Sopenharmony_ci        "SampleAfterValue": "200003",
5662306a36Sopenharmony_ci        "UMask": "0x2"
5762306a36Sopenharmony_ci    },
5862306a36Sopenharmony_ci    {
5962306a36Sopenharmony_ci        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering 4 Uops",
6062306a36Sopenharmony_ci        "CounterMask": "4",
6162306a36Sopenharmony_ci        "EventCode": "0x79",
6262306a36Sopenharmony_ci        "EventName": "IDQ.ALL_DSB_CYCLES_4_UOPS",
6362306a36Sopenharmony_ci        "PublicDescription": "Counts cycles DSB is delivered four uops. Set Cmask = 4.",
6462306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
6562306a36Sopenharmony_ci        "UMask": "0x18"
6662306a36Sopenharmony_ci    },
6762306a36Sopenharmony_ci    {
6862306a36Sopenharmony_ci        "BriefDescription": "Cycles Decode Stream Buffer (DSB) is delivering any Uop",
6962306a36Sopenharmony_ci        "CounterMask": "1",
7062306a36Sopenharmony_ci        "EventCode": "0x79",
7162306a36Sopenharmony_ci        "EventName": "IDQ.ALL_DSB_CYCLES_ANY_UOPS",
7262306a36Sopenharmony_ci        "PublicDescription": "Counts cycles DSB is delivered at least one uops. Set Cmask = 1.",
7362306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
7462306a36Sopenharmony_ci        "UMask": "0x18"
7562306a36Sopenharmony_ci    },
7662306a36Sopenharmony_ci    {
7762306a36Sopenharmony_ci        "BriefDescription": "Cycles MITE is delivering 4 Uops",
7862306a36Sopenharmony_ci        "CounterMask": "4",
7962306a36Sopenharmony_ci        "EventCode": "0x79",
8062306a36Sopenharmony_ci        "EventName": "IDQ.ALL_MITE_CYCLES_4_UOPS",
8162306a36Sopenharmony_ci        "PublicDescription": "Counts cycles MITE is delivered four uops. Set Cmask = 4.",
8262306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
8362306a36Sopenharmony_ci        "UMask": "0x24"
8462306a36Sopenharmony_ci    },
8562306a36Sopenharmony_ci    {
8662306a36Sopenharmony_ci        "BriefDescription": "Cycles MITE is delivering any Uop",
8762306a36Sopenharmony_ci        "CounterMask": "1",
8862306a36Sopenharmony_ci        "EventCode": "0x79",
8962306a36Sopenharmony_ci        "EventName": "IDQ.ALL_MITE_CYCLES_ANY_UOPS",
9062306a36Sopenharmony_ci        "PublicDescription": "Counts cycles MITE is delivered at least one uops. Set Cmask = 1.",
9162306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
9262306a36Sopenharmony_ci        "UMask": "0x24"
9362306a36Sopenharmony_ci    },
9462306a36Sopenharmony_ci    {
9562306a36Sopenharmony_ci        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path",
9662306a36Sopenharmony_ci        "CounterMask": "1",
9762306a36Sopenharmony_ci        "EventCode": "0x79",
9862306a36Sopenharmony_ci        "EventName": "IDQ.DSB_CYCLES",
9962306a36Sopenharmony_ci        "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from Decode Stream Buffer (DSB) path.",
10062306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
10162306a36Sopenharmony_ci        "UMask": "0x8"
10262306a36Sopenharmony_ci    },
10362306a36Sopenharmony_ci    {
10462306a36Sopenharmony_ci        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from the Decode Stream Buffer (DSB) path",
10562306a36Sopenharmony_ci        "EventCode": "0x79",
10662306a36Sopenharmony_ci        "EventName": "IDQ.DSB_UOPS",
10762306a36Sopenharmony_ci        "PublicDescription": "Increment each cycle. # of uops delivered to IDQ from DSB path. Set Cmask = 1 to count cycles.",
10862306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
10962306a36Sopenharmony_ci        "UMask": "0x8"
11062306a36Sopenharmony_ci    },
11162306a36Sopenharmony_ci    {
11262306a36Sopenharmony_ci        "BriefDescription": "Instruction Decode Queue (IDQ) empty cycles",
11362306a36Sopenharmony_ci        "EventCode": "0x79",
11462306a36Sopenharmony_ci        "EventName": "IDQ.EMPTY",
11562306a36Sopenharmony_ci        "PublicDescription": "Counts cycles the IDQ is empty.",
11662306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
11762306a36Sopenharmony_ci        "UMask": "0x2"
11862306a36Sopenharmony_ci    },
11962306a36Sopenharmony_ci    {
12062306a36Sopenharmony_ci        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
12162306a36Sopenharmony_ci        "EventCode": "0x79",
12262306a36Sopenharmony_ci        "EventName": "IDQ.MITE_ALL_UOPS",
12362306a36Sopenharmony_ci        "PublicDescription": "Number of uops delivered to IDQ from any path.",
12462306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
12562306a36Sopenharmony_ci        "UMask": "0x3c"
12662306a36Sopenharmony_ci    },
12762306a36Sopenharmony_ci    {
12862306a36Sopenharmony_ci        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path",
12962306a36Sopenharmony_ci        "CounterMask": "1",
13062306a36Sopenharmony_ci        "EventCode": "0x79",
13162306a36Sopenharmony_ci        "EventName": "IDQ.MITE_CYCLES",
13262306a36Sopenharmony_ci        "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) from MITE path.",
13362306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
13462306a36Sopenharmony_ci        "UMask": "0x4"
13562306a36Sopenharmony_ci    },
13662306a36Sopenharmony_ci    {
13762306a36Sopenharmony_ci        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) from MITE path",
13862306a36Sopenharmony_ci        "EventCode": "0x79",
13962306a36Sopenharmony_ci        "EventName": "IDQ.MITE_UOPS",
14062306a36Sopenharmony_ci        "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MITE path. Set Cmask = 1 to count cycles.",
14162306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
14262306a36Sopenharmony_ci        "UMask": "0x4"
14362306a36Sopenharmony_ci    },
14462306a36Sopenharmony_ci    {
14562306a36Sopenharmony_ci        "BriefDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
14662306a36Sopenharmony_ci        "CounterMask": "1",
14762306a36Sopenharmony_ci        "EventCode": "0x79",
14862306a36Sopenharmony_ci        "EventName": "IDQ.MS_CYCLES",
14962306a36Sopenharmony_ci        "PublicDescription": "Cycles when uops are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
15062306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
15162306a36Sopenharmony_ci        "UMask": "0x30"
15262306a36Sopenharmony_ci    },
15362306a36Sopenharmony_ci    {
15462306a36Sopenharmony_ci        "BriefDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
15562306a36Sopenharmony_ci        "CounterMask": "1",
15662306a36Sopenharmony_ci        "EventCode": "0x79",
15762306a36Sopenharmony_ci        "EventName": "IDQ.MS_DSB_CYCLES",
15862306a36Sopenharmony_ci        "PublicDescription": "Cycles when uops initiated by Decode Stream Buffer (DSB) are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy.",
15962306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
16062306a36Sopenharmony_ci        "UMask": "0x10"
16162306a36Sopenharmony_ci    },
16262306a36Sopenharmony_ci    {
16362306a36Sopenharmony_ci        "BriefDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy",
16462306a36Sopenharmony_ci        "CounterMask": "1",
16562306a36Sopenharmony_ci        "EdgeDetect": "1",
16662306a36Sopenharmony_ci        "EventCode": "0x79",
16762306a36Sopenharmony_ci        "EventName": "IDQ.MS_DSB_OCCUR",
16862306a36Sopenharmony_ci        "PublicDescription": "Deliveries to Instruction Decode Queue (IDQ) initiated by Decode Stream Buffer (DSB) while Microcode Sequenser (MS) is busy.",
16962306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
17062306a36Sopenharmony_ci        "UMask": "0x10"
17162306a36Sopenharmony_ci    },
17262306a36Sopenharmony_ci    {
17362306a36Sopenharmony_ci        "BriefDescription": "Uops initiated by Decode Stream Buffer (DSB) that are being delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
17462306a36Sopenharmony_ci        "EventCode": "0x79",
17562306a36Sopenharmony_ci        "EventName": "IDQ.MS_DSB_UOPS",
17662306a36Sopenharmony_ci        "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by DSB. Set Cmask = 1 to count cycles. Add Edge=1 to count # of delivery.",
17762306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
17862306a36Sopenharmony_ci        "UMask": "0x10"
17962306a36Sopenharmony_ci    },
18062306a36Sopenharmony_ci    {
18162306a36Sopenharmony_ci        "BriefDescription": "Uops initiated by MITE and delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
18262306a36Sopenharmony_ci        "EventCode": "0x79",
18362306a36Sopenharmony_ci        "EventName": "IDQ.MS_MITE_UOPS",
18462306a36Sopenharmony_ci        "PublicDescription": "Increment each cycle # of uops delivered to IDQ when MS_busy by MITE. Set Cmask = 1 to count cycles.",
18562306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
18662306a36Sopenharmony_ci        "UMask": "0x20"
18762306a36Sopenharmony_ci    },
18862306a36Sopenharmony_ci    {
18962306a36Sopenharmony_ci        "BriefDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer",
19062306a36Sopenharmony_ci        "CounterMask": "1",
19162306a36Sopenharmony_ci        "EdgeDetect": "1",
19262306a36Sopenharmony_ci        "EventCode": "0x79",
19362306a36Sopenharmony_ci        "EventName": "IDQ.MS_SWITCHES",
19462306a36Sopenharmony_ci        "PublicDescription": "Number of switches from DSB (Decode Stream Buffer) or MITE (legacy decode pipeline) to the Microcode Sequencer.",
19562306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
19662306a36Sopenharmony_ci        "UMask": "0x30"
19762306a36Sopenharmony_ci    },
19862306a36Sopenharmony_ci    {
19962306a36Sopenharmony_ci        "BriefDescription": "Uops delivered to Instruction Decode Queue (IDQ) while Microcode Sequenser (MS) is busy",
20062306a36Sopenharmony_ci        "EventCode": "0x79",
20162306a36Sopenharmony_ci        "EventName": "IDQ.MS_UOPS",
20262306a36Sopenharmony_ci        "PublicDescription": "Increment each cycle # of uops delivered to IDQ from MS by either DSB or MITE. Set Cmask = 1 to count cycles.",
20362306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
20462306a36Sopenharmony_ci        "UMask": "0x30"
20562306a36Sopenharmony_ci    },
20662306a36Sopenharmony_ci    {
20762306a36Sopenharmony_ci        "BriefDescription": "Uops not delivered to Resource Allocation Table (RAT) per thread when backend of the machine is not stalled",
20862306a36Sopenharmony_ci        "EventCode": "0x9C",
20962306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CORE",
21062306a36Sopenharmony_ci        "PublicDescription": "Count issue pipeline slots where no uop was delivered from the front end to the back end when there is no back-end stall.",
21162306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
21262306a36Sopenharmony_ci        "UMask": "0x1"
21362306a36Sopenharmony_ci    },
21462306a36Sopenharmony_ci    {
21562306a36Sopenharmony_ci        "BriefDescription": "Cycles per thread when 4 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.",
21662306a36Sopenharmony_ci        "CounterMask": "4",
21762306a36Sopenharmony_ci        "EventCode": "0x9C",
21862306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_0_UOPS_DELIV.CORE",
21962306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
22062306a36Sopenharmony_ci        "UMask": "0x1"
22162306a36Sopenharmony_ci    },
22262306a36Sopenharmony_ci    {
22362306a36Sopenharmony_ci        "BriefDescription": "Counts cycles FE delivered 4 uops or Resource Allocation Table (RAT) was stalling FE.",
22462306a36Sopenharmony_ci        "CounterMask": "1",
22562306a36Sopenharmony_ci        "EventCode": "0x9C",
22662306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_FE_WAS_OK",
22762306a36Sopenharmony_ci        "Invert": "1",
22862306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
22962306a36Sopenharmony_ci        "UMask": "0x1"
23062306a36Sopenharmony_ci    },
23162306a36Sopenharmony_ci    {
23262306a36Sopenharmony_ci        "BriefDescription": "Cycles per thread when 3 or more uops are not delivered to Resource Allocation Table (RAT) when backend of the machine is not stalled.",
23362306a36Sopenharmony_ci        "CounterMask": "3",
23462306a36Sopenharmony_ci        "EventCode": "0x9C",
23562306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_1_UOP_DELIV.CORE",
23662306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
23762306a36Sopenharmony_ci        "UMask": "0x1"
23862306a36Sopenharmony_ci    },
23962306a36Sopenharmony_ci    {
24062306a36Sopenharmony_ci        "BriefDescription": "Cycles with less than 2 uops delivered by the front end.",
24162306a36Sopenharmony_ci        "CounterMask": "2",
24262306a36Sopenharmony_ci        "EventCode": "0x9C",
24362306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_2_UOP_DELIV.CORE",
24462306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
24562306a36Sopenharmony_ci        "UMask": "0x1"
24662306a36Sopenharmony_ci    },
24762306a36Sopenharmony_ci    {
24862306a36Sopenharmony_ci        "BriefDescription": "Cycles with less than 3 uops delivered by the front end.",
24962306a36Sopenharmony_ci        "CounterMask": "1",
25062306a36Sopenharmony_ci        "EventCode": "0x9C",
25162306a36Sopenharmony_ci        "EventName": "IDQ_UOPS_NOT_DELIVERED.CYCLES_LE_3_UOP_DELIV.CORE",
25262306a36Sopenharmony_ci        "SampleAfterValue": "2000003",
25362306a36Sopenharmony_ci        "UMask": "0x1"
25462306a36Sopenharmony_ci    }
25562306a36Sopenharmony_ci]
256