summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar MerryMage2020-07-11 16:26:06 +0100
committerGravatar MerryMage2020-07-11 16:38:38 +0100
commitda11a27f42f25a7f24c0b7cece8e499f34880fc8 (patch)
tree4dc55ca1a844aa8ac768e4016fab722986b252af /src
parentconfigure_cpu: Show/Hide debugging options (diff)
downloadyuzu-da11a27f42f25a7f24c0b7cece8e499f34880fc8.tar.gz
yuzu-da11a27f42f25a7f24c0b7cece8e499f34880fc8.tar.xz
yuzu-da11a27f42f25a7f24c0b7cece8e499f34880fc8.zip
configure_cpu: Add tooltips
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/configuration/configure_cpu.ui55
1 files changed, 54 insertions, 1 deletions
diff --git a/src/yuzu/configuration/configure_cpu.ui b/src/yuzu/configuration/configure_cpu.ui
index 27bd4aa42..308e70356 100644
--- a/src/yuzu/configuration/configure_cpu.ui
+++ b/src/yuzu/configuration/configure_cpu.ui
@@ -76,7 +76,7 @@
76 <bool>1</bool> 76 <bool>1</bool>
77 </property> 77 </property>
78 <property name="text"> 78 <property name="text">
79 <string>Keep these enabled. For debugging only.</string> 79 <string>Keep all of these enabled. For debugging only.</string>
80 </property> 80 </property>
81 </widget> 81 </widget>
82 </item> 82 </item>
@@ -85,6 +85,13 @@
85 <property name="text"> 85 <property name="text">
86 <string>Enable inline page tables</string> 86 <string>Enable inline page tables</string>
87 </property> 87 </property>
88 <property name="toolTip">
89 <string>
90 &lt;div style="white-space: nowrap"&gt;This optimization speeds up memory accesses by the guest program.&lt;/div&gt;
91 &lt;div style="white-space: nowrap"&gt;Enabling it inlines accesses to PageTable::pointers into emitted code.&lt;/div&gt;
92 &lt;div style="white-space: nowrap"&gt;Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.&lt;/div&gt;
93 </string>
94 </property>
88 </widget> 95 </widget>
89 </item> 96 </item>
90 <item> 97 <item>
@@ -92,6 +99,11 @@
92 <property name="text"> 99 <property name="text">
93 <string>Enable block linking</string> 100 <string>Enable block linking</string>
94 </property> 101 </property>
102 <property name="toolTip">
103 <string>
104 &lt;div&gt;This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.&lt;/div&gt;
105 </string>
106 </property>
95 </widget> 107 </widget>
96 </item> 108 </item>
97 <item> 109 <item>
@@ -99,6 +111,11 @@
99 <property name="text"> 111 <property name="text">
100 <string>Enable return stack buffer</string> 112 <string>Enable return stack buffer</string>
101 </property> 113 </property>
114 <property name="toolTip">
115 <string>
116 &lt;div&gt;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.&lt;/div&gt;
117 </string>
118 </property>
102 </widget> 119 </widget>
103 </item> 120 </item>
104 <item> 121 <item>
@@ -106,6 +123,11 @@
106 <property name="text"> 123 <property name="text">
107 <string>Enable fast dispatcher</string> 124 <string>Enable fast dispatcher</string>
108 </property> 125 </property>
126 <property name="toolTip">
127 <string>
128 &lt;div&gt;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.&lt;/div&gt;
129 </string>
130 </property>
109 </widget> 131 </widget>
110 </item> 132 </item>
111 <item> 133 <item>
@@ -113,6 +135,11 @@
113 <property name="text"> 135 <property name="text">
114 <string>Enable context elimination</string> 136 <string>Enable context elimination</string>
115 </property> 137 </property>
138 <property name="toolTip">
139 <string>
140 &lt;div&gt;Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.&lt;/div&gt;
141 </string>
142 </property>
116 </widget> 143 </widget>
117 </item> 144 </item>
118 <item> 145 <item>
@@ -120,6 +147,11 @@
120 <property name="text"> 147 <property name="text">
121 <string>Enable constant propagation</string> 148 <string>Enable constant propagation</string>
122 </property> 149 </property>
150 <property name="toolTip">
151 <string>
152 &lt;div&gt;Enables IR optimizations that involve constant propagation.&lt;/div&gt;
153 </string>
154 </property>
123 </widget> 155 </widget>
124 </item> 156 </item>
125 <item> 157 <item>
@@ -127,6 +159,11 @@
127 <property name="text"> 159 <property name="text">
128 <string>Enable miscellaneous optimizations</string> 160 <string>Enable miscellaneous optimizations</string>
129 </property> 161 </property>
162 <property name="toolTip">
163 <string>
164 &lt;div&gt;Enables miscellaneous IR optimizations.&lt;/div&gt;
165 </string>
166 </property>
130 </widget> 167 </widget>
131 </item> 168 </item>
132 <item> 169 <item>
@@ -134,6 +171,12 @@
134 <property name="text"> 171 <property name="text">
135 <string>Enable misalignment check reduction</string> 172 <string>Enable misalignment check reduction</string>
136 </property> 173 </property>
174 <property name="toolTip">
175 <string>
176 &lt;div style="white-space: nowrap"&gt;When enabled, a misalignment is only triggered when an access crosses a page boundary.&lt;/div&gt;
177 &lt;div style="white-space: nowrap"&gt;When disabled, a misalignment is triggered on all misaligned accesses.&lt;/div&gt;
178 </string>
179 </property>
137 </widget> 180 </widget>
138 </item> 181 </item>
139 </layout> 182 </layout>
@@ -154,6 +197,16 @@
154 </property> 197 </property>
155 </spacer> 198 </spacer>
156 </item> 199 </item>
200 <item>
201 <widget class="QLabel" name="label_disable_info">
202 <property name="text">
203 <string>CPU settings are available only when game is not running.</string>
204 </property>
205 <property name="wordWrap">
206 <bool>true</bool>
207 </property>
208 </widget>
209 </item>
157 </layout> 210 </layout>
158 </widget> 211 </widget>
159 <resources/> 212 <resources/>