Commit graph

439 commits

Author SHA1 Message Date
Fabian 77dceb6d02 kvm-unit-test: Improve benchmark measuring 2020-12-31 19:14:30 -06:00
Fabian 1709974987 kvm-unit-test: Import some changes from upstream 2020-12-31 19:14:30 -06:00
Fabian 8a0e31da16 Update expect tests (inc32) 2020-12-31 19:14:30 -06:00
Fabian 4e68de9c4d Test reset/restart 2020-12-31 19:14:30 -06:00
Fabian 107c6fef36 Enable Windows 95 test 2020-12-31 19:14:30 -06:00
Fabian 03f4747c86 Fix integration test doesn't report segfaults 2020-12-31 19:14:30 -06:00
Fabian 8739e3f16b More integration tests (these were triggering the failing assertion fixed in the previous commit) 2020-12-31 19:14:30 -06:00
Fabian acb8ad5423 Avoid console.assert (doesn't throw) 2020-12-31 19:14:30 -06:00
Fabian 3a473aad79 Remove prefix handling from jit and exceptions 2020-12-31 19:14:30 -06:00
Fabian a73988a817 Make loop, loopz, loopnz and jcxz custom generated 2020-12-31 19:14:30 -06:00
Fabian 764879bad1 s/reg32s/reg32 2020-12-31 19:14:29 -06:00
Fabian ea50e29e5f Remove dead & improve 2020-12-31 19:14:29 -06:00
Fabian f156824ebc Haiku works 2020-12-31 19:14:29 -06:00
Fabian a5ae4b1146 Fix tests that were order-dependant 2020-12-31 19:14:29 -06:00
Fabian dcb40f6221 Full test: Update image paths 2020-12-31 19:14:29 -06:00
Fabian ae3a652333 jit_add_seg_offset: Assert that segment is not null 2020-12-31 19:14:29 -06:00
Fabian 292769d961 Full tests: Small improvements 2020-12-31 19:14:29 -06:00
Fabian 4cd6d74284 Test freebsd login 2020-12-31 19:14:29 -06:00
Fabian d5c9b29942 Upgrade jshint 2020-12-31 19:14:29 -06:00
Fabian 941208c948 Remove defunct test coverage 2020-12-31 19:14:29 -06:00
Fabian 489f212c47 Fix broken string test 2020-12-31 19:14:29 -06:00
Fabian a7ae6603f0 Temporarily disable broken tests 2020-12-31 19:14:29 -06:00
Fabian 13a506de52 fix kvm-unit-test with newer versions of gcc 2020-12-31 19:14:29 -06:00
Fabian 9a38e6a654 nasmtests: Check exception eip 2020-12-31 19:14:29 -06:00
Fabian 28d70d6250 Add test for fsave and frstor 2020-12-31 19:14:29 -06:00
Fabian db381ef39f Remove broken tests (exception is different in native and v86) 2020-12-31 19:14:29 -06:00
Fabian cd909c4f02 Add tests for fstenv/fldenv/fld [m80] 2020-12-31 19:14:29 -06:00
Fabian 3f1ba044ed Increment timestamp_counter before running basic block 2020-12-31 19:14:29 -06:00
Fabian 70e637b31b Integration test: Check serial text 2020-12-31 19:14:29 -06:00
Fabian 7d48636dda Integration tests: Use debug bios 2020-12-31 19:14:29 -06:00
Fabian e2eecc7295 task_switch_test*_jit: assert that jit agrees 2020-12-31 19:14:29 -06:00
Fabian 492a2cf78e Update previous_ip only if page fault is going to happen 2020-12-31 19:14:29 -06:00
Fabian c47b4b252c Optimise cr0 access in task_switch_test (only low byte needed) 2020-12-31 19:14:29 -06:00
Fabian 7f41e6fe48 Test for mov [mem], sreg 2020-12-31 19:14:29 -06:00
Fabian c5cd93678e Pass local to gen_safe_read, add single function for modrm_resolve and gen_safe_read (preparation for later optimisations) 2020-12-31 19:14:29 -06:00
Fabian aad8072aa7 Optimise push reg 2020-12-31 19:14:28 -06:00
Fabian 43fcdf9fc2 Introduce LocalOrImmediate for more efficient parameter passing to cmp/test instructions 2020-12-31 19:14:28 -06:00
Fabian bc3c73a607 wasm state machine: Fallthrough 2020-12-31 19:14:28 -06:00
Fabian 63afa77167 Global pointers: Align general purpose registers, sse registers and flags 2020-12-31 19:14:28 -06:00
Fabian 6e005a2058 Integration test: Mark Windows 3 as slow test, print diff output in qemu tests 2020-12-31 19:14:28 -06:00
Fabian 5f31a8aba2 Update expect tests for flags and arithmetic code generation (last two commits) 2020-12-31 19:14:28 -06:00
Fabian b5a72061fb Custom codegen for absolute jmp/call (FF_2/FF_4) 2020-12-31 19:14:28 -06:00
Fabian aadaf13854 Update expect tests 2020-08-30 19:37:15 -05:00
Fabian 58292cfbc8 namstests: Handle pagefaults 2020-08-30 19:37:15 -05:00
Fabian 8eae31295d nasmtests: Handle exceptions in forced-jit mode 2020-08-30 19:37:15 -05:00
Fabian 158bb75fec FPU: Implement zero divide fault 2020-08-30 19:37:15 -05:00
Fabian 0269e9cecf Fix fxtract 2020-08-30 19:37:15 -05:00
Fabian 9959e758d5 nasmtests: Fix display of integers 2020-08-30 19:37:15 -05:00
Fabian c2508bc61e Update expect tests 2020-08-30 19:37:15 -05:00
Fabian 0c42ea0d1f Custom code generation for leave (C9) 2020-08-30 19:37:15 -05:00