target/riscv: add vector stride load and store instructions
Vector strided operations access the first memory element at the base address, and then access subsequent elements at address increments given by the byte offset contained in the x register specified by rs2. Vector unit-stride operations access elements stored contiguously in memory starting from the base effective address. It can been seen as a special case of strided operations. Signed-off-by:LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Reviewed-by:
Alistair Francis <alistair.francis@wdc.com> Message-Id: <20200701152549.1218-7-zhiwei_liu@c-sky.com> Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
Showing
- target/riscv/helper.h 105 additions, 0 deletionstarget/riscv/helper.h
- target/riscv/insn32.decode 32 additions, 0 deletionstarget/riscv/insn32.decode
- target/riscv/insn_trans/trans_rvv.inc.c 355 additions, 0 deletionstarget/riscv/insn_trans/trans_rvv.inc.c
- target/riscv/internals.h 5 additions, 0 deletionstarget/riscv/internals.h
- target/riscv/translate.c 7 additions, 0 deletionstarget/riscv/translate.c
- target/riscv/vector_helper.c 410 additions, 0 deletionstarget/riscv/vector_helper.c
Loading
Please register or sign in to comment