Commit Graph

20 Commits

Author SHA1 Message Date
Johnnie Birch
5096d7cf92 Updates Cranelift Codegen dependence to 0.44
In trying to build the lightbeam feature in wasmtime there are
compile errors mostly related to outdated or missing trait
definitions. This patch moves the current cranelift codegen
dependence to 0.44 in support of that, though other changes
are still needed in wasmtime to get the feature to build.
2019-10-01 08:45:19 -07:00
Jef
7cc6a1d9f3 Fix stack depth in rem, update cranelift-codegen 2019-07-11 13:10:47 +02:00
Jef
a8bb9fd634 Use latest wasmparser instead of fork 2019-03-28 10:14:40 +01:00
Jef
2a60d76bdc Update to latest cranelift 2019-03-27 15:20:17 +01:00
Jef
11b26430b6 Fix on latest nightly 2019-03-27 10:06:54 +01:00
Jef
84b4fa0208 Update to latest cranelift 2019-03-26 16:02:30 +01:00
Jef
14bff9229e Fix conversions 2019-03-20 18:38:32 +01:00
Jef
45ccc591cd Fix br_if and br_table 2019-03-07 13:21:04 +01:00
Jef
ab6b8e983a Add floats 2019-02-25 11:17:21 +01:00
Jef
f1d9ccb9e8 Implement Microwasm 2019-02-19 14:51:30 +01:00
Jef
7e5c3c567f Signature checking for call_indirect, integrate with wasmtime 2019-02-08 11:46:25 +01:00
Jef
74d168ec4b Merge ends, store locals in registers where possible 2019-01-17 11:07:51 +01:00
Jef
a7fa7da7d4 Support a proper vmctx that contains more than just memory offset 2019-01-16 16:34:24 +01:00
Jef
23b5a56a7d Fix locals not being restored properly (which may cause us to read garbage values from the stack) 2018-12-17 12:16:40 +01:00
Jef
5bb7430976 Add quickcheck, implement simple binary operations 2018-12-13 10:25:37 +01:00
Sergey Pepyakin
08240761d5 Compile a simple function (#2)
* Implement basics.

* Execute code

* Add wasm2wat test cases.

* abi_loc_for_arg for stack.

* Assert that sp_depth is 0 at the epilogue

* Do 32bit add.

* Assert that RAX can be used as a scratch register

* Reuse assembler.

* Align stack slots.
2018-11-08 13:56:27 -08:00
Dan Gohman
e32144727d Update project name. 2018-10-30 12:59:49 -07:00
Dan Gohman
34646c6f1f Add some categories and keywords to Cargo.toml. 2018-10-30 10:08:47 -07:00
Dan Gohman
068f86f645 Add a basic README.md. 2018-10-30 10:07:39 -07:00
Dan Gohman
154b35ecc1 Initial experiment. 2018-10-29 12:02:01 -07:00