Skip to content

Commit

Permalink
fix(vec): set xstatus.fs unconditionally on vf comparision (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang-Haojin authored Oct 14, 2024
1 parent 9b00ef5 commit aed8531
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/isa/riscv64/instr/rvv/vcompute.h
Original file line number Diff line number Diff line change
Expand Up @@ -1180,26 +1180,38 @@ def_EHelper(vfmerge) {

def_EHelper(vmfeq) {
FLOAT_ARTHI_MASK(MFEQ)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vmfle) {
FLOAT_ARTHI_MASK(MFLE)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vmflt) {
FLOAT_ARTHI_MASK(MFLT)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vmfne) {
FLOAT_ARTHI_MASK(MFNE)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vmfgt) {
FLOAT_ARTHI_MASK(MFGT)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vmfge) {
FLOAT_ARTHI_MASK(MFGE)
void fp_set_dirty();
fp_set_dirty();
}

def_EHelper(vfdiv) {
Expand Down

0 comments on commit aed8531

Please sign in to comment.