|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v2] target/loongarch: Fix the vinsgr2vr/vpickve2gr instructions cause system coredump |
| Date: | Thu, 25 May 2023 06:18:06 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 5/25/23 05:00, Song Gao wrote:
The vinsgr2vr/vpickve2gr instructions need use get_src/get_dst to get gpr registers value, not cpu_gpr[]. The $zero register does not have cpu_gpr[0] allocated. Resolves:https://gitlab.com/qemu-project/qemu/-/issues/1662 Signed-off-by: Song Gao<gaosong@loongson.cn> --- target/loongarch/insn_trans/trans_lsx.c.inc | 39 ++++++++++++++------- 1 file changed, 26 insertions(+), 13 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
| [Prev in Thread] | Current Thread | [Next in Thread] |