![]() |
|
JIT Compilation - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Android (https://forums.dolphin-emu.org/Forum-android) +--- Thread: JIT Compilation (/Thread-jit-compilation) |
JIT Compilation - ecritchl - 03-29-2019 On android, is code cache management an issue in terms of available resources, and can you alter the size of the code cache for the program? Also on android, can whole games typically be fit into the code cache? RE: JIT Compilation - JosJuice - 03-29-2019 It's not really a problem in most cases. If you want to alter the size of the JIT code cache, you need to edit the source code and build Dolphin on your own. RE: JIT Compilation - ecritchl - 04-06-2019 (03-29-2019, 07:05 PM)JosJuice Wrote: It's not really a problem in most cases.Thank you for the response! How would I go about changing the code cache size in the source code? Is there a variable that dictates how much memory the code cache gets relative to the rest of the program? RE: JIT Compilation - JosJuice - 04-06-2019 (04-06-2019, 01:03 PM)ecritchl Wrote: Thank you for the response! How would I go about changing the code cache size in the source code? Is there a variable that dictates how much memory the code cache gets relative to the rest of the program? I think it's this variable if you're on ARM: https://github.com/dolphin-emu/dolphin/blob/f7b334817d0c200037cf3d86b6eb10f7f4b123ca/Source/Core/Core/PowerPC/JitArm64/Jit.cpp#L30 And this one for x86-64? https://github.com/dolphin-emu/dolphin/blob/f006af441e87f0331ea39d38082a0a52a9b86277/Source/Core/Core/PowerPC/Jit64Common/Jit64Constants.h#L24 |