Re: [PATCH v5 06/60] target/riscv: add vector index load and store instructions

2020-03-13 Thread Richard Henderson
On 3/12/20 7:58 AM, LIU Zhiwei wrote: > +static inline void vext_ldst_index(void *vd, void *v0, target_ulong base, > +void *vs2, CPURISCVState *env, uint32_t desc, > +vext_get_index_addr get_index_addr, > +vext_ldst_elem_fn ldst_elem, > +vext_ld_clear_elem clear_elem

Re: [PATCH v5 06/60] target/riscv: add vector index load and store instructions

2020-03-13 Thread Alistair Francis
On Thu, Mar 12, 2020 at 8:11 AM LIU Zhiwei wrote: > > Vector indexed operations add the contents of each element of the > vector offset operand specified by vs2 to the base effective address > to give the effective address of each element. > > Signed-off-by: LIU Zhiwei Reviewed-by: Alistair Fran

[PATCH v5 06/60] target/riscv: add vector index load and store instructions

2020-03-12 Thread LIU Zhiwei
Vector indexed operations add the contents of each element of the vector offset operand specified by vs2 to the base effective address to give the effective address of each element. Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 35 +++ target/riscv/insn32.decode