Commit Graph

164 Commits

Author SHA1 Message Date
Dan Gohman
5832eff76f Merge remote-tracking branch 'yurydelendik-lightbeam/cranelift-32' 2019-10-02 09:45:54 -07:00
Dan Gohman
8298a7a8b5 Merge remote-tracking branch 'jlb6740-lightbeam/update_cranelift_cg_ver_44' 2019-10-02 09:44:35 -07:00
Dan Gohman
6e963b670e Delete .rustfmt.toml 2019-10-02 09:34:09 -07:00
Dan Gohman
25a7e00d50 Delete .gitignore 2019-10-02 09:33:58 -07:00
Dan Gohman
6d5937dee0 Move lightbeam into a subdirectory. 2019-10-02 09:26:36 -07:00
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
Artur Jamro
bbd7e91d1c Reformat code with new rustfmt (#28) 2019-09-26 22:30:20 +02:00
Jef
31a75a2a84 Merge pull request #24 from sstangl/patch-1
Correctly capitalize Firefox in the README
2019-09-11 11:03:02 +02:00
Dan Gohman
e7f67b1725 Format with rustfmt. (#26)
This will allow us to update the lightbeam version in Wasmtime.
2019-08-22 10:33:41 +02:00
Jef
e6a8f19315 Fix miscompilations and other nasty errors 2019-08-05 14:01:48 +02:00
Jef
bec111a585 Some minor cleanup 2019-07-30 12:30:53 +02:00
Jef
7cc6a1d9f3 Fix stack depth in rem, update cranelift-codegen 2019-07-11 13:10:47 +02:00
Jef
f53dc0b309 Fix problems found by fuzzing 2019-07-08 13:52:10 +02:00
Yury Delendik
8b9c170a91 Update cranelift (v0.32) and wasmparser deps 2019-07-02 15:58:41 -05:00
Sean Stangl
b9836d4d9c Correctly capitalize Firefox in the README 2019-06-20 16:23:15 -07:00
Jef
2e4d676093 Fix several miscompilations 2019-06-20 15:21:22 +02:00
Jef
e2285b543a Fix div (makes the euler example pass!) 2019-06-13 13:24:40 +02:00
Jef
353e6e737b Make not a no-op for condition codes, only emit constants once 2019-06-09 14:55:09 +02:00
Jef
dc3a4d7f4a Fix register cycles, fix a minor issue in pushing 2019-05-24 13:21:52 +02:00
Jef
8578a1b07f Merge pull request #23 from afinch7/ctz_clz_fix
Fix for ctz and clz
2019-05-22 18:54:31 +02:00
afinch7
9b6abc1497 fmt 2019-05-22 09:47:04 -04:00
afinch7
48b7f8e443 detect lzcnt/tzcnt support and use if available 2019-05-21 10:50:40 -04:00
afinch7
2563dc53a1 fixed registry leak and literal casts 2019-05-15 08:20:23 -04:00
afinch7
6e9cff13a2 revert .gitignore changes 2019-05-15 08:01:43 -04:00
afinch7
a5fa03abb2 fix for ctz and clz 2019-05-14 16:14:00 -04:00
Jef
680473c50c Fix param names 2019-05-13 15:23:33 +02:00
Jef
b67514bd11 Merge pull request #20 from tiborvass/fix-brif-typo
microwasm: fix comment typo for BrIf
2019-05-08 07:29:36 +02:00
Jef
30583954eb Add better debugging tools 2019-05-06 10:44:13 +02:00
Jef
21cdd55cd2 Fix various panics and miscompilations 2019-04-24 15:00:15 +02:00
Jef
745d9ae162 Implement rem in backend - not every backend will act like x86 2019-04-24 12:32:17 +02:00
Jef
ea1ec9491e Don't use cmov (no need) 2019-04-24 09:16:38 +02:00
Jef
a2ef962ed7 Fix shift's incorrect register freeing logic 2019-04-17 16:06:51 +02:00
Jef
82e810c8d2 Avoid emitting tests on select 2019-04-17 15:47:22 +02:00
Jef
ced654f907 Allow register allocation to fail 2019-04-17 15:13:38 +02:00
Tibor Vass
7eccb2b622 microwasm: fix comment typo for BrIf
Signed-off-by: Tibor Vass <teabee89@gmail.com>
2019-04-06 11:43:09 -07:00
Jef
762cd3fb32 rustfmt 2019-03-28 10:22:43 +01: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
1e5b09fbc4 Update README 2019-03-27 12:58:30 +01:00
Jef
79f26328d4 Improve efficiency of resetting stack pointer 2019-03-27 12:57:49 +01:00
Jef
652e2fdeec Fix some places that could have caused panics, update example assembly in readme 2019-03-27 12:44:51 +01:00
Jef
d50f075078 Add CondCode location so we can branch much more efficiently 2019-03-27 12:22:57 +01:00
Jef
11b26430b6 Fix on latest nightly 2019-03-27 10:06:54 +01:00
Jef
1ff22de331 Remove unused code 2019-03-26 17:50:03 +01:00
Jef
96df539554 Remove unused code 2019-03-26 17:40:57 +01:00
Jef
84b4fa0208 Update to latest cranelift 2019-03-26 16:02:30 +01:00
Jef
4f21ffc006 Update README 2019-03-26 15:07:20 +01:00
Jef
cf9c57e279 Fix br_if calling convention handling 2019-03-26 10:29:55 +01:00
Jef
f9e66eab84 Update README 2019-03-26 09:10:55 +01:00
Jef
3798890d71 Fix inter-function calls assuming that functions are allocated sequentially 2019-03-26 09:01:09 +01:00