mirror of https://github.com/PCSX2/pcsx2.git
x86/microVU: Use 64-bit comparisons for quick lookup
This commit is contained in:
parent
375c0a02bb
commit
bf95193d5b
|
@ -125,8 +125,7 @@ public:
|
||||||
{
|
{
|
||||||
for (microBlockLink* linkI = qBlockList; linkI != NULL; linkI = linkI->next)
|
for (microBlockLink* linkI = qBlockList; linkI != NULL; linkI = linkI->next)
|
||||||
{
|
{
|
||||||
if (linkI->block.pState.quick32[0] != pState->quick32[0]) continue;
|
if (linkI->block.pState.quick64[0] != pState->quick64[0]) continue;
|
||||||
if (linkI->block.pState.quick32[1] != pState->quick32[1]) continue;
|
|
||||||
if (doConstProp && (linkI->block.pState.vi15 != pState->vi15)) continue;
|
if (doConstProp && (linkI->block.pState.vi15 != pState->vi15)) continue;
|
||||||
if (doConstProp && (linkI->block.pState.vi15v != pState->vi15v)) continue;
|
if (doConstProp && (linkI->block.pState.vi15v != pState->vi15v)) continue;
|
||||||
return &linkI->block;
|
return &linkI->block;
|
||||||
|
|
|
@ -51,6 +51,7 @@ union alignas(16) microRegInfo
|
||||||
u8 blockType; // 0 = Normal; 1,2 = Compile one instruction (E-bit/Branch Ending)
|
u8 blockType; // 0 = Normal; 1,2 = Compile one instruction (E-bit/Branch Ending)
|
||||||
u8 r;
|
u8 r;
|
||||||
};
|
};
|
||||||
|
u64 quick64[2];
|
||||||
u32 quick32[4];
|
u32 quick32[4];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue