Skip to content

Commit

Permalink
[INTERPRETER] Removed some useless tests on x87 comp
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jan 8, 2025
1 parent 653a67c commit 99d0889
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/emu/x87emu_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ static inline void fpu_fcom(x64emu_t* emu, double b)
emu->sw.f.F87_C0 = 1;
emu->sw.f.F87_C2 = 1;
emu->sw.f.F87_C3 = 1;
} else if (((b==-INFINITY) || (ST0.d==INFINITY)) && ST0.d!=b) {
emu->sw.f.F87_C0 = 0;
emu->sw.f.F87_C2 = 0;
emu->sw.f.F87_C3 = 0;
} else if (isgreater(ST0.d, b)) {
emu->sw.f.F87_C0 = 0;
emu->sw.f.F87_C2 = 0;
Expand Down Expand Up @@ -104,10 +100,6 @@ static inline void fpu_fcomi(x64emu_t* emu, double b)
SET_FLAG(F_CF);
SET_FLAG(F_PF);
SET_FLAG(F_ZF);
} else if (((b==-INFINITY) || (ST0.d==INFINITY)) && ST0.d!=b) {
CLEAR_FLAG(F_CF);
CLEAR_FLAG(F_PF);
CLEAR_FLAG(F_ZF);
} else if (isgreater(ST0.d, b)) {
CLEAR_FLAG(F_CF);
CLEAR_FLAG(F_PF);
Expand Down

0 comments on commit 99d0889

Please sign in to comment.