Not safe to change the rounding mode function pointer in GenerateCode

This commit is contained in:
Henrik Rydgard committed 2015-10-10 16:46:07 +02:00
1 parent 65ee3723d3
commit 92f7f459dc
3 files changed
+2 -3

No files matched your search

-2
View File
@@ -316,8 +316,6 @@ void Arm64Jit::GenerateFixedCode(const JitOptions &jo) {
// Don't forget to zap the instruction cache! This must stay at the end of this function.
FlushIcache();
js.currentRoundingFunc = convertS0ToSCRATCH1[0];
}
} // namespace MIPSComp
+1 -1
View File
@@ -70,8 +70,8 @@ Arm64Jit::Arm64Jit(MIPSState *mips) : blocks(mips, this), gpr(mips, &js, &jo), f
fpr.SetEmitter(this, &fp);
AllocCodeSpace(1024 * 1024 * 16); // 32MB is the absolute max because that's what an ARM branch instruction can reach, backwards and forwards.
GenerateFixedCode(jo);
js.startDefaultPrefix = mips_->HasDefaultPrefix();
js.currentRoundingFunc = convertS0ToSCRATCH1[0];
}
Arm64Jit::~Arm64Jit() {
+1
View File
@@ -126,6 +126,7 @@ Jit::Jit(MIPSState *mips)
fpr.SetEmitter(this);
AllocCodeSpace(1024 * 1024 * 16);
GenerateFixedCode(jo);
safeMemFuncs.Init(&thunks);
js.startDefaultPrefix = mips_->HasDefaultPrefix();