summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorBram Speeckaert <bram.speeckaert@gmail.com>2022-11-01 11:10:00 +0100
committerBram Speeckaert <bram.speeckaert@gmail.com>2022-11-01 11:27:45 +0100
commitdbb8f588c7ac5c6c4586804c072c87de730ef00c (patch)
treeea59edb8a8de446e5a1351593eb3591918997dd8 /Source/Core/VideoCommon/CommandProcessor.cpp
parent5488d3b125dbec66ef4b35b124ce3c3c255b91fc (diff)
JitArm64: cmpl - Optimize a == 0 case
By explicitly handling this, we can avoid materializing zero in a register. Before: 0x52800019 mov w25, #0x0 0xb94087b6 ldr w22, [x29, #0x84] 0xcb16033b sub x27, x25, x22 After: 0xb94087b9 ldr w25, [x29, #0x84] 0xcb1903fb neg x27, x25
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions