ldst_index_trans
Techniqueldst_index_trans() is a static helper in QEMU's RISC-V vector translation file (trans_rvv.c.inc) that translates indexed vector load/store instructions. The patch series 'trans_rvv.c.inc: write CSRs must call mark_vs_dirty() too' modifies ldst_index_trans() along with sibling helpers to unconditionally invoke mark_vs_dirty(), because vector stores modify the vstart CSR (a vector-state CSR) and therefore must transition mstatus.VS to Dirty per RISC-V Vector spec section 3.2.
WIKI
ldst_index_trans
Overview
ldst_index_trans() is a translation-time helper for indexed RISC-V vector
load/store instructions (the segment of the V extension whose addressing
combines a base register rs1 with an index vector vs2). It lives in
target/riscv/insn_trans/trans_rvv.c.inc, the QEMU TCG translation include
that materializes every RISC-V Vector instruction, and is part of a family of
helpers (ldst_us_trans, ldst_stride_trans, ldst_index_trans,
ldst_whole_trans) that share the same overall structure for unit-stride,
stride, indexed, and whole-register load/store variants.
NEIGHBORHOOD
No graph connections found for this entity yet. It may appear in future ingestion runs.
explore full graph →