[core] Add option to control Host MMU Emulation #324
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mmu-option"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds an option to enable or disable Host MMU Emulation.
[core] Add an option to control Host MMU Emulationto [core] Add option to control Host MMU EmulationRebase off #319
@ -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);
Do
bool(values.cpuopt_unsafe_mmu)
instead of using static_cast@ -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."));
"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"
1b5ff73ddc
to1bf7b7aa93
902369a252
to927328b2fb
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings