x86/microVU: Use 64-bit comparisons for quick lookup

This commit is contained in:
Connor McLaughlin 2022-10-12 17:25:05 +10:00 committed by refractionpcsx2
parent 375c0a02bb
commit bf95193d5b
2 changed files with 2 additions and 2 deletions

View File

@ -125,8 +125,7 @@ public:
{
for (microBlockLink* linkI = qBlockList; linkI != NULL; linkI = linkI->next)
{
if (linkI->block.pState.quick32[0] != pState->quick32[0]) continue;
if (linkI->block.pState.quick32[1] != pState->quick32[1]) continue;
if (linkI->block.pState.quick64[0] != pState->quick64[0]) continue;
if (doConstProp && (linkI->block.pState.vi15 != pState->vi15)) continue;
if (doConstProp && (linkI->block.pState.vi15v != pState->vi15v)) continue;
return &linkI->block;

View File

@ -51,6 +51,7 @@ union alignas(16) microRegInfo
u8 blockType; // 0 = Normal; 1,2 = Compile one instruction (E-bit/Branch Ending)
u8 r;
};
u64 quick64[2];
u32 quick32[4];
};