Commit Graph

16 Commits

Author SHA1 Message Date
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
dingusdev
c2a63bab09 FP Opcode Test Fixes 2021-10-30 16:43:13 -07:00
dingusdev
767735251b FP comp tests & various fixes 2021-10-24 14:00:35 -07:00
dingusdev
a28ef677fd Fixing FP mul ops & tests 2021-10-23 13:05:20 -07:00
dingusdev
fb277945c2 Floating point test fixes 2021-10-19 07:16:15 -07:00
dingusdev
3c7fc58ac0 Small test case fixes for floating points 2021-10-16 22:33:56 -07:00
dingusdev
7d7a4b453f Partial test file reading fix 2021-10-15 06:28:11 -07:00
dingusdev
9251745d6f Fixed floating-point test generation 2021-10-14 07:19:04 -07:00
dingusdev
07a4166eef Preliminary work on floating point tests 2021-06-25 21:20:53 -07:00
Maxim Poliakovski
8d03d24c77 Complete tests for the integer instructions. 2020-02-08 23:23:58 +01:00
Maxim Poliakovski
1c5d0e640e Add tests for all subtraction variants. 2020-02-04 01:00:37 +01:00
Maxim Poliakovski
d25ce6a244 Add tests for shifts and fix their emulation. 2020-02-03 22:59:47 +01:00
Maxim Poliakovski
cc7814a722 Fix ORIS bug in the test suite. 2020-02-01 00:42:57 +01:00
Maxim Poliakovski
a27d7436ad Fix ppctests.cpp and add more instructions. 2020-01-31 21:53:02 +01:00
Maxim Poliakovski
b007dbc743 More PPC instruction tests. 2020-01-31 18:04:50 +01:00
Maxim Poliakovski
7d7b0b7de3 Initial PPC emulation tests. 2020-01-31 04:10:53 +01:00