On 4/30/20 12:21 AM, LIU Zhiwei wrote: > Signed-off-by: LIU Zhiwei <zhiwei_...@c-sky.com> > --- > riscv64.risu | 43 +++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > > diff --git a/riscv64.risu b/riscv64.risu > index 98141ab..f006dc8 100644 > --- a/riscv64.risu > +++ b/riscv64.risu > @@ -139,3 +139,46 @@ SRLW RISCV 0000000 rs2:5 rs1:5 101 rd:5 0011011 \ > > SRAW RISCV 0100000 rs2:5 rs1:5 101 rd:5 0011011 \ > !constraints { $rd != 2 && $rd != 3 && $rd != 4 && $rs1 != 2 } > + > +@RV64M > + > +MUL RISCV 0000001 rs2:5 rs1:5 000 rd:5 0110011 \ > +!constraints { $rd != 2 && $rd != 3 && $rd != 4 && $rs1 != 2 && $rs2 != 2 } > +
Modulo the use of a helper function, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~