Browse Source

[jit] Increase x86_64 default code size to full 2GiB hugepage

Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/318/head
lizzie 7 months ago
committed by crueter
parent
commit
3a6d31235c
  1. 2
      src/core/arm/dynarmic/arm_dynarmic_32.cpp
  2. 2
      src/core/arm/dynarmic/arm_dynarmic_64.cpp

2
src/core/arm/dynarmic/arm_dynarmic_32.cpp

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

2
src/core/arm/dynarmic/arm_dynarmic_64.cpp

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

Loading…
Cancel
Save