Re: [PATCH v6 57/61] target/riscv: floating-point scalar move instructions

2020-03-28 Thread LIU Zhiwei
On 2020/3/28 11:44, Richard Henderson wrote: On 3/17/20 8:06 AM, LIU Zhiwei wrote: +/* Floating-Point Scalar Move Instructions */ +static bool trans_vfmv_f_s(DisasContext *s, arg_vfmv_f_s *a) +{ +if (!s->vill && has_ext(s, RVF) && +(s->mstatus_fs != 0) && (s->sew != 0)) { +#ifdef

Re: [PATCH v6 57/61] target/riscv: floating-point scalar move instructions

2020-03-27 Thread Richard Henderson
On 3/17/20 8:06 AM, LIU Zhiwei wrote: > +/* Floating-Point Scalar Move Instructions */ > +static bool trans_vfmv_f_s(DisasContext *s, arg_vfmv_f_s *a) > +{ > +if (!s->vill && has_ext(s, RVF) && > +(s->mstatus_fs != 0) && (s->sew != 0)) { > +#ifdef HOST_WORDS_BIGENDIAN > +int ofs

[PATCH v6 57/61] target/riscv: floating-point scalar move 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 | 72 + target/riscv/vector_helper.c| 15 ++ 4 files changed, 93 insertions(+) diff --git