Commit graph

532 commits

Author SHA1 Message Date
Fabian 7a6eaf38da Add HelenOS 2022-05-23 18:35:37 +02:00
Fabian b1901fa21e Add some tests 2022-03-10 21:46:57 +01:00
Fabian c643c9abbd minor 2022-02-22 00:39:05 +01:00
Fabian 700225bb6b Add FreeNOS (#597) 2022-01-17 17:14:53 -06:00
Fabian 0199a44a0e Add SerenityOS 2022-01-14 17:35:28 -06:00
Paweł Marczewski f72d0a9ca0
Add support for PAE (#599)
Physical memory is still limited to 32-bit addresses, but systems that enable PAE should work now.
2022-01-14 21:19:54 +01:00
Fabian 5646529322 bench: fix arch directory 2021-11-12 14:31:06 -05:00
Fabian d155439329 Increase tinycore test timeout 2021-11-04 22:43:15 -05:00
Fabian 6fcfedfdc1 Properly run tinycore test as hard drive 2021-11-04 18:51:36 -05:00
Fabian 85df1ec798 Expect tests: tlb offset is not stable 2021-09-23 20:13:08 +02:00
Fabian cd4c5bd49e Update expect tests 2021-05-22 23:59:23 -05:00
viorelcanja 757d95b6be
Mem fast path optimization (#469)
Remove one addition from the memory access fast path
2021-05-23 06:03:34 +02:00
viorelcanja 0297f48346
resize tlb_data to proper size (#468)
Resize tlb_data to proper size

Reduce initial memory size
2021-05-08 22:49:37 +02:00
Fabian f48c851b17 Allow logging screen while running full test 2021-04-10 16:59:21 -05:00
Fabian 904593ca68 Skip snowdrop test if missing image 2021-04-05 01:58:42 -05:00
Fabian 5f3453acf9 Update expect tests 2021-04-04 23:47:40 -05:00
Fabian 84714d17a4 Don't fail on atapi command 0xBE 2021-04-03 21:10:49 -05:00
Fabian dcc990ed99 Remove unused imports, constants and no_mangle 2021-04-03 21:10:49 -05:00
Fabian 9ab71cd39a Port reset_cpu to rust 2021-04-03 21:10:49 -05:00
Fabian bd50bb8dae Add Windows 3.1 and Snowdrop 2021-03-30 04:36:48 -05:00
Fabian ce2e4c298f Make 9front test more reliable 2021-03-17 16:55:16 -05:00
Fabian e9c5efc984 Fail nicer 2021-03-17 11:52:59 -05:00
Fabian 4e8635ff81 Add test 2021-01-16 19:58:34 -06:00
Fabian aed7fb898e Not experimental 2021-01-03 22:58:19 -06:00
Fabian ca7dd68f6c Fix tests depending on arch 2021-01-03 22:43:08 -06:00
Fabian 77d728a3cc Also mask exceptions bits in sse test 2021-01-03 22:43:08 -06:00
Fabian 133656dcde Fix some tests 2021-01-03 22:43:03 -06:00
Fabian 3ee95a549d api tests: Use linux4 image 2021-01-03 22:43:03 -06:00
Fabian 497f618cab Merge branch 'wasm' into master 2021-01-03 02:07:20 -06:00
Fabian 2697aa6192 Document env variables for tests 2021-01-01 21:51:17 -06:00
Fabian 5cb79b8a50 Minor fix 2021-01-01 20:19:30 -06:00
Fabian 968ef2a9f7 Use newer bzimage for integration test 2021-01-01 20:19:30 -06:00
Fabian 29a6301feb Skip tests if disk image missing 2021-01-01 20:19:30 -06:00
Fabian 34b491ba9c Make some tests more reliable 2021-01-01 20:19:30 -06:00
Fabian 10addd4756 Improved design, new profiles 2021-01-01 20:19:30 -06:00
Fabian 751cfed489 kvm-unit-test: Add a few benchmarks and run them longer 2020-12-31 19:14:34 -06:00
Fabian 46460641c7 Update tests readme 2020-12-31 19:14:34 -06:00
Fabian bf1ea2e742 Force immediate hlt on exception in nasmtests 2020-12-31 19:14:34 -06:00
Fabian 472e53fec6 Update expect tests 2020-12-31 19:14:33 -06:00
Fabian a238684de6 Store instruction counter in local, use it for loop limits 2020-12-31 19:14:33 -06:00
Fabian 530aaba1ea Optimise some common instructions (lea nop; cmp x, 0; test x, x; xor x, x) 2020-12-31 19:14:33 -06:00
Fabian 8638c6abaf benchmark script improvements 2020-12-31 19:14:33 -06:00
Fabian 39eb650ff3 Update expect tests 2020-12-31 19:14:33 -06:00
Fabian aa46a4da2f Update test images, add QNX, Minix and Arch Linux test 2020-12-31 19:14:33 -06:00
Fabian 390b8c4cbb Add tests for btc/btr/bts 2020-12-31 19:14:33 -06:00
Fabian fe6872d55b Don't print control characters in terminal 2020-12-31 19:14:33 -06:00
Fabian 0988d030fa Make apci+apic configurable at runtime (#247, #332) 2020-12-31 19:14:32 -06:00
Fabian d896f58dfa state test: Add filesystem 2020-12-31 19:14:32 -06:00
Fabian faadca9f35 Update expect tests 2020-12-31 19:14:32 -06:00
Fabian b96f984963 Use softfloat f80 for x87 fpu
This fixes several long-standing issues with x87 float emulation, in particular:

- 80 bit precision floats, fixing Haiku after its switch to musl libc (hrev53728)
- the precision bit in the x87 control word
- fucom and fucomi (unordered comparisons)
- aliasing of x87 and mmx registers
- rounding during conversion to integers

Operations that are not implemented in softfloat were implemented by
converting to f64 (sine, pow, ln, etc.) and thus operate with lower
precision.

Softfloat has been combined into a single file using a script [0] and checked into the repository.

[0] 57df21e2eb/contrib/single_file_libs/combine.sh
2020-12-31 19:14:32 -06:00