Skip to content

Commit 9f9cd6b

Browse files
rnaxMichael Tokarev
authored andcommitted
target/riscv: rvv: Check single width operator for vfncvt.rod.f.f.w
The opfv_narrow_check needs to check the single width float operator by require_rvf. Signed-off-by: Max Chou <[email protected]> Reviewed-by: Daniel Henrique Barboza <[email protected]> Cc: qemu-stable <[email protected]> Message-ID: <[email protected]> Signed-off-by: Alistair Francis <[email protected]> (cherry picked from commit 692f33a) Signed-off-by: Michael Tokarev <[email protected]>
1 parent a0ea75e commit 9f9cd6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

target/riscv/insn_trans/trans_rvv.c.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2817,6 +2817,7 @@ static bool opffv_narrow_check(DisasContext *s, arg_rmr *a)
28172817
static bool opffv_rod_narrow_check(DisasContext *s, arg_rmr *a)
28182818
{
28192819
return opfv_narrow_check(s, a) &&
2820+
require_rvf(s) &&
28202821
require_scale_rvf(s) &&
28212822
(s->sew != MO_8);
28222823
}

0 commit comments

Comments
 (0)