mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
arm64jit: Autodetect pointerify support.
Also, re-enable static alloc without pointerify, it works now.
This commit is contained in:
parent
2e1d85a55b
commit
08e85d0cd4
2 changed files with 6 additions and 4 deletions
|
@ -66,6 +66,11 @@ using namespace Arm64Gen;
|
|||
using namespace Arm64JitConstants;
|
||||
|
||||
Arm64Jit::Arm64Jit(MIPSState *mips) : blocks(mips, this), gpr(mips, &js, &jo), fpr(mips, &js, &jo), mips_(mips), fp(this) {
|
||||
// Automatically disable incompatible options.
|
||||
if (((intptr_t)Memory::base & 0x00000000FFFFFFFFUL) != 0) {
|
||||
jo.enablePointerify = false;
|
||||
}
|
||||
|
||||
logBlocks = 0;
|
||||
dontLogBlocks = 0;
|
||||
blocks.Init();
|
||||
|
|
|
@ -54,11 +54,8 @@ namespace MIPSComp {
|
|||
enablePointerify = false;
|
||||
#if PPSSPP_ARCH(ARM64)
|
||||
useStaticAlloc = true;
|
||||
// iOS/etc. may disable at runtime if Memory::base is not nicely aligned.
|
||||
enablePointerify = true;
|
||||
#endif
|
||||
#if PPSSPP_PLATFORM(IOS)
|
||||
useStaticAlloc = false;
|
||||
enablePointerify = false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue