Commit Graph

6140 Commits

Author SHA1 Message Date
Dan Gohman
db0abe8431 Move the wasmtime crate directories form lib/* to wasmtime-*.
This follows a similar change to Cranelift made here:

https://github.com/CraneStation/cranelift/pull/660
2019-03-20 11:30:28 -07:00
Jef
14bff9229e Fix conversions 2019-03-20 18:38:32 +01:00
Jef
6b8ff11854 Implement imported mutable globals 2019-03-20 10:57:55 +01:00
Jef
e4752aae3d Several fixes, implement imported globals 2019-03-19 15:22:05 +01:00
Jef
36ec29b048 Fix imported memories 2019-03-18 21:17:18 +01:00
Jef
64ab86f9bc Add new test results 2019-03-18 20:42:08 +01:00
Jef
a50f008f69 Remove misc tests from readme 2019-03-18 19:43:27 +01:00
Jef
d69bf1ac17 Remove misc tests from readme 2019-03-18 19:42:36 +01:00
Jef
4e48dad9b6 Add host calls 2019-03-18 19:41:36 +01:00
Jef
dc42a58277 Fix double-free'd registers in call_direct 2019-03-18 11:16:32 +01:00
Jef
a8a26b5948 Fix some float issues 2019-03-16 13:04:49 +01:00
Jef
4d537f703d Fix copysign 2019-03-15 15:15:40 +01:00
Jef
e4260d1f6e Add more float ops 2019-03-15 13:13:34 +01:00
Jef
938d7701d9 Add float equality 2019-03-15 12:23:12 +01:00
Jef
1eb419cdda Implement memory.size/memory.grow, globals, call_indirect 2019-03-15 11:51:11 +01:00
Jef
a9ab1a1467 Add conversions, update tests in readme 2019-03-12 18:29:01 +01:00
Jef
cd85e867fe Update README 2019-03-12 16:29:00 +01:00
Jef
2a8ca372e3 Update README 2019-03-12 16:28:25 +01:00
Jef
5ae789ab7b Fix div and rem 2019-03-12 16:26:58 +01:00
Benjamin Bouvier
b7dfe8aaa6 Fix build warnings for cranelift-codegen tests; 2019-03-12 09:53:36 +01:00
Steffen Butzer
92b3987e54 windows/x64 call convention: only use XMM0 for float return values (#691) 2019-03-11 11:44:44 +01:00
bjorn3
00cfe62380 Update README.md 2019-03-08 17:01:36 +01:00
bjorn3
ebf8bc33e8 Rustup stable to 1.32.0 2019-03-08 17:01:36 +01:00
bjorn3
75312a6456 Update faerie to 0.9.1 2019-03-08 17:01:36 +01:00
Jef
e5852ea7ba Update README 2019-03-07 14:04:03 +01:00
Jef
3f3de16bc4 Update README 2019-03-07 14:00:42 +01:00
Jef
45ccc591cd Fix br_if and br_table 2019-03-07 13:21:04 +01:00
Yury Delendik
7b9761f4a2 Update cranelift dependencies to 0.29.0 (#59) 2019-03-06 18:55:24 -08:00
Yury Delendik
ddbc00752e Generate debug info for LLDB/GDB (#50)
* Transform DWARF sections into native format for wasm2obj and wasmtime.

Generate DWARF sections based on WASM DWARF.
Ignore some of debug_info/debug_line for dead code.

* Fix test
2019-03-06 16:03:32 -08:00
Jef
a4e878da75 Add more store instructions 2019-03-06 14:03:40 +01:00
Dan Gohman
34aba7fe66 Bump version to 0.29.0 2019-03-05 06:36:34 -08:00
bjorn3
b4608c02c7 Fixed test 2019-03-05 06:19:46 -08:00
Dan Gohman
395de457c0 Add more tests for emit_small_memset and emit_small_memcpy. (#1) 2019-03-05 06:19:46 -08:00
bjorn3
2d2b041766 Fix emit_small_memset 2019-03-05 06:19:46 -08:00
Benjamin Bouvier
a06d257253 Add a command to push a tag to the repository
The tag is named `v$version` and will thus appear in the tags/releases tabs of the repository, where we can add text explaining new features, API changes, etc.
2019-03-05 06:14:08 -08:00
Benjamin Bouvier
ec521088b7 Fixes #695: Reintroduce a workspace declaration to run all tests with cargo; 2019-03-05 06:10:38 -08:00
Yury Delendik
27b0933a4a Preserve global wasm module offset in SourceLoc. 2019-03-05 14:51:40 +01:00
Steffen Butzer
2a519092a0 Use single index for param register allocation for windows callconv (… (#693)
* Use single index for param register allocation for windows callconv (#691)

The used registers depend entirely on the parameter index (1st, 2nd, 3rd, 4th, ... param)
and we cannot shift unused registers to other indexes, if they are not designated for
the use for that parameter index.
2019-03-05 12:17:41 +01:00
Max McDonnell
6eb09d9edd Parallelize the compilation loop with Rayon (#58) 2019-03-04 17:27:57 -08:00
Jef
e99417fb1c Update readme 2019-03-04 14:29:34 +01:00
Dan Gohman
04d4b20df4 Fix clippy.toml paths and a few clippy lints. 2019-03-01 15:49:29 -08:00
Dan Gohman
2f2626f4b3 Remove the empty [workspace] declaration.
It doesn't appear to be needed; the crate directories having Cargo.toml
files appears to be sufficient.
2019-03-01 15:19:43 -08:00
Dan Gohman
e2f79ae405 Do more Vec reserving. 2019-03-01 14:27:40 -08:00
Dan Gohman
538ef20f50 Use with_capacity to minimize reallocation. 2019-03-01 14:27:40 -08:00
Dan Gohman
cd21efd88a Tidy up an unnecessary lambda. 2019-03-01 14:27:40 -08:00
Dan Gohman
e5f7da2e22 Tidy up redundant conversions. 2019-03-01 14:27:40 -08:00
Jef
74d0e41762 Merge pull request #18 from Vurich/microwasm
Microwasm
2019-03-01 08:23:21 +00:00
Jef
0cfc917c97 Fix some ugliness 2019-03-01 08:15:42 +01:00
Jef
71662af0fa Integer division 2019-02-28 18:09:22 +01:00
Jef
677d54e46d Experimental br_table support 2019-02-27 17:59:27 +01:00