Commit graph

221 commits

Author SHA1 Message Date
Fabian 9ecee545c8 fix spurious make error 2022-11-15 10:14:28 +09: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 966ba9210b Downgrade closure compiler 2022-08-02 21:40:57 +09:00
Fabian d4831d3b10 Remove some unncessary quoting 2022-08-02 21:40:57 +09:00
Fabian f7e7777dc5 Don't build browser files in release tests 2022-07-11 12:36:55 +09:00
Fabian ce5a2a2a16 Fix closure compiler 2022-01-30 19:33:21 -06:00
Fabian 3b827ac55d Update closure compiler 2022-01-30 19:02:39 -06:00
Fabian ec8d00684b kvm-unit-test: build less 2022-01-14 17:17:23 -06:00
ParkerTomatoes c7e4bef2ad fix build on MacOS 2021-11-28 23:20:26 +01:00
Fabian 74af9457c4 Add wasm-opt 2021-11-11 19:50:18 -05:00
Fabian ffae108c42 Show .wasm size in kilobytes 2021-11-11 14:58:18 -05:00
Fabian e6c725bf54 Don't export ZSTD_ symbols (reduce wasm size) 2021-11-10 23:19:49 -05:00
Fabian 199b1ceb49 Fix 32-bit wrap-around for profiler and opstats 2021-05-22 23:58:23 -05:00
Fabian aacb6a49d7 Rust: Switch from nightly to stable 2021-04-05 01:58:42 -05:00
Fabian b052280c37 Dead code (closure-base.js) 2021-04-03 21:10:49 -05:00
Fabian c4843cedbf Update xterm.js 2021-01-10 19:03:12 -06:00
Fabian d19fd26e46 CI 2021-01-03 23:04:40 -06:00
Fabian f1fd9b67ee Hide progress bar 2021-01-03 22:58:19 -06:00
Fabian 133656dcde Fix some tests 2021-01-03 22:43:03 -06:00
Fabian ea4c0e3c91 Compile without /usr/include 2021-01-03 22:43:03 -06:00
Fabian 497f618cab Merge branch 'wasm' into master 2021-01-03 02:07:20 -06:00
Fabian 8107f26f10 xxx: Add fallback for safari 2021-01-01 21:51:17 -06:00
Fabian 968ef2a9f7 Use newer bzimage for integration test 2021-01-01 20:19:30 -06:00
Fabian d6b86ca90b Disable source map 2021-01-01 20:19:30 -06:00
Fabian caf1a2fc4a Add v86_all_debug.js 2021-01-01 20:19:30 -06:00
Fabian e27faaee75 Create build directory 2020-12-31 19:14:34 -06:00
Fabian b9cd08f041 Move qemu tests files to build directory 2020-12-31 19:14:34 -06:00
Fabian 39d78a950b O3 2020-12-31 19:14:34 -06:00
Fabian 7d1c996ab5 Update closure compiler version 2020-12-31 19:14:34 -06:00
Fabian aa62033e9d Enable wasm bulk memory instructions 2020-12-31 19:14:33 -06:00
Fabian f8206859ca Add with-profiler targets 2020-12-31 19:14:33 -06:00
Fabian b34d4d95b7 Add zstd 2020-12-31 19:14:33 -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
Fabian 1de3592cd6 Add qemu release tests to all-tests target 2020-12-31 19:14:32 -06:00
Fabian 99d66c2e45 Refactor creation of integration test fs 2020-12-31 19:14:32 -06:00
Fabian 7be85004c6 Remove tlb_data from global pointers 2020-12-31 19:14:32 -06:00
Fabian c3e0bd1c8c Clean up makefile 2020-12-31 19:14:32 -06:00
Fabian 9b79278bb9 Much simpler implementation of jit cache 2020-12-31 19:14:32 -06:00
Fabian 8646ee00a8 Clean up 2020-12-31 19:14:31 -06:00
Fabian dca4e7bb1e Add qemu release test 2020-12-31 19:14:31 -06:00
Fabian b42c7bae30 make all-tests: Move expect-tests to the end 2020-12-31 19:14:31 -06:00
Fabian f0a85b4d5b Remove npm 2020-12-31 19:14:31 -06:00
Fabian 9853bdb868 Merge 16-bit and 32-bit 0f tables (saves 200kB on v86.wasm) 2020-12-31 19:14:31 -06:00
Fabian 6298da7d34 Remove indirect function table patching 2020-12-31 19:14:30 -06:00
Fabian 8f231431fc Simplify 2020-12-31 19:14:30 -06:00
Fabian d31e0edb5a Improved code generation for jitted memory reads and writes 2020-12-31 19:14:30 -06:00
Fabian c406d65317 Add kvm-unit-test target with release mode (for benchmarks) 2020-12-31 19:14:30 -06:00
Fabian 4e68de9c4d Test reset/restart 2020-12-31 19:14:30 -06:00
Fabian ea50e29e5f Remove dead & improve 2020-12-31 19:14:29 -06:00