]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: rvv: Apply vext_check_input_eew to vector narrow/widen instructions
authorMax Chou <max.chou@sifive.com>
Tue, 8 Apr 2025 10:39:36 +0000 (18:39 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 May 2025 06:59:03 +0000 (09:59 +0300)
commitbe6e117a8363734bb65f80299cbdcbe602b71f8e
tree5fb1b1b7e2f179dcf0eb1567b29092d3b83f4889
parentfaaeaa955c6209814a0e912c75cb80e085c2a321
target/riscv: rvv: Apply vext_check_input_eew to vector narrow/widen instructions

Handle the overlap of source registers with different EEWs.
The vd of vector widening mul-add instructions is one of the input
operands.

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-9-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Cc: qemu-stable@nongnu.org
(cherry picked from commit 1f090a229f85e662394267680408bd31fd0a99c9)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/riscv/insn_trans/trans_rvbf16.c.inc
target/riscv/insn_trans/trans_rvv.c.inc