On 6/10/22 09:55, Víctor Colombo wrote:
Commit 57c108b8646 introduced gen_set_gpri(), which already contains
a check for if the destination register is 'zero'. The check in auipc
and lui are then redundant. This patch removes those checks.

Signed-off-by: Víctor Colombo<victor.colo...@eldorado.org.br>
---
  target/riscv/insn_trans/trans_rvi.c.inc | 8 ++------
  1 file changed, 2 insertions(+), 6 deletions(-)

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

r~

Reply via email to