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

2023-08-22 Thread Philippe Mathieu-Daudé
On 22/8/23 05:27, Song Gao wrote: From: Jiajie Chen In VA32 mode, BL, JIRL and PC* instructions should sign-extend the low 32 bit result to 64 bits. Signed-off-by: Jiajie Chen Reviewed-by: Richard Henderson Signed-off-by: Song Gao --- target/loongarch/translate.c | 8 +++

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

2023-08-21 Thread Song Gao
From: Jiajie Chen In VA32 mode, BL, JIRL and PC* instructions should sign-extend the low 32 bit result to 64 bits. Signed-off-by: Jiajie Chen Reviewed-by: Richard Henderson Signed-off-by: Song Gao --- target/loongarch/translate.c | 8 target/loongarch/insn_trans/tr