Jit64: fix typo in ps_sel and re-enable it

This commit is contained in:
Tillmann Karras 2013-11-01 23:36:56 +01:00 committed by degasus
parent 2f7ca688ae
commit 201c4c65a5
1 changed files with 1 additions and 4 deletions

View File

@ -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;
@ -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));