On 1/3/22 10:53 AM, Daniel Henrique Barboza wrote:
+ /* Composite status for PMC[1-5] enabled and counting insns or cycles. */ + uint8_t pmc_ins_cnt; + uint8_t pmc_cyc_cnt;
I should have updated the comment to 1-6 when I added cyc_cnt.
+ sel = extract64(mmcr1, MMCR1_PMC4EVT_EXTR, MMCR1_EVT_SIZE); + ins_cnt |= ((sel == 0xfa) || (sel == 0x2)) << 4;
Ah, thanks for fixing my typo. r~