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
..
2021-07-05 04:35:56 +02:00
2021-08-03 23:37:50 -04:00
2021-08-11 18:07:43 +02:00
2021-07-05 04:35:56 +02:00
2021-08-15 19:45:44 -07:00
2021-08-06 15:55:50 -07:00
2021-08-11 18:07:43 +02:00
2021-08-13 13:24:38 -04:00
2021-07-22 01:16:20 -04:00
2021-08-09 18:25:35 +02:00
2021-08-11 18:07:43 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-08-11 18:07:43 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-08-09 18:48:58 -04:00
2021-07-05 04:35:56 +02:00
2021-08-11 18:07:43 +02:00
2021-08-11 18:07:43 +02:00
2021-07-13 16:42:35 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-08-15 04:41:49 +01:00
2021-08-15 04:41:49 +01:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-13 16:42:35 +02:00
2021-07-05 04:35:56 +02:00
2021-08-11 18:07:43 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-13 16:42:49 +02:00
2021-07-13 16:43:42 +02:00
2021-07-13 16:43:42 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-13 16:44:04 +02:00
2021-07-13 16:44:04 +02:00
2021-07-21 09:36:52 +02:00
2021-07-13 16:43:59 +02:00
2021-07-06 06:41:23 -04:00
2021-07-06 06:41:23 -04:00
2021-07-13 16:43:59 +02:00
2021-07-22 01:16:20 -04:00
2021-07-13 16:43:59 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-31 04:16:26 +01:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-22 01:16:20 -04:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00
2021-07-05 04:35:56 +02:00