Re: [PATCH v5 43/60] target/riscv: narrowing floating-point/integer type-convert instructions

2020-03-14 Thread Richard Henderson
On 3/12/20 7:58 AM, LIU Zhiwei wrote: > +static uint32_t vfncvtffv32(uint64_t a, float_status *s) > +{ > +return float64_to_float32(a, s); > +} > +RVVCALL(OPFVV1, vfncvt_f_f_v_h, NOP_UU_H, H2, H4, vfncvtffv16) > +RVVCALL(OPFVV1, vfncvt_f_f_v_w, NOP_UU_W, H4, H8, vfncvtffv32) >

[PATCH v5 43/60] target/riscv: narrowing floating-point/integer type-convert instructions

2020-03-12 Thread LIU Zhiwei
Signed-off-by: LIU Zhiwei --- target/riscv/helper.h | 11 +++ target/riscv/insn32.decode | 5 +++ target/riscv/insn_trans/trans_rvv.inc.c | 42 + target/riscv/vector_helper.c| 42 + 4 files changed,