CPU/Recompiler: Document ARM32 code size

Yikes, it's huge..
This commit is contained in:
Stenzek 2024-12-14 16:43:27 +10:00
parent 5cbb6b6163
commit c0c2e69b59
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ public:
static constexpr bool HAS_MEMORY_OPERANDS = false;
// A reasonable "maximum" number of bytes per instruction.
// Seems to hover around ~36-48 bytes without PGXP, and ~48-64 bytes with.
// Use an upper bound of 64 bytes to be safe.
static constexpr u32 MAX_NEAR_HOST_BYTES_PER_INSTRUCTION = 64;
static constexpr u32 MIN_CODE_RESERVE_FOR_BLOCK = 512;