Ryan Houdek
edad24479b
unittests: Support skipping unit tests based on host feature support
...
For these unit tests we no longer need to put them in the disabled tests
file. Instead it will be skipped if the host doesn't support the feature
required.
2022-08-14 20:04:26 -07:00
Ryan Houdek
62c446a5f9
Adds more unit tests for conversion operations
2021-06-08 06:54:11 -07:00
Ryan Houdek
18fe049976
Extends a couple tests to ensure correct zext
2021-06-08 06:54:08 -07:00
Ryan Houdek
05ee4e6d7a
Adds cvtsi2ss unit test to ensure proper 64bit->float conversion
2020-12-30 10:07:12 -08:00
Ryan Houdek
56f46a6abb
Extends LZCNT unit tests
...
Ensures proper behaviour while the other tests were mainly testing flags
2020-10-04 16:13:50 -07:00
Ryan Houdek
04d2d70e51
Implements LZCNT unit test
...
Verified correct with the hsot unit test runner
2020-09-23 22:35:32 -07:00
Ryan Houdek
6d8406b613
Fixes failing unit tests that were just fixed
2020-09-23 09:27:02 -07:00
Ryan Houdek
0c7c7ba670
Removes undefined behaviour in our unit tests
...
Most of these were relying on the upper 16bits of the 80bit MM registers
to be zero.
This isn't necessarily true as one will find out when running this under
the host runner.
2020-09-22 18:32:19 -07:00
Ryan Houdek
8f2f046fc8
Merge pull request #157 from Sonicadvance1/rcp
...
Implements support for rcpps/rcpss
2020-04-29 16:03:38 -07:00
Ryan Houdek
3d782f0930
Merge pull request #156 from Sonicadvance1/movsldup
...
Implements support for movsldup
2020-04-29 12:27:37 -07:00
Ryan Houdek
bf5dbdf143
Adds reciprocal unit tests
2020-04-24 23:36:01 -07:00
Ryan Houdek
cd0f43a5bc
Implements unit test for movsldup
2020-04-24 23:14:27 -07:00
Ryan Houdek
cd50ea7c57
Implements unit tests for the two new move temporal instructions
2020-04-24 23:05:12 -07:00
Ryan Houdek
7f64999233
Extends cvtsi2ss unit test to ensure 32bit correctness
...
This puts some data in the upper 32bits and makes the number negative to
see if the code gets translated incorrectly.
The x86 JIT currently hits this
2020-04-16 12:08:39 -07:00
Stefanos Kornilios Mitsis Poiitidis
ba3ed680a8
Merge pull request #81 from Sonicadvance1/cvttps2dq
...
Implements CVTTPS2DQ x86 instruction
2020-04-06 18:12:15 +03:00
Ryan Houdek
812c8a9b4d
Unit test for the cvttps2dq instruction
2020-04-05 14:26:17 -07:00
Stefanos Kornilios Mitsis Poiitidis
227d6dc8c1
Merge pull request #83 from Sonicadvance1/unordered_ordered_compare
...
Implements unordered and ordered compare IR op
2020-04-05 13:02:44 +03:00
Ryan Houdek
b0c9ae848b
Implements unit tests for the unordered and ordered comparisons
2020-04-04 23:19:30 -07:00
Ryan Houdek
842ef332eb
Implements 71 new MMX unit tests
2020-04-01 20:04:05 -07:00
Ryan Houdek
7cdaefccd4
Adds CVTSS2SI unit test
2020-03-22 13:06:19 -07:00
Ryan Houdek
71b507f8de
Extends CVTTSS2SI test to test negative numbers
2020-03-22 13:05:34 -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
5bf9dd13b3
Adds movshdup unit test
2020-03-12 18:31:41 -07:00
Ryan Houdek
242c388861
Adds REP table unit tests for what we support
2020-03-06 09:08:50 +02:00