diff options
| author | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 12:21:24 +0100 |
|---|---|---|
| committer | Bram Speeckaert <bram.speeckaert@gmail.com> | 2022-11-01 12:21:24 +0100 |
| commit | d0de68c41bb7d1676ae99cf750cb1bbabb7317a1 (patch) | |
| tree | d90bbc8b9b1d6b42af2e2567967cee389782b1e7 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | ae6ce1df48578d381dd43450e00c4254bb8b490d (diff) | |
JitArm64: cmp - Optimize general case
We can merge an SXTW with the SUB, eliminating one instruction. In
addition, it is no longer necessary to allocate a temporary register,
reducing register pressure.
Before:
0x93407f59 sxtw x25, w26
0x93407ebb sxtw x27, w21
0xcb1b033b sub x27, x25, x27
After:
0x93407f5b sxtw x27, w26
0xcb35c37b sub x27, x27, w21, sxtw
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
