3e9c9d4cca
Implement SIMD load and extend instructions in compiler-llvm.
2020-07-30 14:49:46 -07:00
48dd090da6
Updated build links
2020-07-29 17:30:15 -07:00
a732159514
Use better naming for module functions
2020-07-26 12:02:45 -07:00
79034f069d
Improve crate readmes
2020-07-24 15:33:12 -07:00
b7d41e1e31
Merge branch 'master' into feature/improve-thread-safety-of-core-types
...
# Conflicts:
# lib/api/src/instance.rs
# lib/engine-jit/src/artifact.rs
# lib/engine-native/src/artifact.rs
2020-07-23 15:29:13 -07:00
1293df8dd6
Added Debug to public structs. Close #173
2020-07-21 20:38:32 -07:00
159af42644
doc(compiler-llvm) Fix link to example + typos.
2020-07-16 10:21:29 +02:00
8677ac1b0c
Fixed examples urls
2020-07-15 12:39:06 -07:00
6f1677f5b3
Added more examples
2020-07-14 14:14:46 -07:00
138899c186
Remove verify_ir()
from Cranelift and LLVM config classes.
...
It's replaced by `enable_verifier()` on the CompilerConfig trait.
Enable verifier for all compilers (it's a no-op on singlepass but enabled
nevertheless) when running tests.
2020-07-13 12:13:49 -07:00
50e54f6be6
Add --enable-verifier to the wasmer command line. Wire it through CompilerConfig.
2020-07-13 12:03:52 -07:00
c1e3b445a1
Canonicalize floats before branch, in Operator::Return too.
2020-07-10 16:55:22 -07:00
cc081ffff6
Canonicalize the floats first, then branch out of the block.
2020-07-10 16:18:33 -07:00
f9bce8858b
Merge branch 'master' into feature/improve-thread-safety-of-core-types
2020-07-09 13:57:58 -07:00
92f8651312
Renamed wasmer_runtime to wasmer_vm
2020-07-07 21:26:06 -07:00
38459698d1
Trying to fix issues
2020-07-07 17:05:30 -07:00
b57a28edc7
Removed Memory plans in favor of direct styles
2020-07-07 16:50:08 -07:00
416b76ab34
Move offset_guard_size to the memory style
2020-07-07 15:58:46 -07:00
98f2e8fe26
Remove TablePlans
2020-07-07 15:10:03 -07:00
d4d738d97e
Add an extra layer of indirection for shared globals
2020-07-02 18:23:19 -07:00
f00e089ad3
fix(compiler-llvm) Remove an unused import.
2020-06-23 09:32:50 +02:00
56c2f52001
Improved Compiler API
2020-06-22 14:58:58 -07:00
2017acf99e
Some clippy cleanup.
2020-06-20 13:43:46 -07:00
c0b2f968e2
more formatting
2020-06-18 16:50:56 -07:00
914da3266b
cargo fmt
2020-06-18 16:48:44 -07:00
84b32ed2cd
cargo fmt
2020-06-18 16:46:45 -07:00
b527127d0f
load_object_file is returning an increasingly complex object.
...
Group the data from compilation of a function into its own struct and return that.
2020-06-18 16:43:43 -07:00
30add15904
make lint cleanup
2020-06-18 15:50:35 -07:00
27a0613e57
Remove unused use
line.
2020-06-18 15:47:00 -07:00
8edaf2d617
cargo fmt
2020-06-18 15:46:11 -07:00
54c7b6f876
In trampoline generation, ensure all custom sections are eh frames.
...
.eh_frames may refer to the trampoline, but it is impossible to encode such a relocation. The optional relocation "self-referential" target is replaced with a better named mandatory argument. The value will be discarded in trampoline generation with the rest of the .eh_frame.
2020-06-18 15:37:08 -07:00
310ac6b44c
Shrink the 0-length CIE. The previous one came from /bin/ls on my machine, the new one is based on the CIE description in the DWARF 3 spec (the LSB description leaves out too much detail, like the size of the version field).
...
Formatting cleanup.
2020-06-18 15:37:06 -07:00
8d11d3fc52
Remove gimli leftovers.
2020-06-18 15:35:39 -07:00
e9d5c7896c
Merge .eh_frame without interpretation. Add a 0-CIE to the end.
...
Add unfinished attempt at using gimli, to be deleted but recorded in case we need it in the future.
2020-06-18 15:35:37 -07:00
52eae576fc
Record the .eh_frame sections from each .o file.
2020-06-18 15:34:23 -07:00
30516b5930
Improved docs
2020-06-18 13:24:41 -07:00
769ffebb61
Improved feature-generation to be compiler-based
2020-06-18 02:11:54 -07:00
422051ebe5
Simplified compiler config names
2020-06-18 01:36:25 -07:00
99bd98458a
Improved compiler configurations
2020-06-17 22:47:32 -07:00
8649f2eb79
Remove target from CompilerConfig
2020-06-17 20:26:50 -07:00
e062e87d8b
Refactored Compilers
2020-06-17 19:17:06 -07:00
9d27bd2318
Merge remote-tracking branch 'origin/master' into middleware
2020-06-18 00:41:42 +08:00
03494ac1a2
Unify trampolines in Compilation object
2020-06-16 20:11:47 -07:00
69ce68c31a
Merge remote-tracking branch 'origin/master' into middleware
2020-06-17 00:52:20 +08:00
b00f899913
Update to Cranelift 0.65, wasmparser 0.57
2020-06-15 18:00:48 -07:00
1bbaafb819
Middleware for LLVM.
2020-06-16 00:56:43 +08:00
b01350110b
Merge branch 'master' into cranelift-update
...
# Conflicts:
# Cargo.lock
# lib/compiler/src/lib.rs
# lib/compiler/src/target.rs
2020-06-12 14:28:08 -07:00
8db235538a
Improve code based on comments
2020-06-12 12:46:16 -07:00
af46df5e4c
Merge remote-tracking branch 'origin/master' into middleware
2020-06-13 00:55:47 +08:00
c514104e3e
Merge branch 'master' into cranelift-update
2020-06-12 04:43:11 -07:00