Machine Instructions Retired Counter
Counts the number of instructions retired by this hart from some arbitrary start point in the past.
Note: Instructions that cause synchronous exceptions, including `ecall` and `ebreak`, are not considered to retire and hence do not increment the `minstret` CSR.
| 63:56 | 55:48 | 47:40 | 39:32 | 31:24 | 23:16 | 15:8 | 7:0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COUNT | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Bits | Field | Alias | Description | Type | Reset |
|---|---|---|---|---|---|
| [63:0] | COUNT | Instructions retired counter. Aliased as `instret.COUNT`. Increments every time an instruction retires unless: * `mcountinhibit.IR` or its alias `scountinhibit.IR` is set * `minstretcfg.MINH` is set and the current privilege level is M * `minstretcfg.SINH` or its alias `instretcfg.SINH` is set and the current privilege level is (H)S * `minstretcfg.UINH` or its alias `instretcfg.UINH` is set and the current privilege level is U * `minstretcfg.VSINH` or its alias `instretcfg.VSINH` is set and the current privilege level is VS * `minstretcfg.VUINH` or its alias `instretcfg.VUINH` is set and the current privilege level is VU An instruction that causes an exception, notably including MRET/SRET, does not retire and does not cause `minstret.COUNT` to increment. | RW-H | UNDEFINED_LEGAL |
Version af3eaf9+cheriot.f635218
Data from the RISC-V Unified Database, copyright RISC-V International and contributors.
CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.
This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.