]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions
authorMax Chou <max.chou@sifive.com>
Fri, 22 Mar 2024 09:25:55 +0000 (17:25 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 5 Jun 2024 10:04:38 +0000 (13:04 +0300)
commitf3bea9603b41c786aa89954ef07da236f78d7fdf
tree74afc0c8281a5ad3ead69966765ecf06730e8426
parent3f4ab4b15899e1af4d74223a3af30ccddb4abadd
target/riscv: rvv: Fix Zvfhmin checking for vfwcvt.f.f.v and vfncvt.f.f.w instructions

According v spec 18.4, only the vfwcvt.f.f.v and vfncvt.f.f.w
instructions will be affected by Zvfhmin extension.
And the vfwcvt.f.f.v and vfncvt.f.f.w instructions only support the
conversions of

* From 1*SEW(16/32) to 2*SEW(32/64)
* From 2*SEW(32/64) to 1*SEW(16/32)

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-2-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit 17b713c0806e72cd8edc6c2ddd8acc5be0475df6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/riscv/insn_trans/trans_rvv.c.inc