We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6e117 commit 43a4f23Copy full SHA for 43a4f23
target/riscv/insn_trans/trans_rvv.c.inc
@@ -1043,7 +1043,8 @@ static bool ld_index_check(DisasContext *s, arg_rnfvm* a, uint8_t eew)
1043
{
1044
return require_rvv(s) &&
1045
vext_check_isa_ill(s) &&
1046
- vext_check_ld_index(s, a->rd, a->rs2, a->nf, a->vm, eew);
+ vext_check_ld_index(s, a->rd, a->rs2, a->nf, a->vm, eew) &&
1047
+ vext_check_input_eew(s, -1, 0, a->rs2, eew, a->vm);
1048
}
1049
1050
GEN_VEXT_TRANS(vlxei8_v, MO_8, rnfvm, ld_index_op, ld_index_check)
@@ -1095,7 +1096,8 @@ static bool st_index_check(DisasContext *s, arg_rnfvm* a, uint8_t eew)
1095
1096
1097
1098
- vext_check_st_index(s, a->rd, a->rs2, a->nf, eew);
1099
+ vext_check_st_index(s, a->rd, a->rs2, a->nf, eew) &&
1100
+ vext_check_input_eew(s, a->rd, s->sew, a->rs2, eew, a->vm);
1101
1102
1103
GEN_VEXT_TRANS(vsxei8_v, MO_8, rnfvm, st_index_op, st_index_check)
0 commit comments