[core] Add option to control Host MMU Emulation #324

Merged
CamilleLaVey merged 25 commits from mmu-option into master 2025-08-27 23:02:47 +02:00
Member

This adds an option to enable or disable Host MMU Emulation.

This adds an option to enable or disable Host MMU Emulation.
MaranBr changed title from [core] Add an option to control Host MMU Emulation to [core] Add option to control Host MMU Emulation 2025-08-26 23:22:55 +02:00
Member

Rebase off #319

Rebase off #319
Lizzie reviewed 2025-08-27 01:08:50 +02:00
@ -159,2 +159,4 @@
return static_cast<bool>(values.cpuopt_fastmem);
}
if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Unsafe) {
return static_cast<bool>(values.cpuopt_unsafe_mmu);
Member

Do bool(values.cpuopt_unsafe_mmu) instead of using static_cast

Do `bool(values.cpuopt_unsafe_mmu)` instead of using static_cast
MaranBr marked this conversation as resolved
Lizzie reviewed 2025-08-27 01:11:37 +02:00
@ -119,2 +119,4 @@
// Cpu Unsafe
INSERT(Settings, cpuopt_unsafe_mmu, tr("Enable Host MMU Emulation"),
tr("This optimization speeds up memory accesses by the guest program.\nEnabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.\nDisabling this forces all memory accesses to use Software MMU Emulation."));
Member

"This optimization speeds up memory accesses by trapping them on-demand; using the OS exception handlers to accelerate guest to host translation as opposed to explicitly calling them on the generated JIT code"

"This optimization speeds up memory accesses by trapping them on-demand; using the OS exception handlers to accelerate guest to host translation as opposed to explicitly calling them on the generated JIT code"
MaranBr marked this conversation as resolved
MaranBr force-pushed mmu-option from 1b5ff73ddc to 1bf7b7aa93 2025-08-27 15:34:50 +02:00 Compare
PavelBARABANOV added 1 commit 2025-08-27 20:38:55 +02:00
android toggle
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
8143cada46
PavelBARABANOV added 1 commit 2025-08-27 21:09:03 +02:00
fix toggle
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
902369a252
MaranBr force-pushed mmu-option from 902369a252 to 927328b2fb 2025-08-27 22:08:50 +02:00 Compare
PavelBARABANOV added 13 commits 2025-08-27 22:24:06 +02:00
Signed-off-by: crueter <crueter@eden-emu.dev>
Signed-off-by: crueter <crueter@eden-emu.dev>
fix backend
All checks were successful
eden-license / license-header (pull_request) Successful in 35s
1bf7b7aa93
Signed-off-by: crueter <crueter@eden-emu.dev>
android toggle
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
8143cada46
fix toggle
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
902369a252
Merge branch 'mmu-option' of https://git.eden-emu.dev/eden-emu/eden into mmu-option
All checks were successful
eden-license / license-header (pull_request) Successful in 21s
8b29992ef2
CamilleLaVey approved these changes 2025-08-27 22:24:38 +02:00
Dismissed
crueter approved these changes 2025-08-27 22:25:11 +02:00
Dismissed
MaranBr added 1 commit 2025-08-27 22:56:43 +02:00
Disable 'Flush log output on each line' by default
All checks were successful
eden-license / license-header (pull_request) Successful in 23s
7814f33d50
MaranBr dismissed CamilleLaVey's review 2025-08-27 22:56:43 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

MaranBr dismissed crueter's review 2025-08-27 22:56:43 +02:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

CamilleLaVey approved these changes 2025-08-27 22:57:57 +02:00
CamilleLaVey merged commit 7f482d0730 into master 2025-08-27 23:02:47 +02:00
CamilleLaVey deleted branch mmu-option 2025-08-27 23:02:48 +02:00
Sign in to join this conversation.
No description provided.