qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 06/15] target/loongarch: Sign extend results in VA32 mode


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v4 06/15] target/loongarch: Sign extend results in VA32 mode
Date: Tue, 22 Aug 2023 09:05:46 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

On 22/8/23 05:27, Song Gao wrote:
From: Jiajie Chen <c@jia.je>

In VA32 mode, BL, JIRL and PC* instructions should sign-extend the low
32 bit result to 64 bits.

Signed-off-by: Jiajie Chen <c@jia.je>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
  target/loongarch/translate.c                   | 8 ++++++++
  target/loongarch/insn_trans/trans_arith.c.inc  | 2 +-
  target/loongarch/insn_trans/trans_branch.c.inc | 4 ++--
  3 files changed, 11 insertions(+), 3 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]