]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: rvv: Check single width operator for vector fp widen instructions
authorMax Chou <max.chou@sifive.com>
Fri, 22 Mar 2024 09:25:56 +0000 (17:25 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 5 Jun 2024 10:04:55 +0000 (13:04 +0300)
commita0ea75e0197b3083a250203ffb57d6c23289bf24
treedfda763619632e18f27862dc4503c53aebcb407e
parentf3bea9603b41c786aa89954ef07da236f78d7fdf
target/riscv: rvv: Check single width operator for vector fp widen instructions

The require_scale_rvf function only checks the double width operator for
the vector floating point widen instructions, so most of the widen
checking functions need to add require_rvf for single width operator.

The vfwcvt.f.x.v and vfwcvt.f.xu.v instructions convert single width
integer to double width float, so the opfxv_widen_check function doesn’t
need require_rvf for the single width operator(integer).

Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Cc: qemu-stable <qemu-stable@nongnu.org>
Message-ID: <20240322092600.1198921-3-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit 7a999d4dd704aa71fe6416871ada69438b56b1e5)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/riscv/insn_trans/trans_rvv.c.inc