Re: [RFC v4 36/70] target/riscv: rvv-1.0: floating-point move instruction

2020-08-29 Thread Richard Henderson
On 8/29/20 1:00 PM, Richard Henderson wrote: > static bool require_rvf(Disascontext *s) > { > switch (s->sew) { > case MO_16: > case MO_32: > return has_ext(s, RVF); > case MO_64: > return has_ext(s, RVD); > default: > return false; > } > } Oh, and c

Re: [RFC v4 36/70] target/riscv: rvv-1.0: floating-point move instruction

2020-08-29 Thread Richard Henderson
On 8/17/20 1:49 AM, frank.ch...@sifive.com wrote: > static bool trans_vfmv_v_f(DisasContext *s, arg_vfmv_v_f *a) > { > if (require_rvv(s) && > +has_ext(s, RVF) && > vext_check_isa_ill(s) && > require_align(a->rd, 1 << s->lmul) && > (s->sew != 0)) { > +