Revert "x87: Fix Final Reality discolored screen for all dynarecs"
This reverts commit 03dd94f361.
This commit is contained in:
@@ -3571,8 +3571,6 @@ FP_FLD(int reg)
|
||||
addbyte(0x89); /*MOV [TOP], EBX*/
|
||||
addbyte(0x5d);
|
||||
addbyte((uint8_t) cpu_state_offset(TOP));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
@@ -3690,8 +3688,6 @@ FP_LOAD_S(void)
|
||||
addbyte(0x44);
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_D(void)
|
||||
@@ -3721,8 +3717,6 @@ FP_LOAD_D(void)
|
||||
addbyte(0x44);
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
@@ -3760,8 +3754,6 @@ FP_LOAD_IW(void)
|
||||
addbyte(0x44);
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_IL(void)
|
||||
@@ -3795,8 +3787,6 @@ FP_LOAD_IL(void)
|
||||
addbyte(0x44);
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_IQ(void)
|
||||
@@ -3841,8 +3831,6 @@ FP_LOAD_IQ(void)
|
||||
addbyte(0x44);
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
@@ -3875,8 +3863,6 @@ FP_LOAD_IMM_Q(uint64_t v)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag));
|
||||
addbyte(v ? 0 : 1);
|
||||
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
|
||||
@@ -1794,7 +1794,6 @@ FP_FLD(int reg)
|
||||
addbyte(0x5d);
|
||||
addbyte((uint8_t) cpu_state_offset(TOP));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
@@ -2038,7 +2037,6 @@ FP_LOAD_S(void)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag[0]));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_D(void)
|
||||
@@ -2098,7 +2096,6 @@ FP_LOAD_D(void)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag[0]));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_IW(void)
|
||||
@@ -2157,7 +2154,6 @@ FP_LOAD_IW(void)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag[0]));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_IL(void)
|
||||
@@ -2214,7 +2210,6 @@ FP_LOAD_IL(void)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag[0]));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
static __inline void
|
||||
FP_LOAD_IQ(void)
|
||||
@@ -2290,7 +2285,6 @@ FP_LOAD_IQ(void)
|
||||
addbyte(0x1d);
|
||||
addbyte((uint8_t) cpu_state_offset(tag[0]));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline void
|
||||
@@ -2342,7 +2336,6 @@ FP_LOAD_IMM_Q(uint64_t v)
|
||||
addbyte(0x5d);
|
||||
addbyte((uint8_t) cpu_state_offset(TOP));
|
||||
}
|
||||
CALL_FUNC((uintptr_t) x87_to_mmxreg);
|
||||
}
|
||||
|
||||
static __inline int
|
||||
|
||||
Reference in New Issue
Block a user