dolphin/Source/Core
Pokechu22 f88b7ab6b3 DSP LLE JIT: Fix Update_SR_Register16_OverS32
There were 3 bugs here:

- The input register for the full register wasn't actually being used; it was read into RCX but RCX wasn't used by Update_SR_Register16_OverS32 (except as a scratch register).  The way the DSP LLE recompiler uses registers is in general confusing, so this commit changes a few uses to have a variable for the register being used, to make code a bit more readable.  (Default parameter values were also removed so that they needed to be explicitly specified).
- Update_SR_Register16 was doing a 64-bit test, when it should have been doing a 16-bit test.  For the most part this doesn't matter due to sign-extension, but it does come up with e.g. `ORI` or `ANDI`.
- Update_SR_Register16_OverS32 did the over s32 check, and then called Update_SR_Register16.  Update_SR_Register16 masks $sr with ~SR_CMP_MASK, clearing the over s32 bit.  Now the over s32 check is performed after calling Update_SR_Register16 (without masking a second time).  No official uCode cares about the over s32 bit.
2022-05-30 20:10:55 -07:00
..
AudioCommon cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
Common Convert PointerWrap::Mode to enum class 2022-05-25 13:16:46 -07:00
Core DSP LLE JIT: Fix Update_SR_Register16_OverS32 2022-05-30 20:10:55 -07:00
DiscIO cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
DolphinNoGUI cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
DolphinQt Windows: Remove unused Qt 5 code and references 2022-05-25 17:51:17 -07:00
DolphinTool cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
InputCommon cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
MacUpdater CMakeLists: Replace tab characters with spaces 2022-01-16 15:20:40 -08:00
UICommon Convert PointerWrap::Mode to enum class 2022-05-25 13:16:46 -07:00
UpdaterCommon cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
VideoBackends cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
VideoCommon Common: Refactor PointerWrap 2022-05-25 13:06:41 -07:00
WinUpdater cmake: Don't use PCH with Qt6. 2022-05-22 01:19:44 +02:00
CMakeLists.txt CMakeLists: Add option to disable automatic update support 2022-03-18 03:04:51 -04:00
DolphinLib.ARM64.props msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.props HW: Initial HSP implementation with ARAM expansion 2022-05-21 17:05:49 -07:00
DolphinLib.vcxproj msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.vcxproj.user msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00
DolphinLib.x64.props msbuild: use default Project attrs 2022-04-27 15:26:43 -07:00