dolphin/Source
Sintendo cde3a3b448 x64Emitter: Avoid 8-bit displacement when possible
Due to the way the ModRM encoding works on x86, memory addressing
combinations involving RBP or R13 need an additional byte for an 8-bit
displacement of zero.

However, this was also applied in cases where it is unnecessary,
effectively wasting a byte.

- MatR with RSP or R12

8B 44 24 00          mov         eax,dword ptr [rsp]
8B 04 24             mov         eax,dword ptr [rsp]

- MRegSum with base != RBP or R13

46 8D 7C 37 00       lea         r15d,[rdi+r14]
46 8D 3C 37          lea         r15d,[rdi+r14]

- MComplex without offset

8B 4C CA 00          mov         ecx,dword ptr [rdx+rcx*8]
8B 0C CA             mov         ecx,dword ptr [rdx+rcx*8]
2020-01-13 08:43:42 +01:00
..
Android Android: update to Gradle 3.5.3 2019-12-06 12:13:53 -05:00
Core x64Emitter: Avoid 8-bit displacement when possible 2020-01-13 08:43:42 +01:00
DSPSpy
DSPTool Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
PCH Add an ARM64 target to Visual Studio projects 2019-12-28 19:20:41 +10:00
UnitTests x64Emitter: Unit test memory addressing modes 2020-01-13 08:43:30 +01:00
VSProps DolphinQt: Support compiling on ARM64 2020-01-12 15:23:42 +10:00
.clang-format
CMakeLists.txt Merge pull request #8388 from jordan-woyak/cmake-export-compile-commands 2019-11-08 11:07:06 +10:00
dolphin-emu.sln DolphinQt: Support compiling on ARM64 2020-01-12 15:23:42 +10:00