Of course, found the real bug causing #3117 immediately after the revert. Fixed.

This commit is contained in:
Henrik Rydgard 2013-08-10 23:32:12 +02:00
parent a517b8d53f
commit 4c6006190f
2 changed files with 4 additions and 5 deletions

View file

@ -506,8 +506,8 @@ const MIPSInstruction tableVFPU3[8] = //011011 xxx
INSTR("vmax",&Jit::Comp_VecDo3, Dis_VectorSet3, Int_Vminmax, IS_VFPU|OUT_EAT_PREFIX),
{-2},
INSTR("vscmp",&Jit::Comp_Generic, Dis_VectorSet3, Int_Vscmp, IS_VFPU|OUT_EAT_PREFIX),
INSTR("vsge",&Jit::Comp_Generic, Dis_VectorSet3, Int_Vsge, IS_VFPU|OUT_EAT_PREFIX),
INSTR("vslt",&Jit::Comp_Generic, Dis_VectorSet3, Int_Vslt, IS_VFPU|OUT_EAT_PREFIX),
INSTR("vsge",&Jit::Comp_VecDo3, Dis_VectorSet3, Int_Vsge, IS_VFPU|OUT_EAT_PREFIX),
INSTR("vslt",&Jit::Comp_VecDo3, Dis_VectorSet3, Int_Vslt, IS_VFPU|OUT_EAT_PREFIX),
};
const MIPSInstruction tableVFPU4Jump[32] = //110100 xxxxx

View file

@ -679,13 +679,12 @@ void Jit::Comp_VecDo3(u32 op) {
}
break;
case 27: //VFPU3
switch ((op >> 23) & 3) {
switch ((op >> 23) & 7) {
case 2: // vmin
case 3: // vmax
break;
case 6: // vsge
case 7: // vslt
DISABLE; // Something is wrong :/
MOVSS(XMM0, M((void *)&one));
break;
default:
@ -759,7 +758,7 @@ void Jit::Comp_VecDo3(u32 op) {
}
break;
case 27: //VFPU3
switch ((op >> 23) & 3)
switch ((op >> 23) & 7)
{
case 2: // vmin
MINSS(tempxregs[i], fpr.V(tregs[i]));