Files
dolphin/Source/Core/Core
Sintendo b7c3f91643 JitArm64_Integer: cmpl - Subtract 12-bit constant
You can encode a 12-bit immediate in a SUB instruction on ARM64. 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:
0x5280003a   mov    w26, #0x1                 ; =1
0xcb1a033b   sub    x27, x25, x26

After:
0xd100073b   sub    x27, x25, #0x1
2025-02-02 12:57:59 +01:00
..
2024-11-27 21:21:26 -05:00
2024-08-20 14:59:54 +02:00
2024-10-19 02:30:45 -07:00
2024-12-15 19:50:34 -08:00
2024-11-27 21:21:25 -05:00
2024-07-06 07:36:31 -04:00
2024-05-22 14:32:37 -04:00
2024-12-30 07:50:22 -08:00
2024-03-01 10:52:50 -08:00
2024-10-10 00:53:48 -07:00
…
2024-08-20 14:59:54 +02:00
…