xemu/target/loongarch/tcg/insn_trans
Bibo Mao 15eedfd2ff target/loongarch: Use actual operand size with vbsrl check
Hardcoded 32 bytes is used for vbsrl emulation check, there is
problem when options lsx=on,lasx=off is used for vbsrl.v instruction
in TCG mode. It injects LASX exception rather LSX exception.

Here actual operand size is used.

Cc: qemu-stable@nongnu.org
Fixes: df97f33807 ("target/loongarch: Implement xvreplve xvinsve0 xvpickve")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit d41989e7548397b469ec9c7be4cee699321a317e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-12-29 01:50:54 +03:00
..
trans_arith.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_atomic.c.inc target/loongarch: Fix qemu-loongarch64 hang when executing 'll.d $t0, $t0, 0' 2024-03-20 10:20:08 +08:00
trans_bit.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_branch.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_extra.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_farith.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_fcmp.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_fcnv.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_fmemory.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_fmov.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_memory.c.inc target/loongarch: move translate modules to tcg/ 2024-01-06 10:18:52 +08:00
trans_privileged.c.inc target/loongarch: Rename MMU_IDX_* 2024-02-03 16:46:07 +10:00
trans_shift.c.inc target/loongarch: Remove avail_64 in trans_srai_w() and simplify it 2024-07-12 09:41:18 +08:00
trans_vec.c.inc target/loongarch: Use actual operand size with vbsrl check 2024-12-29 01:50:54 +03:00