mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-06-24 05:26:25 -05:00
The masking logic can be eliminated when the mask is known to be all ones. This case is very common. Before: 66 48 0F 7E F0 movq rax,xmm6 8B 55 5C mov edx,dword ptr [rbp+5Ch] 83 E0 FF and eax,0FFFFFFFFh 83 E2 00 and edx,0 0B C2 or eax,edx 89 45 5C mov dword ptr [rbp+5Ch],eax 48 8D 15 C3 3C FE 01 lea rdx,[19520020h] 83 E0 07 and eax,7 0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4] After: 66 48 0F 7E F0 movq rax,xmm6 89 45 5C mov dword ptr [rbp+5Ch],eax 48 8D 15 2A D1 FD 01 lea rdx,[19440000h] 83 E0 07 and eax,7 0F AE 14 82 ldmxcsr dword ptr [rdx+rax*4] |
||
|---|---|---|
| .. | ||
| AudioCommon | ||
| Common | ||
| Core | ||
| DiscIO | ||
| DolphinNoGUI | ||
| DolphinQt | ||
| InputCommon | ||
| MacUpdater | ||
| UICommon | ||
| UpdaterCommon | ||
| VideoBackends | ||
| VideoCommon | ||
| WinUpdater | ||
| CMakeLists.txt | ||
| DolphinLib.ARM64.props | ||
| DolphinLib.props | ||
| DolphinLib.vcxproj | ||
| DolphinLib.vcxproj.user | ||
| DolphinLib.x64.props | ||