mhpmevent27
Machine Hardware Performance Counter 27 Control
Programmable hardware performance counter event selector
Software write
This CSR may store a value that is different from what software attempts to write.
When a software write occurs (e.g., through csrrw), the following determines the written value:
OF = csr_value.OF MINH = csr_value.MINH SINH = csr_value.SINH UINH = csr_value.UINH VSINH = csr_value.VSINH VUINH = csr_value.VUINH EVENT = if (ary_includes?<$array_size(HPM_EVENTS), 58>(HPM_EVENTS, csr_value.EVENT)) { return csr_value.EVENT; } else { return UNDEFINED_LEGAL_DETERMINISTIC; }