minstreth
Machine Instructions Retired Counter
Upper half of 64-bit instructions retired counters.
See minstret for details.
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:
COUNT = CSR[mcycle].COUNT = {csr_value.COUNT[31:0], CSR[minstret].COUNT[31:0]}; return csr_value.COUNT;