Re: [PATCH v6 41/61] target/riscv: vector floating-point merge instructions

2020-03-28 Thread LIU Zhiwei
On 2020/3/28 11:23, Richard Henderson wrote: On 3/17/20 8:06 AM, LIU Zhiwei wrote: +for (i = 0; i < vl; i++) {\ +if (!vm && !vext_elem_mask(v0, mlen, i)) {\ +ETYPE s2 = *((ETYPE *)vs2 + H(i));\ +*((ETYPE *)vd

Re: [PATCH v6 41/61] target/riscv: vector floating-point merge instructions

2020-03-27 Thread Richard Henderson
On 3/17/20 8:06 AM, LIU Zhiwei wrote: > +for (i = 0; i < vl; i++) {\ > +if (!vm && !vext_elem_mask(v0, mlen, i)) {\ > +ETYPE s2 = *((ETYPE *)vs2 + H(i));\ > +*((ETYPE *)vd + H1(i)) = s2; \ H1 shoul

[PATCH v6 41/61] target/riscv: vector floating-point merge instructions

2020-03-17 Thread LIU Zhiwei
Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 4 +++ target/riscv/insn32.decode | 2 ++ target/riscv/insn_trans/trans_rvv.inc.c | 34 + target/riscv/vector_helper.c| 30 ++ 4 files changed, 70 inserti