dolphin/Source
Bram Speeckaert 9d73583ea3 JitArm64: Skip redundant imm to register writes
When a guest register is an immediate, it may be necessary to move this
value into a register. This is handled by gpr.R(), which lacks context
on how the register will be used. This leads to cases where the
immediate is written to a register, only for it to be overwritten. Take
for example this code generated by srwx:

0x5280031b   mov    w27, #0x18
0x53187edb   lsr    w27, w22, #24

gpr.BindToRegister() does have this context through the do_load
parameter, but didn't handle immediates. By adding this logic, we can
intelligently skip the write when do_load is false.
2022-09-25 10:04:51 +02:00
..
Android Merge pull request #11060 from t895/dividers 2022-09-14 22:43:18 +02:00
Core JitArm64: Skip redundant imm to register writes 2022-09-25 10:04:51 +02:00
DSPSpy DSP LLE Recompiler: Fix LOOP and BLOOP when the counter is between 0x8001 and 0xFFFF 2022-06-05 19:34:31 -07:00
DSPTool Merge pull request #10933 from shuffle2/vs 2022-08-22 15:19:13 +02:00
PCH msbuild: refactor to reduce rebuild events 2022-08-02 22:24:22 -07:00
UnitTests VertexLoaderTest: Add NormalAll 2022-09-18 23:33:23 -07:00
VSProps Revert "windows: distribute vcredist loose files" 2022-09-16 10:33:39 +02:00
.clang-format Replace Cpp11 (A Deprecated alias for Latest) in .clang-format 2022-06-22 08:57:32 +10:00
CMakeLists.txt Move to C++20 for non-MSVC compilers 2022-07-30 23:35:53 +01:00
dolphin-emu.sln replace libpng with libspng 2022-07-25 18:32:16 -07:00