ARMJIT: Disable vsgn, reported to break Miami Vice

This commit is contained in:
Henrik Rydgard 2013-11-23 13:00:35 +01:00
parent ab6bdfa84d
commit db016f7001

View file

@ -35,7 +35,7 @@
// All functions should have CONDITIONAL_DISABLE, so we can narrow things down to a file quickly.
// Currently known non working ones should have DISABLE.
// #define CONDITIONAL_DISABLE { fpr.ReleaseSpillLocks(); Comp_Generic(op); return; }
// #define CONDITIONAL_DISABLE { fpr.ReleaseSpillLocksAndDiscardTemps(); Comp_Generic(op); return; }
#define CONDITIONAL_DISABLE ;
#define DISABLE { fpr.ReleaseSpillLocksAndDiscardTemps(); Comp_Generic(op); return; }
#define NEON_IF_AVAILABLE(func) { if (jo.useNEONVFPU) { func(op); return; } }
@ -51,6 +51,8 @@
#define _IMM16 (signed short)(op & 0xFFFF)
#define _IMM26 (op & 0x03FFFFFF)
namespace MIPSComp
{
// Vector regs can overlap in all sorts of swizzled ways.
@ -1822,6 +1824,8 @@ namespace MIPSComp
}
void Jit::Comp_Vsgn(MIPSOpcode op) {
DISABLE; // Breaks Miami Vice
NEON_IF_AVAILABLE(CompNEON_Vsgn);
CONDITIONAL_DISABLE;
if (js.HasUnknownPrefix()) {