576 Commits

Author SHA1 Message Date
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
056d017ac8
Merge pull request #160 from Sonicadvance1/horizontal_arith
Implements four new vector horizontal ALU ops
2020-04-29 12:56:26 -07:00
Ryan Houdek
8e13e404b1 Adds unit test for the four new horizontal vector ops 2020-04-29 12:47:27 -07:00
Ryan Houdek
772e47bf22
Merge pull request #165 from Sonicadvance1/pushf_unittest
Pushf and Popf unit tests
2020-04-29 12:31:11 -07:00
Ryan Houdek
2005a2ea3d
Merge pull request #164 from Sonicadvance1/fwait
Implements fwait as a nop
2020-04-29 12:30:45 -07:00
Ryan Houdek
f1403e5f54
Merge pull request #161 from Sonicadvance1/jrcxz
Implements JRCXZ in the OpcodeDispatcher
2020-04-29 12:30:25 -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
169875c34d
Merge pull request #155 from Sonicadvance1/non_temporal
Implements two non-temporal XMM move instructions
2020-04-29 12:27:22 -07:00
Ryan Houdek
589b6e6368 Implements a popf unit test 2020-04-26 00:14:51 -07:00
Ryan Houdek
bdf0008c61 Implements a pushf unit test
Missed this during the implementation.
Checks to make sure we get the default initialization value for rflags
2020-04-26 00:14:43 -07:00
Ryan Houdek
0665599e30 Implements an fwait unit test
Just ensures execution works since we don't have exception support
2020-04-25 23:54:09 -07:00
Ryan Houdek
2dce16190d Implements JRCXZ unit test 2020-04-25 22:07:24 -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
55edd35127 Implements unit tests for the six new instructions 2020-04-24 22:52:48 -07:00
Ryan Houdek
b5c170be41
Merge pull request #123 from Sonicadvance1/fix_32bit_x86_cvtsi2ss
Fixes 32bit Float_FromGPR_S IR op in x86 JIT
2020-04-22 08:37:56 -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
Ryan Houdek
a58fc40ca2 Implements MOVBE unit tests 2020-04-13 17:43:33 -07:00
Ryan Houdek
3f0798721c Adds unit test for CVTSD2SI 2020-04-12 17:46:58 -07:00
Ryan Houdek
bfa727ac12 COMISD unit tests 2020-04-10 01:02:35 -07:00
Ryan Houdek
39b11cfc2e CMPXCHG8B/16B unit tests 2020-04-10 00:50:35 -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
Stefanos Kornilios Mitsis Poiitidis
133aa604a2
Merge pull request #79 from Sonicadvance1/fix_sign_extend
Fixes bug in CBW op
2020-04-05 12:58:14 +03:00
Ryan Houdek
b0c9ae848b Implements unit tests for the unordered and ordered comparisons 2020-04-04 23:19:30 -07:00
Ryan Houdek
6412b5fcbf Adds more unit tests for Sign extension 2020-04-04 23:11:48 -07:00
Ryan Houdek
842ef332eb Implements 71 new MMX unit tests 2020-04-01 20:04:05 -07:00
Stefanos Kornilios Mitsis Poiitidis
84743796a5
Merge pull request #67 from Sonicadvance1/more_cvt
Implements two more CVT instructions
2020-03-23 00:39:59 +02:00
Stefanos Kornilios Mitsis Poiitidis
d0667452e6
Merge pull request #66 from Sonicadvance1/pmul
Implements PMULLW
2020-03-23 00:39:49 +02:00
Ryan Houdek
8e21e6b456 Implements PADDB unit test 2020-03-22 13:07:39 -07:00
Ryan Houdek
7cdaefccd4 Adds CVTSS2SI unit test 2020-03-22 13:06:19 -07:00
Ryan Houdek
c87ef005b1 Adds CVTTPD2DQ unit test 2020-03-22 13:05:54 -07:00
Ryan Houdek
71b507f8de Extends CVTTSS2SI test to test negative numbers 2020-03-22 13:05:34 -07:00
Ryan Houdek
bdf1440e11 Adds unit test for PMULLW 2020-03-22 13:00:36 -07:00
Ryan Houdek
6899a8f53a Implements unit tests for sqrtpd, sqrtps, and rsqrtps 2020-03-20 18:14:44 -07:00
Ryan Houdek
c89ed356a3 Make unit test names more descriptive about what arguments are passed
Rather than an integer between 0 and 8, just give each argument
configuration a short descriptor.
This makes it easier to parse the error output
2020-03-17 14:40:28 -07:00
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