Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Jit64: fix typo in ps_sel and re-enable it
  • Loading branch information
Tilka authored and degasus committed Nov 7, 2013
1 parent 2f7ca68 commit 201c4c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Source/Core/Core/Src/PowerPC/Jit64/Jit_Paired.cpp
Expand Up @@ -40,12 +40,9 @@ void Jit64::ps_sel(UGeckoInstruction inst)
INSTRUCTION_START
JITDISABLE(bJITPairedOff)

Default(inst); return;

if (inst.Rc) {
Default(inst); return;
}
// GRR can't get this to work 100%. Getting artifacts in D.O.N. intro.
int d = inst.FD;
int a = inst.FA;
int b = inst.FB;
Expand All @@ -59,7 +56,7 @@ void Jit64::ps_sel(UGeckoInstruction inst)
MOVAPD(XMM7, fpr.R(a));
CMPPD(XMM7, M((void*)psZeroZero), 1); //less-than = 111111
MOVAPD(XMM6, R(XMM7));
ANDPD(XMM7, fpr.R(d));
ANDPD(XMM7, fpr.R(b));
ANDNPD(XMM6, fpr.R(c));
MOVAPD(fpr.RX(d), R(XMM7));
ORPD(fpr.RX(d), R(XMM6));
Expand Down

0 comments on commit 201c4c6

Please sign in to comment.