minstret
Fields
COUNT
- Location
-
minstret[63:0]
- Description
-
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 aliasinstretcfg.SINH
is set and the current privilege level is (H)S -
minstretcfg.UINH
or its aliasinstretcfg.SINH
is set and the current privilege level is U -
minstretcfg.VSINH
or its aliasinstretcfg.SINH
is set and the current privilege level is VS -
minstretcfg.VUINH
or its aliasinstretcfg.SINH
is set and the current privilege level is VUAn instruction that causes an exception, notably including MRET/SRET, does not retire and does not cause minstret.COUNT to increment.
-
- Type
RW-H |
Read-Write with Hardware update Field is writable by software. Any value that fits in the field is acceptable. Hardware also updates the field without an explicit software write. |
- Reset value
-
UNDEFINED_LEGAL