You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/target/loongarch/tcg/insn_trans
WANG Rui e66644c48e target/loongarch: Fix [X]VLDI raising exception incorrectly
According to the specification, [X]VLDI should trigger an invalid instruction
exception only when Bit[12] is 1 and Bit[11:8] > 12. This patch fixes an issue
where an exception was incorrectly raised even when Bit[12] was 0.

Test case:

```
    .global main
main:
    vldi    $vr0, 3328
    ret
```

Reported-by: Zhou Qiankang <wszqkzqk@qq.com>
Signed-off-by: WANG Rui <wangrui@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20250804132212.4816-1-wangrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
4 days ago
..
trans_arith.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_atomic.c.inc target/loongarch: Use VADDR_PRIx for logging pc_next 6 months ago
trans_bit.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_branch.c.inc target/loongarch: Guard BCEQZ/BCNEZ instructions with FP feature 4 months ago
trans_extra.c.inc target/loongarch: Add CRC feature flag and use it to gate CRC instructions 4 months ago
trans_farith.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_fcmp.c.inc target/loongarch: add check for fcond 2 months ago
trans_fcnv.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_fmemory.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_fmov.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_memory.c.inc target/loongarch: move translate modules to tcg/ 2 years ago
trans_privileged.c.inc target/loongarch: check tlb_ps 5 months ago
trans_shift.c.inc target/loongarch: Remove avail_64 in trans_srai_w() and simplify it 1 year ago
trans_vec.c.inc target/loongarch: Fix [X]VLDI raising exception incorrectly 4 days ago