]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: fix vldi/xvldi raise wrong error
authorSong Gao <gaosong@loongson.cn>
Wed, 4 Jun 2025 08:40:05 +0000 (16:40 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 19 Jun 2025 07:57:31 +0000 (15:57 +0800)
commitc2a2e1ad2a749caa864281b1d4dc3f16c3f344f6
treeb55df5d2fd4163ede36bc0e70433c9acf078ab22
parent27f5d500c2259650076e3abd72f092b566fd81ac
target/loongarch: fix vldi/xvldi raise wrong error

on qemu we got an aborted error
**
ERROR:../target/loongarch/tcg/insn_trans/trans_vec.c.inc:3574:vldi_get_value: code should not be reached
Bail out! ERROR:../target/loongarch/tcg/insn_trans/trans_vec.c.inc:3574:vldi_get_value: code should not be reached
Aborted (core dumped)
but on 3A600/3A5000 we got a "Illegal instruction" error.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2971

Fixes: 29bb5d727ff ("target/loongarch: Implement vldi")
Cc: qemu-stable@nongnu.org
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
target/loongarch/tcg/insn_trans/trans_vec.c.inc