Commit graph

3417 commits

Author SHA1 Message Date
Fabian b9cd08f041 Move qemu tests files to build directory 2020-12-31 19:14:34 -06:00
Fabian a157fdf059 Fix apic timer 2020-12-31 19:14:34 -06:00
Fabian 39d78a950b O3 2020-12-31 19:14:34 -06:00
Fabian 46460641c7 Update tests readme 2020-12-31 19:14:34 -06:00
Fabian 2e551c0574 Move docker/ into tools/ 2020-12-31 19:14:34 -06:00
Fabian 7d1c996ab5 Update closure compiler version 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 0812b61d30 Simplify wasm module loading and instantiating code 2020-12-31 19:14:34 -06:00
Fabian 8440f5af11 Async access to image files using file parts instead of range header (allows compression) 2020-12-31 19:14:34 -06:00
Fabian 6e48dd3674 Abort http range requests if the server responds with a complete file 2020-12-31 19:14:34 -06:00
Fabian 0fee2a567a zstd-compressed state images 2020-12-31 19:14:34 -06:00
Fabian 10b8da4230 Use outline over border (fixes 1px black line in Chrome and glitchy graphics at the bottom in Firefox) 2020-12-31 19:14:34 -06:00
Fabian a2bd1e3166 Increase MAX_EXTRA_BASIC_BLOCKS 2020-12-31 19:14:33 -06:00
Fabian 171081f649 Simplify 2020-12-31 19:14:33 -06:00
Fabian d4cb380899 Generate extra code only in profiling mode 2020-12-31 19:14:33 -06:00
Fabian 472e53fec6 Update expect tests 2020-12-31 19:14:33 -06:00
Fabian 625d9fcdca Minor 2020-12-31 19:14:33 -06:00
Fabian ffce507e11 minor 2020-12-31 19:14:33 -06:00
Fabian 6643dd14fd Remove remains of old js cpu code 2020-12-31 19:14:33 -06:00
Fabian 4a90ec6256 Allow memory size of 2GB 2020-12-31 19:14:33 -06:00
Fabian e981114dd7 Add missing acpi gpe registers to state 2020-12-31 19:14:33 -06:00
Fabian b43a5f4818 Mark fwait as block boundary again (fixes qnx hanging) 2020-12-31 19:14:33 -06:00
Fabian 6d540da487 Not a todo anymore 2020-12-31 19:14:33 -06:00
Fabian 188e0ce796 Increase loop counter to 100k, from 20k 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 28800164cc Fix bug in ide when dma buffer is not multiple of sector size (Windows 98) 2020-12-31 19:14:33 -06:00
Fabian 1ada027663 Generate br_if if possible for conditional jumps 2020-12-31 19:14:33 -06:00
Fabian ed12bfa8a6 Simplify code generated for 32-bit relative jumps 2020-12-31 19:14:33 -06:00
Fabian 3e18e05272 Move loop safety back to beginning of loop 2020-12-31 19:14:33 -06:00
Fabian 06f656ffdd Avoid recompiling pages if they don't have new entry points 2020-12-31 19:14:33 -06:00
Fabian 60ed42282a Don't forget entry points when compiling 2020-12-31 19:14:33 -06:00
Fabian 01e16a0e1b Remove some loop limit checks (using heurstic) 2020-12-31 19:14:33 -06:00
Fabian b355571f0c Optimise away some eip updates 2020-12-31 19:14:33 -06:00
Fabian 15e520e462 Use exit label to save some space 2020-12-31 19:14:33 -06:00
Fabian fd3077cc1b Make acpi setting work in release build 2020-12-31 19:14:33 -06:00
Fabian 7e5e75ef9b Allow parameters including '=' 2020-12-31 19:14:33 -06:00
Fabian aa62033e9d Enable wasm bulk memory instructions 2020-12-31 19:14:33 -06:00
Fabian 7ab4ee3a43 Generate slightly better code for negated comparisons 2020-12-31 19:14:33 -06:00
Fabian 699bf5a2ce Explain 2020-12-31 19:14:33 -06:00
Fabian a1f35beb8c Generate better condition functions for zf/sf/be/l/le immediately after cmp/sub/add/inc/dec/test/or/xor/and 2020-12-31 19:14:33 -06:00
Fabian 7f2f404fcf Increase interpreter iteration limit (creates too many entry points) 2020-12-31 19:14:33 -06:00
Fabian 700b5995c5 Simplify some code, use br_if 2020-12-31 19:14:33 -06:00
Fabian 59f0fdc1e8 Add config to profiling infos 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 4035c0fb04 previous_ip optimisation 2020-12-31 19:14:33 -06:00
Fabian 0b80ef9448 expression stats 2020-12-31 19:14:33 -06:00
Fabian 2683d95db9 Use TextDecoder over manual utf16 encoding (faster + more compact) 2020-12-31 19:14:33 -06:00
Fabian 8638c6abaf benchmark script improvements 2020-12-31 19:14:33 -06:00
Fabian f8206859ca Add with-profiler targets 2020-12-31 19:14:33 -06:00
Fabian 37c3d1f83c Generate direct control flow, using wasm blocks and loops 2020-12-31 19:14:33 -06:00