mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-04 04:32:50 +01:00
configure_cpu: Add tooltips
This commit is contained in:
parent
505aa3a4c1
commit
da11a27f42
1 changed files with 54 additions and 1 deletions
|
@ -76,7 +76,7 @@
|
||||||
<bool>1</bool>
|
<bool>1</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Keep these enabled. For debugging only.</string>
|
<string>Keep all of these enabled. For debugging only.</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -85,6 +85,13 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable inline page tables</string>
|
<string>Enable inline page tables</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div style="white-space: nowrap">This optimization speeds up memory accesses by the guest program.</div>
|
||||||
|
<div style="white-space: nowrap">Enabling it inlines accesses to PageTable::pointers into emitted code.</div>
|
||||||
|
<div style="white-space: nowrap">Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -92,6 +99,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable block linking</string>
|
<string>Enable block linking</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -99,6 +111,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable return stack buffer</string>
|
<string>Enable return stack buffer</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -106,6 +123,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable fast dispatcher</string>
|
<string>Enable fast dispatcher</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -113,6 +135,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable context elimination</string>
|
<string>Enable context elimination</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -120,6 +147,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable constant propagation</string>
|
<string>Enable constant propagation</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>Enables IR optimizations that involve constant propagation.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -127,6 +159,11 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable miscellaneous optimizations</string>
|
<string>Enable miscellaneous optimizations</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div>Enables miscellaneous IR optimizations.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
@ -134,6 +171,12 @@
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Enable misalignment check reduction</string>
|
<string>Enable misalignment check reduction</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>
|
||||||
|
<div style="white-space: nowrap">When enabled, a misalignment is only triggered when an access crosses a page boundary.</div>
|
||||||
|
<div style="white-space: nowrap">When disabled, a misalignment is triggered on all misaligned accesses.</div>
|
||||||
|
</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -154,6 +197,16 @@
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_disable_info">
|
||||||
|
<property name="text">
|
||||||
|
<string>CPU settings are available only when game is not running.</string>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
|
Loading…
Reference in a new issue