d7154fe791
Remove Backend dependency
2020-01-07 16:12:39 +01:00
d4e964519d
Move requires pre validation into the ModuleCodeGenerator
2020-01-07 16:10:46 +01:00
c4d70a6b75
Use Arc instead of Rc
2019-12-20 20:37:47 -08:00
2404203ae4
Improved based on feedback
2019-12-20 19:03:49 -08:00
527d7072b3
Remove unsafe transmute copy
2019-12-20 18:52:30 -08:00
294cc28135
Move inline breakpoint outside of runtime backend
...
There was some code smell leaking inline breakpoint implementation into the runtime core backend instead of the compiler itself
2019-12-20 18:26:56 -08:00
adecb36d15
Update to 0.45.0 wasmparser Operator names in singlepass-backend
2019-12-20 17:15:38 -08:00
bba0129150
Remove comments with register names that might not be right and don't really matter.
2019-12-20 16:20:58 -08:00
e738a9f2b5
Name the magic constants in the singlepass backend.
2019-12-20 16:20:58 -08:00
b7929e6561
Add support for non-trapping float to int conversions in singlepass+AArch64.
2019-12-20 16:20:58 -08:00
d52c193e84
Finish implementation of trunc_sat in singlepass x86-64.
2019-12-20 16:20:58 -08:00
442c40f5f1
Initial implementatio of trunc-sat instructions in singlepass. 27 test failures.
2019-12-20 16:20:58 -08:00
5888f44e95
Cargo fmt with Rust 1.39.0
2019-12-19 14:06:27 -05:00
6a74b7e994
Prepare for 0.12.0 release
2019-12-18 17:24:29 -05:00
5521352f52
singlepass: Use a valid instruction as the inline breakpoint marker. (AArch64)
2019-12-17 00:33:18 +08:00
298adfd338
Merge branch 'master' into feature/runtime-error-send
2019-12-10 13:59:12 -08:00
0a278c55ee
For error handling and breakpoints, use Box<Any + Send> instead of Box<Any>.
2019-12-09 21:00:01 -08:00
a0c628c063
fix unwrap bug + replace assert, unreachable in singlepass codegen
2019-12-09 15:18:08 +01:00
176b938cb6
Remove wasmparser dep from singlepass
2019-12-05 11:59:26 -08:00
c7f3abd27e
Merge branch 'master' into deterministic
2019-12-05 11:50:16 -08:00
3381e8867c
Fix some assorted warnings.
2019-12-02 17:00:37 -08:00
04d8df0a46
Add comments and remove unneeded static
s.
2019-12-03 01:46:06 +08:00
513427be93
Remove singlepass codegen dependence on runtime memory.
2019-11-29 01:30:08 +08:00
24ead779d6
Remove extra '.'.
...
Co-Authored-By: nlewycky <nick@wasmer.io >
2019-11-28 03:25:05 +08:00
cfa0635026
Add caching support for singlepass backend.
2019-11-28 02:49:52 +08:00
bb1e7a8d78
Prepare for 0.11.0 release
2019-11-22 11:18:06 -08:00
0c7545ded7
Tell dynasm we are generating x64 code in emitter_x64
.
2019-11-20 02:09:32 +08:00
d56fd96395
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-20 01:54:34 +08:00
c9aa37fc99
Cleanup.
2019-11-20 01:48:20 +08:00
34bb321e66
Rename emit_host_redirection
.
2019-11-20 01:34:45 +08:00
98052f82b9
Unmap stack after call.
2019-11-20 01:27:48 +08:00
3d48115586
Allocate a big enough stack for invoke().
2019-11-20 01:07:02 +08:00
a7577dfcef
Try further reducing preallocated stack size.
2019-11-20 00:37:38 +08:00
8ffd380006
Merge #973
...
973: Add sign extension spec tests; add sign extension to singlepass r=nlewycky a=MarkMcCaskey
Adds missing spectests from official repo, implements instructions for singlepass
# Review
- [ ] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Mark McCaskey <mark@wasmer.io >
Co-authored-by: Mark McCaskey <5770194+markmccaskey@users.noreply.github.com >
2019-11-18 22:16:49 +00:00
8a096a09e4
Remove extra register use in sign extension instructions
2019-11-18 11:47:58 -08:00
e568c4a374
Merge #972
...
972: Prepare for 0.10.2 release r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io >
2019-11-18 19:44:33 +00:00
344132cc89
Merge branch 'master' into feature/singlepass-sign-extension
2019-11-18 11:38:12 -08:00
8b6a7b77fc
Clean up from feedback
2019-11-18 11:36:49 -08:00
8ebf8986f0
Reduce stack size.
2019-11-19 03:15:12 +08:00
2776daedfa
Fix entry with more than 5/6 arguments.
2019-11-19 03:04:07 +08:00
ddbdb3e585
Ignore extra arguments.
2019-11-19 02:46:31 +08:00
06a7e5424b
Inline entry trampolines.
2019-11-19 02:39:51 +08:00
2cbc748188
Revert "Update Rust version to 1.39.0."
2019-11-18 09:59:07 -08:00
d7308c361d
Fix call_indirect on imported functions.
2019-11-19 01:25:01 +08:00
1eed6ce8f8
Fix CONSTRUCT_STACK_AND_CALL_WASM for aarch64.
2019-11-18 02:06:31 +08:00
5d2ee4fcc8
Fix floating point comparision involving NaNs.
2019-11-18 01:39:44 +08:00
cbaa94a7fa
Fix movsx(S32, S64).
2019-11-18 01:08:39 +08:00
08beb99baa
Fix popcnt.
2019-11-17 05:15:10 +08:00
021a75244e
Reformat code for rust 1.39.
2019-11-17 04:39:39 +08:00
1db6425cd5
Merge remote-tracking branch 'origin/master' into feature/singlepass-aarch64
2019-11-17 04:36:22 +08:00