diff options
| author | Sintendo <bram.speeckaert@gmail.com> | 2018-09-14 21:56:29 +0200 |
|---|---|---|
| committer | Sintendo <bram.speeckaert@gmail.com> | 2018-09-14 23:11:26 +0200 |
| commit | 575f1b309a4e6e9580bd62ab3c3e584811b4a9da (patch) | |
| tree | 0a5edc937026cd3da1bf0fa06eb77c0b8e779248 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | |
| parent | ce9e9186f715408af8d9abb60b73ccb1e4d3c474 (diff) | |
x64Emitter: short MOV for 64bit immediates (1)
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
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
0 files changed, 0 insertions, 0 deletions
