diff options
| author | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 11:10:00 +0100 |
|---|---|---|
| committer | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 11:27:45 +0100 |
| commit | dbb8f588c7ac5c6c4586804c072c87de730ef00c (patch) | |
| tree | ea59edb8a8de446e5a1351593eb3591918997dd8 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 5488d3b125dbec66ef4b35b124ce3c3c255b91fc (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
