Lars T Hansen
141ccb9e9d
Add a --disasm option to clif-util wasm and compile ( #713 )
...
- Both the `wasm` and `compile` commands get this new subcommand, and it defaults to false. This means that test runs with `wasm` can request disassembly (the main reason I am doing this) while test runs with `compile` now must request it, this changes current behavior.
- Switch to using context.compile_and_emit directly, and make the reloc and trap printers just accumulate output, not print it. This allows us to factor the printing code into the disasm module.
2019-03-27 12:57:13 +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
Dan Gohman
b0243b212f
Update the minimum Rust version to 1.32.
2019-03-27 02:25:13 -07:00
Yury Delendik
2353be95e6
update cranelift deps to 0.30.0
2019-03-27 02:24:51 -07:00
Yury Delendik
94ca967d0a
Update faerie to 0.9.1
2019-03-27 02:24:51 -07:00
Jef
11b26430b6
Fix on latest nightly
2019-03-27 10:06:54 +01:00
Dan Gohman
82c6867155
Work around Cargo #4866 . ( #699 )
...
* Work around Cargo build #4866 .
This fixes #697 .
* Rename "cargo4866workaround" to "core" per review feedback.
2019-03-26 11:28:39 -07:00
Dan Gohman
1784060baf
Add a sleep command between cargo publish invocations.
...
Crates.io no longer synchronously updates the crate index, so sleep for
a few seconds between cargo publish invocations to give it time to
update.
2019-03-26 11:07:20 -07:00
Jef
1ff22de331
Remove unused code
2019-03-26 17:50:03 +01:00
Dan Gohman
4dcbabf355
Update crate paths in publish-all.sh.
2019-03-26 09:48:20 -07:00
Jef
96df539554
Remove unused code
2019-03-26 17:40:57 +01:00
Dan Gohman
ec0b10cd34
Bump version to 0.30.0
2019-03-26 09:36:22 -07:00
Dan Gohman
6b854381bb
Fix a documentation-comment warning.
2019-03-26 09:11:57 -07:00
Dan Gohman
6b85df0168
Update to wasmparser 0.29.2.
2019-03-26 09:06:41 -07:00
Dan Gohman
975b7f2e8d
Put a space between "//!" and "```".
2019-03-26 08:40:25 -07: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
bjorn3
45efbf7973
Optimize switch codegen and improve docs ( #712 )
2019-03-26 11:04:02 +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
Yury Delendik
5e12f4f2b8
Add missing use_srcloc in postopt and regalloc passes
2019-03-25 15:06:41 +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
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