Commit graph

3405 commits

Author SHA1 Message Date
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
Fabian 705b22ee14 jit imul32 2020-12-31 19:14:33 -06:00
Fabian 413c32dfc5 Disable spurious interrupt for now 2020-12-31 19:14:33 -06:00
Fabian 950e8c07eb Unallow unused variables (part 2) 2020-12-31 19:14:33 -06:00
Fabian 9a733eafd7 Unallow unused variables 2020-12-31 19:14:33 -06:00
Fabian d34817d45b Port lsl/lar/verr/verw to rust 2020-12-31 19:14:33 -06:00
Fabian 39eb650ff3 Update expect tests 2020-12-31 19:14:33 -06:00
Fabian 0c4e8a7e09 partially jit some sse conversion instructions 2020-12-31 19:14:33 -06:00
Fabian 30e444460b Better error message when PAE is requested 2020-12-31 19:14:33 -06:00
Fabian 6f65e97817 Add flag to disable eip translate optimisation 2020-12-31 19:14:33 -06:00
Fabian c4f1965a3f More precise ne2k emulation (fixes networking in openbsd, freebsd and haiku) 2020-12-31 19:14:33 -06:00
Fabian 12a19b444f Move initrd to 64M 2020-12-31 19:14:33 -06:00
Fabian af4f1c5d8e Make kernel cmdline optional 2020-12-31 19:14:33 -06:00