[jit] Increase x86_64 default code size to full 2GiB hugepage
All checks were successful
eden-license / license-header (pull_request) Successful in 23s

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-08-26 07:48:17 +00:00 committed by crueter
parent 21cd44ec04
commit 3a6d31235c
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ArmDynarmic32::MakeJit(Common::PageTable* pa
#ifdef ARCHITECTURE_arm64 #ifdef ARCHITECTURE_arm64
config.code_cache_size = std::uint32_t(128_MiB); config.code_cache_size = std::uint32_t(128_MiB);
#else #else
config.code_cache_size = std::uint32_t(512_MiB); config.code_cache_size = std::uint32_t(2_GiB);
#endif #endif
// Allow memory fault handling to work // Allow memory fault handling to work

View file

@ -273,7 +273,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ArmDynarmic64::MakeJit(Common::PageTable* pa
#ifdef ARCHITECTURE_arm64 #ifdef ARCHITECTURE_arm64
config.code_cache_size = std::uint32_t(128_MiB); config.code_cache_size = std::uint32_t(128_MiB);
#else #else
config.code_cache_size = std::uint32_t(512_MiB); config.code_cache_size = std::uint32_t(2_GiB);
#endif #endif
// Allow memory fault handling to work // Allow memory fault handling to work