Skip to content

Commit

Permalink
Core: update CX86RecompilerOps::COP1_D_NEG
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 committed Mar 21, 2024
1 parent ece5e30 commit 87c732b
Showing 1 changed file with 10 additions and 3 deletions.
Expand Up @@ -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()
Expand Down

0 comments on commit 87c732b

Please sign in to comment.