Syrus Akbary
a5ba236bd7
Merge branch 'feature/update-clif-small-simd-improvement' into cranelift-simd
...
# Conflicts:
# Cargo.lock
# fuzz/Cargo.lock
# lib/compiler-cranelift/Cargo.toml
# lib/deprecated/runtime-core/Cargo.lock
2021-05-14 14:35:31 -07:00
Mark McCaskey
0d4fe293e5
Merge branch 'master' into feature/update-clif-small-simd-improvement
2021-05-13 15:38:40 -04:00
Mark McCaskey
89145ac977
Update relocation type for PIC Cranelift
2021-05-13 12:33:04 -07:00
Syrus
7c96f54dfa
Use old cranelift backend for now so cranelift+native tests pass
2021-05-12 15:40:25 -07:00
Syrus
c7df813210
Update code with last simd instructions
2021-05-12 15:27:56 -07:00
Mark McCaskey
9e04e2624b
Update cranelift, impl low hanging fruit SIMD opcodes
2021-05-12 09:15:56 -07:00
Mark McCaskey
f6dcfef96e
Merge branch 'master' into HEAD
2021-05-12 08:33:23 -07:00
Syrus Akbary
b7b9fc6d8e
Merge branch 'master' into improve-traps
2021-05-11 13:48:35 -07:00
Syrus Akbary
f3384bb912
Address comments
2021-05-11 13:08:00 -07:00
Syrus Akbary
48139c3a08
Merge branch 'master' into unwind-optional
...
# Conflicts:
# lib/compiler-singlepass/Cargo.toml
2021-05-11 11:26:50 -07:00
Syrus Akbary
5dfdb1474b
Remove unused features
2021-05-11 11:24:35 -07:00
Syrus Akbary
f85382d07f
Not use unwind feature
2021-05-11 11:13:35 -07:00
Syrus Akbary
8b86f795b7
Improved trap handling
2021-05-10 16:42:10 -07:00
Mark McCaskey
20758ea8af
Update wasmparser to 0.77
2021-04-29 09:22:14 -07:00
Syrus Akbary
cb66b5293d
Improved middleware logic
2021-04-27 14:00:25 -07:00
Syrus Akbary
8b00aec7a1
Improved a bit more the codebase
2021-04-26 21:32:41 -07:00
Syrus Akbary
2df5854e37
Make compilers to take non-mutable inputs
2021-04-26 21:14:23 -07:00
Syrus Akbary
ae20af8426
Add middleware accessor in compiler
2021-04-26 16:52:31 -07:00
Syrus Akbary
9be59f809f
Use FunctionBinaryReader instead of Middleware
2021-04-26 16:40:54 -07:00
Syrus Akbary
8b4dce296a
Merge branch 'master' of github.com:wasmerio/wasmer into cranelift-simd
...
# Conflicts:
# lib/deprecated/runtime-core/Cargo.lock
2021-04-26 13:50:48 -07:00
Syrus Akbary
8bf132ca17
Make unwind feature optional
2021-04-21 18:31:06 -07:00
Mark McCaskey
9eed2733ca
Add misc cleanups from self-review
2021-04-06 12:02:45 -07:00
jubianchi
552bc2015f
fix(cranelift): SIMD is always enabled
2021-04-01 16:52:56 +02:00
jubianchi
656c8bcd57
Revert "Set cranelift simd config based on Wasm Features"
...
This reverts commit 90344a9ade .
2021-04-01 10:33:12 +02:00
Syrus Akbary
90344a9ade
Set cranelift simd config based on Wasm Features
2021-04-01 09:20:29 +02:00
jubianchi
563d449da2
fix(cranelift): Enable optimization even when SIMD is enabled
2021-04-01 09:20:29 +02:00
jubianchi
4bf35d106e
chore: Update Cranelift to the latest version
2021-04-01 09:20:28 +02:00
Mark McCaskey
8149453ff5
Merge branch 'master' into feature/reference-types
2021-03-31 08:42:26 -07:00
Mark McCaskey
e53b039c91
Address feedback, clean up ref types PR
2021-03-31 08:38:33 -07:00
Mark McCaskey
ef60f08740
Merge branch 'master' into feature/reference-types
2021-03-23 09:42:34 -07:00
Ivan Enderlin
e1e2f03c7c
fix: Rename lib/wasmer-types/ to lib/types/.
2021-03-23 17:36:58 +01:00
Ivan Enderlin
4b752ed498
chore: Use loupe 0.1.0.
2021-03-23 11:18:31 +01:00
Mark McCaskey
979b9da566
Merge branch 'master' into feature/reference-types
2021-03-22 11:51:04 -07:00
Ivan Enderlin
2afed4d813
feat: Use latest version of loupe.
2021-03-22 11:43:46 +01:00
Ivan Enderlin
fc4637bfdb
Merge branch 'master' into feat-memory-usage
2021-03-22 11:43:04 +01:00
Ivan Enderlin
026520998c
feat: Start implementing loupe::MemoryUsage on wasmer::Store.
2021-03-22 11:42:28 +01:00
Ivan Enderlin
9c1ec38a9a
feat(compiler-cranelift) Migrate to the recent changes in wasmer-types.
2021-03-18 14:41:37 +01:00
Mark McCaskey
2a541e072b
Merge branch 'master' into feature/reference-types
2021-03-16 12:28:05 -07:00
Mark McCaskey
bfc91dc445
Feature gate wasmer::ExternRef
2021-03-16 09:24:13 -07:00
Mark McCaskey
f26de7ea54
Disable dynamic ref counting in compiler-cranelift
...
This will leak extern refs but lets all spec tests pass. We can follow up later
to resolve the leaking of ExternRefs, but most of this PR should land on
master/main now.
2021-03-15 12:51:04 -07:00
Mark McCaskey
3dcba53309
Add wip commit, more ref counting improvements
2021-03-05 11:58:21 -08:00
Mark McCaskey
af3e3e5ff4
Fix up extern ref counting for globals + misc cleanups
2021-03-05 08:01:52 -08:00
Mark McCaskey
96e9baad52
Add preliminary ref counting to compiler cranelift
...
Still a WIP, not all cases are covered and we're not testing very thoroughly yet
2021-03-04 10:28:55 -08:00
Mark McCaskey
473c0f4f9e
Improve extern ref ref counting tests
2021-03-03 08:13:16 -08:00
Mark McCaskey
2dcb56571a
Implement most of extern ref counting in compiler-cranelift
2021-03-02 13:31:34 -08:00
Nick Lewycky
b14afa1342
Implement all reference types instructions in compiler-llvm.
...
Remove spectest ignores for reference types tests on llvm.
Extend llvm ABIs to pass externref and funcref.
Expose all libcalls through the Libcalls enum.
Add support for all libcalls to llvm object_file.rs, even libcalls that we aren't using.
Add missing no_mangle to libcalls.
Change 'memory' to 'memory32' in libcalls in preparation for the memory64 proposal.
Remove 'local' from 'wasmer_local_memory_copy' in libcalls to fit naming convention.
Add mangling of externref and funcref for llvm-debug-dir.
Mark 'wasmer_func_ref' readonly.
2021-03-01 11:53:12 -08:00
hanabi1224
321bea4ded
Upgrade cranelift to 0.70
2021-02-27 19:09:45 +08:00
Mark McCaskey
148aa41ec8
Get compiler singlepass passing reference types spec tests
...
Also implement `elem.drop` which seems to have been missing
2021-02-25 09:16:31 -08:00
Mark McCaskey
72b4a6ed8b
Fix memory leak with imported funcrefs
2021-02-16 09:32:42 -08:00
Nick Lewycky
efa9176179
Remove dev-dependency on cranelift 0.67.
2021-02-10 13:44:27 -08:00