Skip to content

Commit

Permalink
fix(rvv): set xstatus.vs dirty when execute vector int instructions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
sinceforYy authored Nov 7, 2024
1 parent 3e22e1f commit 96865cd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/isa/riscv64/instr/rvv/vcompute_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,10 @@ void arthimetic_instr(int opcode, int is_signed, int widening, int narrow, int d
}
}
check_vstart_exception(s);
if(check_vstart_ignore(s)) return;
if(check_vstart_ignore(s)) {
vp_set_dirty();
return;
}
for(word_t idx = vstart->val; idx < vl->val; idx ++) {
// mask
rtlreg_t mask = get_mask(0, idx);
Expand Down

0 comments on commit 96865cd

Please sign in to comment.