summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManager.cpp
diff options
context:
space:
mode:
authorSintendo <bram.speeckaert@gmail.com>2020-04-19 23:13:02 +0200
committerSintendo <bram.speeckaert@gmail.com>2020-04-21 22:36:20 +0200
commit24816605192412c0eb63f24b8d0b8ba97017846d (patch)
treec8394465da507f33ebc241dd8c07d5276934fb82 /Source/Core/VideoCommon/FramebufferManager.cpp
parent1c25e6352a742542506100e93b370d8185b7a821 (diff)
Jit64: addx - Emit MOV when possible
When the source registers are a simple register and a constant zero and overflow isn't needed, emitting LEA is kinda silly. This will occasionally save a single byte for certain registers due to how x86 encoding works. More importantly, LEA takes up execution resources while MOV does not. Before: 41 8D 7D 00 lea edi,[r13] After: 41 8B FD mov edi,r13d
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.cpp')
0 files changed, 0 insertions, 0 deletions