You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue: mstatus shares fields with other registers. See #1217.
Therefore simply caching mstatus on reads is not possible.
However, caching mstatus on reads allows to greatly reduce the number of register accesses in a typical Debug session.
The task is:
Measure the impact of caching mstatus on reads -- maybe it's actually not that crucial?
Come up with an approach that allows to cache mstatus (e.g. invalidate mstatus when accessing all the registers that mirror an mstatus field).
The text was updated successfully, but these errors were encountered:
Perhaps some form of "impact list" could be implemented for the cached registers: Invalidate the cached register value if any register on its "impact list" is written to.
There is an issue:
mstatus
shares fields with other registers. See #1217.Therefore simply caching
mstatus
on reads is not possible.However, caching
mstatus
on reads allows to greatly reduce the number of register accesses in a typical Debug session.The task is:
mstatus
on reads -- maybe it's actually not that crucial?mstatus
(e.g. invalidatemstatus
when accessing all the registers that mirror anmstatus
field).The text was updated successfully, but these errors were encountered: