Commit Graph
18 Commits
Author SHA1 Message Date
Scott Mansell 16e7ba6fa8 Move nasm check inside unit tests
Allow building of fex without nasm if unit tests are disabled
2021-02-02 16:47:55 +13:00
Ryan Houdek 6b7d508401 Adds a couple LEA unit tests for 16bit addressing mode 2021-01-13 12:02:20 -08:00
duck e610b12c97 Fix negative offset jumps on x86-32 by using 32-bit RIP 2021-01-11 03:20:25 -05:00
duck 86e6ea43a2 Fix test cases. 2021-01-10 18:31:23 -05:00
duck 9290e19fc5 Fix JCXZ on X86 2021-01-10 17:46:03 -05:00
Stefanos Kornilios Mitsis Poiitidis 278e156a8a Tests: Move timeout to ctest from python + timeout 2021-01-09 19:26:15 +02:00
Stefanos Kornilios Mitsis Poiitidis 7cc2404c63 Tests: Correctly match test cases 2021-01-09 19:08:46 +02:00
Stefanos Kornilios Mitsis Poiitidis f6ef1fc8b5 Pop_Segments: pop cs is not a valid opcode 2020-12-04 01:17:39 +02:00
Ryan Houdek 07f5d7cdec Translates the x87 tests to be 32bit 2020-11-26 17:35:11 -08:00
Ryan Houdek 9cf047317d Adds unit tests for 32bit segment register push and pop
This only tests to ensure we are pushing the correct amount data rather
than the segment registers being correct.

Bit difficult to test for anything other than null descriptor
2020-10-22 19:10:28 -07:00
Ryan Houdek 68f3a04f5b Adds unit tests for 32bit popa 2020-10-22 19:10:28 -07:00
Ryan Houdek d6c3518b74 Adds unit tests for 32bit pusha 2020-10-22 19:10:28 -07:00
Ryan Houdek 7f8c2eef25 Adds 32bit call unit tests
Specifically written to test sign extension on the offset
2020-10-17 20:29:19 -07:00
Ryan Houdek 19f29c14a7 Adds 32bit move offset unit tests 2020-10-17 20:27:24 -07:00
Ryan Houdek 6741b9d23f Fixes Unit Test loader offset
This was causing 32bit unit tests to load in to high 64bits.
Loads at offset constant 0x1'0000 so we always know where the code is
loaded
2020-10-17 20:17:45 -07:00
Ryan Houdek 1818eab221 Adds 32bit LEAVE unit test 2020-10-06 19:18:21 -07:00
Ryan Houdek 7c14619346 Support disabling ASM and IR tests per runner type
Allows us to disable specific tests for interpreter, jit, or host.
No architecture specific disabling yet
2020-09-25 21:17:54 -07:00
Ryan Houdek c4799404e4 Adds initial 32bit unit tests
This is a very small change, but it gets us starting to test 32bit
2020-09-07 22:32:17 -07:00