[ARM] Fixes ps_madd implementation.

This commit is contained in:
Ryan Houdek 2013-09-12 10:30:52 +00:00
parent 8882d27689
commit aa8f0c2ca4
1 changed files with 4 additions and 6 deletions

View File

@ -53,8 +53,6 @@ void JitArm::ps_madd(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITPairedOff)
Default(inst); return;
u32 a = inst.FA, b = inst.FB, c = inst.FC, d = inst.FD;
if (inst.Rc) {
@ -72,11 +70,11 @@ void JitArm::ps_madd(UGeckoInstruction inst)
ARMReg V0 = fpr.GetReg();
ARMReg V1 = fpr.GetReg();
VMOV(V0, vC0);
VMOV(V1, vC1);
VMOV(V0, vB0);
VMOV(V1, vB1);
VMLA(V0, vA0, vB0);
VMLA(V1, vA1, vB1);
VMLA(V0, vA0, vC0);
VMLA(V1, vA1, vC1);
VMOV(vD0, V0);
VMOV(vD1, V1);