This is an automated email from Gerrit. "Anatoly P <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9422
-- gerrit commit f355aede9d340612d5e2fcf6a37198af7853b4e1 Author: Anatoly Parshintsev <[email protected]> Date: Sun Feb 1 13:30:19 2026 +0300 target/riscv: do not cache access to vxrm and vxsat Change-Id: I09760de5b76c330797caa99d2ef0ef151546e956 Signed-off-by: Anatoly Parshintsev <[email protected]> diff --git a/src/target/riscv/riscv_reg_impl.h b/src/target/riscv/riscv_reg_impl.h index a6b2cafddc..878ebb942b 100644 --- a/src/target/riscv/riscv_reg_impl.h +++ b/src/target/riscv/riscv_reg_impl.h @@ -195,8 +195,6 @@ static inline bool riscv_reg_impl_gdb_regno_cacheable(enum gdb_regno regno, * CSRs. */ switch (regno) { case GDB_REGNO_DPC: - case GDB_REGNO_VXSAT: - case GDB_REGNO_VXRM: case GDB_REGNO_VLENB: case GDB_REGNO_MISA: case GDB_REGNO_DCSR: @@ -215,6 +213,8 @@ static inline bool riscv_reg_impl_gdb_regno_cacheable(enum gdb_regno regno, case GDB_REGNO_VSTART: /* Changes value when vtype is changed. */ case GDB_REGNO_VL: /* Changes value when vtype is changed. */ case GDB_REGNO_VTYPE: /* Writes to vtype have side effects, so we don't cache it. */ + case GDB_REGNO_VXSAT: /* Changes value when vcsr is changed. */ + case GDB_REGNO_VXRM: /* CHanges value when vcsr is changed. */ default: return false; } --
