Skip to content

Commit eaf2e84

Browse files
committed
[INTERPRETER] Removed some useless tests on x87 comp
1 parent 7dcba89 commit eaf2e84

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/emu/x87emu_private.h

-8
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ static inline void fpu_fcom(x86emu_t* emu, double b)
8484
emu->sw.f.F87_C0 = 1;
8585
emu->sw.f.F87_C2 = 1;
8686
emu->sw.f.F87_C3 = 1;
87-
} else if ((b==-INFINITY) || (ST0.d==INFINITY)) {
88-
emu->sw.f.F87_C0 = 0;
89-
emu->sw.f.F87_C2 = 0;
90-
emu->sw.f.F87_C3 = 0;
9187
} else if (isgreater(ST0.d, b)) {
9288
emu->sw.f.F87_C0 = 0;
9389
emu->sw.f.F87_C2 = 0;
@@ -115,10 +111,6 @@ static inline void fpu_fcomi(x86emu_t* emu, double b)
115111
SET_FLAG(F_CF);
116112
SET_FLAG(F_PF);
117113
SET_FLAG(F_ZF);
118-
} else if ((b==-INFINITY) || (ST0.d==INFINITY)) {
119-
CLEAR_FLAG(F_CF);
120-
CLEAR_FLAG(F_PF);
121-
CLEAR_FLAG(F_ZF);
122114
} else if (isgreater(ST0.d, b)) {
123115
CLEAR_FLAG(F_CF);
124116
CLEAR_FLAG(F_PF);

0 commit comments

Comments
 (0)