configuration: Add settings to enable/disable specific CPU optimizations

This commit is contained in:
MerryMage 2020-07-11 14:26:36 +01:00
parent 12834a1c44
commit 79dfd272a9
17 changed files with 405 additions and 30 deletions

View file

@ -427,6 +427,16 @@ struct Values {
// Core
Setting<bool> use_multi_core;
// Cpu
bool cpuopt_page_tables;
bool cpuopt_block_linking;
bool cpuopt_return_stack_buffer;
bool cpuopt_fast_dispatcher;
bool cpuopt_context_elimination;
bool cpuopt_const_prop;
bool cpuopt_misc_ir;
bool cpuopt_reduce_misalign_checks;
// Renderer
Setting<RendererBackend> renderer_backend;
bool renderer_debug;
@ -505,7 +515,6 @@ struct Values {
bool dump_nso;
bool reporting_services;
bool quest_flag;
bool disable_cpu_opt;
bool disable_macro_jit;
// Misceallaneous