dolphin/Source/DSPSpy
Pokechu22 14119c86a4 DSPInterpreter: Fix IsLess
`IsLess` would incorrectly return true if both `SR_OVERFLOW` and `SR_SIGN` are set, as `(sr & SR_OVERFLOW) != (sr & SR_SIGN)` becomes `SR_OVERFLOW != SR_SIGN` which is true as the two masks are different.  This broke in e651592ef5.

This issue only affected the DSP LLE Interpreter, and not the DSP LLE JIT.

I've also included a simple test case for this.  `ax0.l` (on the top left) is set to 0 if the instruction following `IFL` does not execute and to 1 if it is executed.
2021-08-15 19:45:44 -07:00
..
templates tstaxh SR 2009-08-13 16:13:49 +00:00
tests DSPInterpreter: Fix IsLess 2021-08-15 19:45:44 -07:00
util dspspy: fix a bug with ConsoleHelper 2009-08-16 00:37:01 +00:00
build.sh Remove unnecessary Src/ folders 2013-12-31 14:03:19 -05:00
Config.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
ConsoleHelper.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
dsp_interface.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
dsp_interface.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
dspregs.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DSPSpy.vcproj DSPSpy: Remove unused stubs 2019-12-30 13:33:43 +01:00
DSPSpy.vcxproj DSPSpy: Remove unused stubs 2019-12-30 13:33:43 +01:00
DSPSpy.vcxproj.filters DSPSpy: Remove unused stubs 2019-12-30 13:33:43 +01:00
gba.txt DSPSpy: save and restore $sr properly 2020-06-08 04:21:41 +01:00
main_spy.cpp DSPSpy: fix $prod printing 2021-07-25 15:15:15 +01:00
Makefile DSPSpy: sync Makefile with current devkitPro template 2020-06-08 04:21:41 +01:00
mem_dump.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
real_dsp.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
real_dsp.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
sbuild.sh DSP: add a crazy little shell script that will build DSPCore into DSPSpy. make DSPCore build in gekko mode. re-add GC-pad controls to DSPSpy (now it can run inside Dolphin, kind of neat but not super useful for the obvious reasons). 2009-05-03 11:15:17 +00:00