dolphin/Source
Sintendo 352cbc4772 JitArm64_Integer: cmp - Subtract shifted 12-bit constant
You can encode a shifted 12-bit immediate in a SUB instruction on ARM64.
Constants in this range do not need to be sign extended, so we can
exploit this to avoid materializing the immediate.

This approach saves an instruction if it does not need to be
materialized in a register afterwards. Otherwise, we just materialize
it later and the total number of instructions stays the same.

Before:
0x52a00099   mov    w25, #0x40000             ; =262144
0x93407f7a   sxtw   x26, w27
0xcb39c35a   sub    x26, x26, w25, sxtw

After:
0x93407f7a   sxtw   x26, w27
0xd141035a   sub    x26, x26, #0x40, lsl #12  ; =0x40000
2025-02-02 12:00:44 +01:00
..
Android Clean up CRLF line endings 2025-01-12 11:06:04 +01:00
Core JitArm64_Integer: cmp - Subtract shifted 12-bit constant 2025-02-02 12:00:44 +01:00
DSPSpy Simplify std::fill with std::fill_n 2024-10-07 15:34:56 -07:00
DSPTool GDBStub: Signal Breakpoint Changes To Host 2024-11-15 15:12:11 -08:00
PCH
UnitTests Merge pull request #13204 from LillyJadeKatrin/retroachievements-allow-batch 2025-01-20 23:35:17 +01:00
VSProps VSProps: Remove unused Steam preprocessor definition 2025-01-25 02:42:26 -05:00
.clang-format
CMakeLists.txt
dolphin-emu.sln