mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Jit64: Increase nearcode/farcode size
This commit is contained in:
@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
// a bit of a hack; the MMU results in a vast amount more code ending up in the far cache,
|
// a bit of a hack; the MMU results in a vast amount more code ending up in the far cache,
|
||||||
// mostly exception handling, so give it a whole bunch more space if the MMU is on.
|
// mostly exception handling, so give it a whole bunch more space if the MMU is on.
|
||||||
constexpr size_t FARCODE_SIZE = 1024 * 1024 * 8;
|
constexpr size_t FARCODE_SIZE = 1024 * 1024 * 64;
|
||||||
constexpr size_t FARCODE_SIZE_MMU = 1024 * 1024 * 48;
|
constexpr size_t FARCODE_SIZE_MMU = 1024 * 1024 * 128;
|
||||||
|
|
||||||
// A place to throw blocks of code we don't want polluting the cache, e.g. rarely taken
|
// A place to throw blocks of code we don't want polluting the cache, e.g. rarely taken
|
||||||
// exception branches.
|
// exception branches.
|
||||||
|
@ -20,4 +20,4 @@ constexpr Gen::X64Reg RMEM = Gen::RBX;
|
|||||||
// to address as much as possible in a one-byte offset form.
|
// to address as much as possible in a one-byte offset form.
|
||||||
constexpr Gen::X64Reg RPPCSTATE = Gen::RBP;
|
constexpr Gen::X64Reg RPPCSTATE = Gen::RBP;
|
||||||
|
|
||||||
constexpr size_t CODE_SIZE = 1024 * 1024 * 32;
|
constexpr size_t CODE_SIZE = 1024 * 1024 * 128;
|
||||||
|
Reference in New Issue
Block a user