On 10/1/25 12:32 AM, Anton Johansson wrote:
According to version 20250508 of the privileged specification,
minstretcfg is a 64-bit register and minstretcfgh refers to the top
32 bits of this register when XLEN == 32.  No real advantage is
gained by keeping them separate, and combining them allows for slight
simplification.

Signed-off-by: Anton Johansson <[email protected]>
---
  target/riscv/cpu.h |  3 +--
  target/riscv/csr.c | 18 ++++++++++--------
  2 files changed, 11 insertions(+), 10 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to