Fix FMA copypasta (#8060)

This commit is contained in:
rxys 2020-04-19 20:17:19 +02:00 committed by GitHub
parent 5960de2e20
commit 5101bc189e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4279,7 +4279,7 @@ void PPUTranslator::FMADD(ppu_opcode_t op)
} }
else else
{ {
result = m_ir->CreateFSub(m_ir->CreateFMul(a, c), b); result = m_ir->CreateFAdd(m_ir->CreateFMul(a, c), b);
} }
SetFpr(op.frd, result); SetFpr(op.frd, result);