Commit Graph

142 Commits

Author SHA1 Message Date
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
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
Jef
e69e0aeb28 Update README 2019-03-21 14:12:54 +01:00
Jef
103ae62095 Fix README 2019-03-21 13:52:57 +01:00
Jef
624d5cc6ad Update README 2019-03-21 13:35:55 +01:00
Jef
791ccf84b4 Free up registers where possible 2019-03-21 13:33:00 +01:00
Jef
4eb546c6a5 Fix conversions trapping and fix some weirdness around conditional jumps 2019-03-21 11:47:50 +01: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