]> 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)
commitd813f356ad05194110fdcc4e162b164d74bf33ec
treeb0f73acc35096f57e5bbb3092230ed62af072760
parent749907f857b363dd0aa8bb5f820851fc500a8321
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