mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 04:03:49 +01:00
Not safe to change the rounding mode function pointer in GenerateCode
This commit is contained in:
1 parent
65ee3723d3
commit
92f7f459dc
3 files changed
+2
-3
No files matched your search
@@ -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
|
||||
@@ -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() {
|
||||
|
||||
@@ -126,6 +126,7 @@ Jit::Jit(MIPSState *mips)
|
||||
fpr.SetEmitter(this);
|
||||
AllocCodeSpace(1024 * 1024 * 16);
|
||||
GenerateFixedCode(jo);
|
||||
|
||||
safeMemFuncs.Init(&thunks);
|
||||
|
||||
js.startDefaultPrefix = mips_->HasDefaultPrefix();
|
||||
|
||||
Reference in new issue
Block a user