Re: [PATCH v5 40/60] target/riscv: vector floating-point merge instructions

2020-03-15 Thread Richard Henderson
On 3/15/20 8:41 PM, LIU Zhiwei wrote: > > > On 2020/3/15 6:47, Richard Henderson wrote: >> On 3/12/20 7:58 AM, LIU Zhiwei wrote: >>> + >>> +/* Vector Floating-Point Merge Instruction */ >>> +static bool opfvf_vfmerge_check(DisasContext *s, arg_rmrr *a) >>> +{ >>> +return (vext_check_isa_ill(s

Re: [PATCH v5 40/60] target/riscv: vector floating-point merge instructions

2020-03-15 Thread LIU Zhiwei
On 2020/3/15 6:47, Richard Henderson wrote: On 3/12/20 7:58 AM, LIU Zhiwei wrote: + +/* Vector Floating-Point Merge Instruction */ +static bool opfvf_vfmerge_check(DisasContext *s, arg_rmrr *a) +{ +return (vext_check_isa_ill(s, RVV) && +vext_check_overlap_mask(s, a->rd, a->vm,

Re: [PATCH v5 40/60] target/riscv: vector floating-point merge instructions

2020-03-14 Thread Richard Henderson
On 3/12/20 7:58 AM, LIU Zhiwei wrote: > + > +/* Vector Floating-Point Merge Instruction */ > +static bool opfvf_vfmerge_check(DisasContext *s, arg_rmrr *a) > +{ > +return (vext_check_isa_ill(s, RVV) && > +vext_check_overlap_mask(s, a->rd, a->vm, false) && > +vext_check_r

[PATCH v5 40/60] target/riscv: vector floating-point merge instructions

2020-03-12 Thread LIU Zhiwei
Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 4 target/riscv/insn32.decode | 1 + target/riscv/insn_trans/trans_rvv.inc.c | 12 +++ target/riscv/vector_helper.c| 28 + 4 files changed, 45 insertions(+) dif