687 Commits

Author SHA1 Message Date
Ryan Houdek
d1154bcb9c Implements BT op unit tests with GPR destination 2020-03-17 09:28:01 -07:00
Ryan Houdek
38cb3d6578
Merge pull request #34 from Sonicadvance1/unittests/known_failures
Adds known failure support to unit test runner
2020-03-17 09:22:55 -07:00
Ryan Houdek
6305b40a33 Adds known failure support to unit test runner
This will allow us to add unit tests that have known failures like
unsupported features

Additionally if the test passes and is on the known failure list then it
still fails since its state has changed
2020-03-16 12:35:09 -07:00
Ryan Houdek
b28001ff2b Updates tzcnt unit test to handle more zero input cases
We weren't testing for 32bit and 16bit tzcnt with zero for the input
operand
2020-03-15 00:24:59 -07:00
Ryan Houdek
0e80dc27cc
Merge pull request #21 from Sonicadvance1/movshdup
Implements Movshdup instruction
2020-03-13 15:52:24 -07:00
Ryan Houdek
30338dd7f4
Merge pull request #20 from Sonicadvance1/pextrw
Implements PExtrw instruction
2020-03-13 15:52:09 -07:00
Ryan Houdek
78bcf3960d
Merge pull request #19 from Sonicadvance1/psrl_family
Implements PSRL{W,D,Q} instruction family
2020-03-13 15:51:58 -07:00
Ryan Houdek
5bf9dd13b3 Adds movshdup unit test 2020-03-12 18:31:41 -07:00
Ryan Houdek
f10674160d Implements pextrw unit test 2020-03-12 18:28:57 -07:00
Ryan Houdek
74a73c92a4 Implements PSRL{W,D,Q} unit tests 2020-03-12 18:24:03 -07:00
Ryan Houdek
d9bde8cfcf Implements unit tests for CMPS
Isn't all encompassing, we're still missing REPNE tests for the larger sizes
2020-03-10 18:18:36 -07:00
Stefanos Kornilios Mitsis Poiitidis
963de98276
Merge pull request #7 from Sonicadvance1/unittests/primary_1
Primary table unit tests and a couple fixes
2020-03-10 15:26:05 +02:00
Stefanos Kornilios Mitsis Poiitidis
e2e9e1eb41
Merge pull request #9 from Sonicadvance1/unittests/stos
Adds unit tests for the STOS instruction family
2020-03-10 15:25:49 +02:00
Ryan Houdek
c51341294b Adds STOS unit tests
Tests all sizes that STOS supports, with the DF going up AND down.
2020-03-09 22:59:59 -07:00
Ryan Houdek
51458f75fb Adds MOVS unit tests
Tests all the sizes that MOVS supports, with the DF going up AND down.
2020-03-09 22:33:20 -07:00
Ryan Houdek
ee410cf1be Implements Primary table unit tests
Not full coverage, skips the string ops and doesn't confirm that flag
setting is correct. Those are forthcoming
2020-03-09 18:15:43 -07:00
Ryan Houdek
8e5fe4ba76 Implements the rest of the TwoByte table unit tests 2020-03-08 22:07:59 -07:00
Ryan Houdek
b227086cb1 Initial unit tests for the two byte table
Not yet complete, about halfway there
2020-03-07 21:54:43 -08:00
Ryan Houdek
0d5ac6b5cf Finishes unit tests for the primary group table 2020-03-07 21:54:25 -08:00
Ryan Houdek
a80abb6ed3 Implement unit tests for the group 1 primary group table 2020-03-06 22:11:36 -08:00
Ryan Houdek
242c388861 Adds REP table unit tests for what we support 2020-03-06 09:08:50 +02:00
Ryan Houdek
04bdb4a3de Finish REPNE table unit tests for current supported instructions 2020-03-06 09:08:50 +02:00
Ryan Houdek
b10f5d9550 Finish OpSize table unit tests for current supported instructions 2020-03-06 09:08:50 +02:00
Ryan Houdek
b9326ce613 Adds a bunch of new OpSize table unit tests 2020-03-06 09:08:50 +02:00
Ryan Houdek
5413ff3c0a Adds Secondary extension op unit tests 2020-03-06 09:08:50 +02:00
Ryan Houdek
b5aca4f43b Adds palignr unit tests 2020-03-06 09:08:50 +02:00
Ryan Houdek
9e6adb032e Add asm test files recursively to allow folder organization 2020-03-06 09:08:50 +02:00
Ryan Houdek
8afd8adde6 Removes broken simple_loop test 2020-03-06 09:08:50 +02:00
Ryan Houdek
e13d77215a Removes broken mul test 2020-03-06 09:08:50 +02:00
Scott Mansell
4abe6a9165 asm tests for fld/fadd 2020-03-06 09:08:47 +02:00
Scott Mansell
b2b501518a Fix some unit tests 2020-03-06 09:08:35 +02:00
Ryan Houdek
1151abbb64 Adds MOVHPD unit test 2020-03-06 09:08:25 +02:00
Ryan Houdek
f2c1feb61b Adds a couple of STOSQ unit tests
These were causing problems, might as well as make a unit test.
2020-03-06 09:08:25 +02:00
Ryan Houdek
d5b703aaea Adds PSLLDQ and PSRLDQ unit test 2020-03-06 09:08:25 +02:00
Ryan Houdek
1025ff75be Makes unit tests running a bit more complex
Runs the unit tests with a variety of options to try and catch common
problems that crop up.
2020-03-06 09:08:25 +02:00
Ryan Houdek
d57af761de Fixes a couple mistakes in the unit tests 2020-03-06 09:08:25 +02:00
Ryan Houdek
369686c992 Initial Commit 2020-03-06 09:08:13 +02:00