mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 15:08:22 +01:00
A64: Add enable_optimizations configuration option
Allow library users to disable optimizations for debugging reasons.
This commit is contained in:
parent
8bef1afb9a
commit
0c51313479
4 changed files with 42 additions and 4 deletions
|
|
@ -116,6 +116,14 @@ struct UserConfig {
|
|||
size_t processor_id = 0;
|
||||
ExclusiveMonitor* global_monitor = nullptr;
|
||||
|
||||
/// When set to false, this disables all optimizations than can't otherwise be disabled
|
||||
/// by setting other configuration options. This includes:
|
||||
/// - IR optimizations
|
||||
/// - Block linking optimizations
|
||||
/// - RSB optimizations
|
||||
/// This is intended to be used for debugging.
|
||||
bool enable_optimizations = true;
|
||||
|
||||
/// When set to true, UserCallbacks::DataCacheOperationRaised will be called when any
|
||||
/// data cache instruction is executed. Notably DC ZVA will not implicitly do anything.
|
||||
/// When set to false, UserCallbacks::DataCacheOperationRaised will never be called.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue