Core: update CX86RecompilerOps::COP1_D_NEG

This commit is contained in:
zilmar 2024-03-21 17:14:00 +10:30
parent ece5e30a80
commit 87c732b65d
1 changed files with 10 additions and 3 deletions

View File

@ -8448,9 +8448,16 @@ void CX86RecompilerOps::COP1_D_ABS()
void CX86RecompilerOps::COP1_D_NEG()
{
CompileCop1Test();
m_RegWorkingSet.Load_FPR_ToTop(m_Opcode.fd, m_Opcode.fs, CRegInfo::FPU_Double);
m_Assembler.fchs();
if (FpuExceptionInRecompiler())
{
COP1_D_Opcode(&CX86Ops::Fchs);
}
else
{
CompileCop1Test();
m_RegWorkingSet.Load_FPR_ToTop(m_Opcode.fd, m_Opcode.fs, CRegInfo::FPU_Double);
m_Assembler.fchs();
}
}
void CX86RecompilerOps::COP1_D_SQRT()