Commit graph

4124 commits

Author SHA1 Message Date
Fabian 574673e476 add tests for idiv overflow 2022-11-15 10:14:28 +09:00
Fabian 6989ba001a log the remaining unoptimised conditionals 2022-11-15 10:14:28 +09:00
Fabian e9a3fc5b00 consider add/inc/dec; jbe optimised in its current form 2022-11-15 10:14:28 +09:00
Fabian 37841eb0c9 optimise and/or/xor/test; jc/jo/jbe/jl/jle 2022-11-15 10:14:28 +09:00
Fabian da1c713252 optimise inc/dec; jcc 2022-11-15 10:14:28 +09:00
Fabian 625ad2802c optimise add; jo 2022-11-15 10:14:28 +09:00
Fabian f8cbf3b2bd optimise add; jc 2022-11-15 10:14:28 +09:00
Fabian 60b555107f identify add for the purpose of optimising conditions 2022-11-15 10:14:28 +09:00
Fabian 92313f582c optimise sub; jle 2022-11-15 10:14:28 +09:00
Fabian 228934d616 optimise sub; jl 2022-11-15 10:14:28 +09:00
Fabian 949081837b optimise sub; jbe 2022-11-15 10:14:28 +09:00
Fabian 7d6a3c67e4 optimise sub8; jo/jb 2022-11-15 10:14:28 +09:00
Fabian bb0f37bbce optimise sub; jc 2022-11-15 10:14:28 +09:00
Fabian 8f15b554ee optimise cmp8/16 x, imm; jc 2022-11-15 10:14:28 +09:00
Fabian d629984627 optimise cmp reg, reg/imm; jz 2022-11-15 10:14:28 +09:00
Fabian 19b2771c40 optimise getsf 2022-11-15 10:14:28 +09:00
Fabian db65dd352d optimise test x, x followed by jz/js 2022-11-15 10:14:28 +09:00
Fabian 0ea7c7cd81 optimise getof 2022-11-15 10:14:28 +09:00
Fabian 6fcbe7b3d0 optimise cmp x, 0; jz 2022-11-15 10:14:28 +09:00
Fabian 1d55116779 optimise get_last_op1 (for cmp32) 2022-11-15 10:14:28 +09:00
Fabian 5a7c946e83 optimise get_last_result 2022-11-15 10:14:28 +09:00
Fabian d766863a27 nasmtests: generate single executable for both test and reference 2022-11-15 10:14:28 +09:00
Fabian a11eb20326 type safety 2022-11-15 10:14:28 +09:00
Fabian 58f9902057 merge updates to last_op_size and flags_changed 2022-11-15 10:14:28 +09:00
Fabian 53cea2e7b1 Use optimised getcf for inc/dec/adc/sbb 2022-11-15 10:14:28 +09:00
Fabian be08d812db move code around (local_to_instruction_operand/LocalOrImmediate.to_instruction_operand) 2022-11-15 10:14:28 +09:00
Fabian c6ef3c4c68 cache state flags 2022-11-15 10:14:28 +09:00
Fabian 5839152328 fix rust compiler error: trailing semicolon in macro used in expression position 2022-11-15 10:14:28 +09:00
Fabian 8d747fd0da Add skiffos (#714) 2022-11-15 10:14:28 +09:00
Fabian e1b6e34c19 wip code tlb 2022-11-15 10:14:28 +09:00
Fabian 2887a363f1 Properly clean up generated wasm functions if they are written while being compiled 2022-11-15 10:14:28 +09:00
Fabian d0ca758177 reformat msrs 2022-11-15 10:14:28 +09:00
Fabian 2a8a89dd34 stub some msr for new linux kernel 2022-11-15 10:14:28 +09:00
Fabian b9df44e646 cpuid: correctly report level 7 for ecx != 0 2022-11-15 10:14:28 +09:00
Fabian 0c17fea221 Remove serial0-output-line, fix stack overflow in serial debug output (fix #741) 2022-11-15 10:14:28 +09:00
Fabian f13c238109 bytemark bench: turn off blinking cursor 2022-11-15 10:14:28 +09:00
Adrian Siekierka 7f5fb11faf
Add support for fixed_chunk_size to async Range downloads (#755) 2022-11-01 20:30:38 +01:00
Liav A 875e01202c
Advertise latest SerenityOS version as working (#742) 2022-10-05 18:24:40 +02:00
Fabian 5d02960f31 add irc 2022-09-21 23:51:01 +08:00
Fabian 3c02f166b9 late c2rust cleanup 2022-09-21 17:58:25 +08:00
Fabian 611f0dedda Remove dead code 2022-09-21 11:56:42 +08:00
Fabian ef3654f0b1 Dedup some code between SyncBuffer and SyncFileBuffer 2022-09-21 11:39:48 +08:00
Fabian 4c5486e023 Improve networking docs 2022-09-19 22:24:09 +08:00
Fabian 53098adc5c Delete src/browser/lib.js, move remaining code to lib.js 2022-09-19 22:24:09 +08:00
Fabian e0d4e1808b Move buffer code around 2022-09-19 22:24:09 +08:00
Fabian aebf5eced8 Add Windows NT 2022-09-14 00:32:19 +09:00
Fabian 27e83d6b0e support rust installed without rustup 2022-09-14 00:32:19 +09:00
Fabian b961703fe4 jit: execute mmio reads at full size 2022-09-13 17:19:23 +09:00
Fabian 86fc542352 tlb: don't mark writable on read access (otherwise the write bit might not be set if a read occurs before a write) 2022-09-13 15:53:28 +09:00
Fabian 5ea85077cc Dead code 2022-09-13 14:57:18 +09:00