mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 19:14:58 -06:00
target/riscv: rvv: Apply vext_check_input_eew to vector integer extension instructions(OPMVV)
Handle the overlap of source registers with different EEWs. Co-authored-by: Anton Blanchard <antonb@tenstorrent.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Max Chou <max.chou@sifive.com> Message-ID: <20250408103938.3623486-8-max.chou@sifive.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Cc: qemu-stable@nongnu.org
This commit is contained in:
parent
b5480a693e
commit
411eefd56a
1 changed files with 3 additions and 1 deletions
|
@ -3943,7 +3943,9 @@ static bool int_ext_check(DisasContext *s, arg_rmr *a, uint8_t div)
|
|||
require_align(a->rd, s->lmul) &&
|
||||
require_align(a->rs2, s->lmul - div) &&
|
||||
require_vm(a->vm, a->rd) &&
|
||||
require_noover(a->rd, s->lmul, a->rs2, s->lmul - div);
|
||||
require_noover(a->rd, s->lmul, a->rs2, s->lmul - div) &&
|
||||
vext_check_input_eew(s, -1, 0, a->rs2, s->sew, a->vm);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue