dingusppc/cpu/ppc
joevt 267a9448ea ppctest: Fix floating-point tests.
genppctests.py
- Fix incorrect bits for some floating-point instruction opcodes or fields.
- Use separate register for FP results like DolphinPPCTests does.
- Remove extra FMULS.
- Use a regular expression for parsing ppcfloattest.txt. Don't parse the values, just put them in the output ppcloattests.csv file.

ppcfloattest.txt
- Clear crf0 and crf7 because we only care about crf1.
- Use values from DolphinPPCTests (0.0, 0.5, 1.0, 3.5, DBL_MAX, FLT_MAX, 2.4679999352, 4.9359998704, etc.). Some of the values were rounded. This will un-round them. Specify snan or qnan instead of nan.
- One of the FCMPO and FCMPU tests had qnan instead of snan input values.

ppcfloattest.csv
- Regenerate this file using the updated genppctests.py which uses the updated ppcfloattest.txt.

ppctests
- Update double_from_string to be able to parse the new values (snan, qnan, FLT_MAX, DBL_MAX).
2024-02-10 14:56:21 -07:00
..
test ppctest: Fix floating-point tests. 2024-02-10 14:56:21 -07:00
CMakeLists.txt Fix includes for loguru and SDL. 2021-09-16 00:46:38 +02:00
poweropcodes.cpp poweropcodes: fix div emulation. 2023-12-01 20:41:22 +01:00
ppcdisasm.cpp Fix comment. 2023-10-02 15:06:06 +02:00
ppcdisasm.h Add missing licence headers, update license date. 2021-10-23 21:00:31 +02:00
ppcemu.h ppcfpopcodes: Remove some globals. 2024-02-10 13:56:07 -07:00
ppcexceptions.cpp ppcfpopcodes: Fix fctiw/fctiwz. 2024-01-03 01:07:53 +01:00
ppcexec.cpp ppcfpopcodes: add 601 variant of mffs. 2024-02-10 12:51:48 -07:00
ppcfpopcodes.cpp ppcfpopcodes: Update header date. 2024-02-10 14:47:46 -07:00
ppcmmu.cpp CPU clean-up 2024-01-07 17:04:51 -07:00
ppcmmu.h Inline ppc_set_cur_instruction 2023-12-02 15:12:02 -08:00
ppcopcodes.cpp ppcfpopcodes: Remove some globals. 2024-02-10 13:56:07 -07:00