Commit graph

2946 commits

Author SHA1 Message Date
Fabian be477084a9 Add assertion 2021-11-04 18:51:36 -05:00
Fabian 36fcfe1b16 jit not8/neg8 2021-11-04 18:51:36 -05:00
Fabian 65a75d4fe3 Additional assertions for the return value of mmap_read8 and mmap_read16 2021-11-04 18:51:36 -05:00
Fabian 23d4f862e6 Avoid local when modrm address is single register without offset 2021-11-04 18:51:36 -05:00
Fabian c5dbd55d53 Fix macros used as expression 2021-10-29 01:18:21 +02:00
Fabian 6def710a62 Clean up code, add missing handle_read, replace imgsplit with gnu split 2021-10-20 19:06:58 +02:00
pixelsuft 271c8a9c53 Add splitting without server side 2021-10-20 19:06:58 +02:00
Andrew Au 2034526624 Include the controller output port concept 2021-10-18 02:21:40 +02:00
Andrew Au e5efc198e5 Supports disabling A20 through PS/2 2021-10-18 02:21:40 +02:00
Aty 447897d91c
Fix UART bug (#486) 2021-06-11 23:22:26 +02:00
Heyang Zhou 8eb8dd9d9d
Use queueMicrotask for fast_next_tick in Web Worker environment. (#477)
Optimize performance in worker.
2021-06-05 18:27:01 +02:00
parkertomatoes 4e5f62bbc1
Mask values written to mmap_write{8,16} (fix #460) 2021-05-24 01:18:50 +02:00
Fabian 3387b9b56c Minor improvement 2021-05-23 00:00:22 -05:00
Fabian b4936b32d4 Dead 2021-05-22 23:59:24 -05:00
Fabian f3e79ae6be Less verbose logging 2021-05-22 23:59:24 -05:00
Fabian 199b1ceb49 Fix 32-bit wrap-around for profiler and opstats 2021-05-22 23:58:23 -05:00
Fabian 1b06e7bd34 Improve code for some sign/zero-extending moves 2021-05-22 23:58:23 -05:00
Fabian d47be4342d set_reg16 unmasked 2021-05-22 23:58:23 -05:00
Fabian c430c1141c Minor optimisation for bt{,s,r,c} with zero offset 2021-05-22 23:58:23 -05:00
Fabian da4470233c fix paste into serial console 2021-05-22 23:58:23 -05:00
Fabian ffe80edece Remove function from non-profiled builds 2021-05-22 23:58:23 -05:00
Fabian 2078d439c6 Remove some hard-coded memory sizes so they can be overwritten 2021-05-22 23:58:23 -05:00
Fabian ffac529747 Rewrite write_leb_i64 (fixes bug with upper bits of constant) 2021-05-22 23:58:23 -05:00
Fabian 2f2fff26a9 tlb_set_has_code_multiple 2021-05-22 23:58:22 -05:00
Fabian 7666805117 Fix tlb invariant check 2021-05-22 23:20:47 -05:00
Fabian fd1626cd87 Fix movs jit 2021-05-22 23:20:47 -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
Viorel Canja 5b79e47bc9 avoid ending jit_run_interpreted in the middle of a basic block 2021-05-04 20:30:08 +02:00
Simon Kadisch 690354e69e Provide access to CPU memory via V86Starter 2021-04-23 01:07:50 +02:00
Simon Kadisch c8581d9ba6 Restore UART2 and UART3 correctly 2021-04-21 20:12:39 +02:00
Fabian 3137bf4171 Fix movsw jit 2021-04-12 15:17:43 -05:00
Fabian 9e9af6d45b NetBSD, floppy bird 2021-04-10 17:22:28 -05:00
Fabian 74dd588b75 vga: dac color index wrap-around 2021-04-10 17:19:40 -05:00
Fabian b1025783a1 Assertion in CachedStateFlags 2021-04-10 16:50:28 -05:00
Fabian 594caa2a73 Simplify 2021-04-10 16:48:44 -05:00
Fabian 0db7ab6505 Dead code 2021-04-10 16:48:11 -05:00
Fabian 48464a18d7 jit movsb/movsw/movsd 2021-04-10 14:27:14 -05:00
Fabian 6049e0c46c jit stosb/stosw/stosd 2021-04-09 21:52:00 -05:00
Fabian 4de8584cff jit scasw/scasd/lodsw/lodsd 2021-04-09 21:15:25 -05:00
Fabian 7b66ae874d jit scasb 2021-04-09 20:37:55 -05:00
Fabian 2e25308f17 jit lodsb 2021-04-09 19:51:27 -05:00
Fabian b48166280b gen_pushf_popf_check 2021-04-09 18:54:54 -05:00
Fabian d929f4d7fd jit some 8-bit arithmetic 2021-04-09 15:35:22 -05:00
Fabian b684342b2b Revert "jit 8E (mov sreg, reg)".
This optimisation was completely invalid, it's not possible call
switch_seg while in jit mode without saving registers.
2021-04-09 15:32:46 -05:00
Fabian bc1f239c2b jit {,66}0F{14,15} (unpcklps, unpcklpd, unpckhps, unpckhpd) 2021-04-05 01:58:42 -05:00
Fabian f4f3ec0ca1 jit {,66}0F{12,13} (movhlps, movlps, movlpd, movlps, movlpd) 2021-04-05 01:58:42 -05:00
Fabian 1632498c9e elf parser: ignore PT_GNU_PROPERTY 2021-04-05 01:58:42 -05:00
Fabian 209879273f elf parser: improve error message 2021-04-05 01:58:42 -05:00
Fabian aacb6a49d7 Rust: Switch from nightly to stable 2021-04-05 01:58:42 -05:00