Merge pull request #7217 from hilesaz/master

Fix to VFPU register allocation. Fixes #7174
This commit is contained in:
Henrik Rydgård 2014-12-23 13:28:53 +01:00
commit 98f1ac9153
2 changed files with 4 additions and 1 deletions

View File

@ -121,7 +121,7 @@ JitOptions::JitOptions()
continueBranches = false;
continueJumps = false;
continueMaxInstructions = 300;
enableVFPUSIMD = false;
enableVFPUSIMD = true;
// Set by Asm if needed.
reserveR15ForAsm = false;
}

View File

@ -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;
}