Skip to content

Commit

Permalink
Merge pull request #7217 from hilesaz/master
Browse files Browse the repository at this point in the history
Fix to VFPU register allocation. Fixes #7174
  • Loading branch information
hrydgard committed Dec 23, 2014
2 parents 53ab7ab + a9b7656 commit 98f1ac9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Core/MIPS/x86/Jit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ JitOptions::JitOptions()
continueBranches = false;
continueJumps = false;
continueMaxInstructions = 300;
enableVFPUSIMD = false;
enableVFPUSIMD = true;
// Set by Asm if needed.
reserveR15ForAsm = false;
}
Expand Down
3 changes: 3 additions & 0 deletions Core/MIPS/x86/RegCacheFPU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,9 @@ X64Reg FPURegCache::LoadRegsVS(const u8 *v, int n) {
for (int i = 0; i < 4; ++i) {
xrsLoaded[i] = false;
}
for (int i = 2; i < n; ++i){
xrs[i] = INVALID_REG;
}
regsLoaded = 0;
}

Expand Down

0 comments on commit 98f1ac9

Please sign in to comment.