Re: [PATCH v4 3/5] target/riscv: add vector index load and store instructions

2020-02-27 Thread LIU Zhiwei
On 2020/2/28 3:49, Richard Henderson wrote: On 2/25/20 2:35 AM, LIU Zhiwei wrote: +vsxb_v ... 011 . . . 000 . 0100111 @r_nfvm +vsxh_v ... 011 . . . 101 . 0100111 @r_nfvm +vsxw_v ... 011 . . . 110 . 0100111 @r_nfvm +vsxe_v ... 011 . . ...

Re: [PATCH v4 3/5] target/riscv: add vector index load and store instructions

2020-02-27 Thread Richard Henderson
On 2/25/20 2:35 AM, LIU Zhiwei wrote: > +vsxb_v ... 011 . . . 000 . 0100111 @r_nfvm > +vsxh_v ... 011 . . . 101 . 0100111 @r_nfvm > +vsxw_v ... 011 . . . 110 . 0100111 @r_nfvm > +vsxe_v ... 011 . . . 111 . 0100111 @r_nfvm > +vsuxb_v

[PATCH v4 3/5] target/riscv: add vector index load and store instructions

2020-02-25 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