diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index 020d2e841f9b..3bd4aac9c970 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -71,6 +71,7 @@ target_ulong HELPER(vsetvl)(CPURISCVState *env, target_ulong s1, env->vl = vl; env->vtype = s2; env->vstart = 0; + env->vill = 0; return vl; }