Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(vf): do not set dirtyFs for some instructions
  • Loading branch information
Tang-Haojin committed Oct 25, 2024
commit 770b7eb9946639a71be1ff1dc14b6078cfe3d29c
4 changes: 2 additions & 2 deletions src/isa/riscv64/instr/rvv/vcompute_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ void floating_arthimetic_instr(int opcode, int is_signed, int widening, int dest
}
check_vstart_exception(s);
if(check_vstart_ignore(s)) {
if (opcode != FCLASS) {
if (opcode != FCLASS && opcode != FMERGE && opcode != FSLIDE1UP && opcode != FSLIDE1DOWN) {
fp_set_dirty();
}
vp_set_dirty();
Expand Down Expand Up @@ -1261,7 +1261,7 @@ void floating_arthimetic_instr(int opcode, int is_signed, int widening, int dest

rtl_li(s, s0, 0);
vcsr_write(IDXVSTART, s0);
if (opcode != FCLASS) {
if (opcode != FCLASS && opcode != FMERGE && opcode != FSLIDE1UP && opcode != FSLIDE1DOWN) {
fp_set_dirty();
}
vp_set_dirty();
Expand Down