On 1/12/21 9:13 PM, frank.ch...@sifive.com wrote:
> From: Frank Chang <frank.ch...@sifive.com>
> 
> Add gen_shifti() and gen_shiftiw() helper functions to reuse the same
> interfaces for immediate shift instructions.
> 
> Signed-off-by: Frank Chang <frank.ch...@sifive.com>
> ---
>  target/riscv/insn_trans/trans_rvi.c.inc | 54 ++-----------------------
>  target/riscv/translate.c                | 43 ++++++++++++++++++++
>  2 files changed, 47 insertions(+), 50 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to