mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
![Sintendo](/assets/img/avatar_default.png)
Prior to this commit, the emitter would unconditionally emit a 10-byte instruction known as MOVABS when loading a 64-bit immediate to a register. 0: 48 b8 ef be ad de ff movabs rax,0xffffffffdeadbeef 7: ff ff ff With this change, it will instead emit a 7-byte instruction when it is possible to express the 64-bit immediate using a signed 32-bit value. 0: 48 c7 c0 ef be ad de mov rax,0xffffffffdeadbeef