On 27/2/22 03:04, Richard Henderson wrote:
All 32-bit mips operations sign-extend the output, so we are easily
able to keep TCG_TYPE_I32 values sign-extended in host registers.

Cc: Philippe Mathieu-Daudé <f4...@amsat.org>
Cc: Aurelien Jarno <aurel...@aurel32.net>
Cc: Huacai Chen <chenhua...@kernel.org>
Cc: Jiaxun Yang <jiaxun.y...@flygoat.com>
Cc: Aleksandar Rikalo <aleksandar.rik...@syrmia.com>
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  tcg/mips/tcg-target-sa32.h |  8 ++++++++
  tcg/mips/tcg-target.c.inc  | 10 ++--------
  2 files changed, 10 insertions(+), 8 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to