ptitSeb
5b5d032583
Fixed linter
2023-01-04 19:19:12 +01:00
ptitSeb
9fbc7f4ea5
Removed default Compiler::name() implementation
2023-01-04 18:38:17 +01:00
Christoph Herzog
838bfe2c71
Make Compiler::name() optional
...
Makes the new Compiler::name() method optional by adding a default
implementation.
This avoid a breaking public API change.
2022-12-16 11:47:04 +01:00
Christoph Herzog
5109a407c4
WASIX Preparation
...
This commit extracts changes to core libraries made in the WASIX branch.
It is not reasonable to extract the partial commit history, so this is
just a batch commit.
The history will make a bit more sense again if we decide to merge the
WASIX branch with full commit history.
2022-12-16 11:47:04 +01:00
ptitSeb
d0bef5c026
Store Used CpuFeature in Artifact instead Present CpuFeatures for Singlepass
2022-11-23 11:28:22 +01:00
Manos Pitsidianakis
14ee38a24e
compiler: move Symbol, SymbolRegistry to wasmer-types
2022-08-02 15:45:28 +03:00
Manos Pitsidianakis
187d2e6364
Remove Artifact trait
...
In favor of using UniversalArtifact everywhere
2022-07-25 13:13:52 +03:00
Manos Pitsidianakis
8f539d134b
Move wasmer_compiler/{address_map, function, module, sourceloc, trap, unwind}.rs to wasmer_types
2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
b1f1939bf7
Move wasmer_compiler/{section,relocation}.rs to wasmer_types
2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
feee4e3587
Move wasmer_compiler errors to wasmer_types error module
2022-06-16 16:57:45 +03:00
Manos Pitsidianakis
00f9a3c8d7
Remove loupe dependency
...
Closes #2731
Closes #2744
2022-06-08 14:12:49 +03:00
Amanieu d'Antras
3ad9552e2e
Update wasmparser to 0.83
2022-04-06 16:23:32 +01:00
jubianchi
6a99268895
feat(llvm): Make NaN canonicalization configurable
...
compiler-llvm now uses the experimental.constrained intrinsics to ensure
correct behavior on FP operations when full-canonicalization is
disabled.
This patch requires TheDan64/inkwell#247
2021-05-28 11:40:10 +02:00
Syrus Akbary
cb66b5293d
Improved middleware logic
2021-04-27 14:00:25 -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
Ivan Enderlin
026520998c
feat: Start implementing loupe::MemoryUsage on wasmer::Store.
2021-03-22 11:42:28 +01:00
Mark McCaskey
0a17424368
Update wasmparser and core spectests
2021-02-09 11:57:54 -08:00
Syrus Akbary
b8eb7f9b59
Fix lint
2020-12-04 16:01:05 -08:00
Syrus Akbary
1ee0146954
Fix all compilation issues simplifying the code
2020-12-04 15:58:38 -08:00
Syrus Akbary
601294dfaf
Fix lint
2020-12-04 15:48:21 -08:00
Syrus Akbary
c3d1ce8040
Fix compilation issue
2020-12-04 15:45:01 -08:00
Syrus
13e6f29c29
Set compiler config to be owned (following wasm-c-api)
2020-12-04 02:39:19 -08:00
Nick Lewycky
8ca3693a56
Add support for middleware to experimental_native_compile_module and make it work on compiler-llvm.
2020-11-23 13:56:17 -08:00
losfair
9d8f315d4c
Update module info in-place.
2020-11-23 13:42:51 -08:00
losfair
e7dd725c6d
Add module info transformation method to ModuleMiddleware.
2020-11-20 14:34:46 -08:00
Syrus
ba60630407
Upgrade wasmparser to 0.62
2020-10-29 16:21:43 -07:00
Syrus
b7792f03c2
Upgrade wasmparser to 0.60
2020-10-29 15:50:04 -07:00
Syrus
3da4445e59
Update wasmparser to 0.59
2020-10-29 15:17:53 -07:00
Mark McCaskey
5049c543dc
Rename wasm-common crate to wasmer-types
2020-08-13 17:59:26 -07:00
Nick Lewycky
15b3a35e0c
Don't clone function body data.
2020-08-07 14:31:36 -07:00
Nick Lewycky
037922bbf2
Change this API to return an Option that's None when it's unimplemented and Some(Result<...>) when it is.
2020-08-07 14:26:53 -07:00
Syrus
701973ffae
Make Native Engine work with conditional native compilation
2020-08-07 11:35:42 -07:00
Nick Lewycky
2c2da8ec3c
Wire up experimental_native_compile_module for LLVM.
...
Move Symbol and SymbolRegistry to wasmer_compiler crate.
2020-08-05 17:44:52 -07:00
Nick Lewycky
02c62657f5
Add experimental_native_compile_module and initial implementation changing native engine to use it.
2020-08-05 17:12:17 -07:00
Nick Lewycky
50e54f6be6
Add --enable-verifier to the wasmer command line. Wire it through CompilerConfig.
2020-07-13 12:03:52 -07:00
Ivan Enderlin
209c91c707
fix(compiler) Ignore an unused argument.
2020-06-23 10:19:12 +02:00
Syrus
56c2f52001
Improved Compiler API
2020-06-22 14:58:58 -07:00
Syrus
e604d6db49
Fixed linting
2020-06-18 13:08:52 -07:00
Syrus
83203a849b
Improved tunables story
2020-06-18 12:08:55 -07:00
Syrus
769ffebb61
Improved feature-generation to be compiler-based
2020-06-18 02:11:54 -07:00
Syrus
8649f2eb79
Remove target from CompilerConfig
2020-06-17 20:26:50 -07:00
Syrus
e062e87d8b
Refactored Compilers
2020-06-17 19:17:06 -07:00
losfair
9d27bd2318
Merge remote-tracking branch 'origin/master' into middleware
2020-06-18 00:41:42 +08:00
Syrus
03494ac1a2
Unify trampolines in Compilation object
2020-06-16 20:11:47 -07:00
losfair
69ce68c31a
Merge remote-tracking branch 'origin/master' into middleware
2020-06-17 00:52:20 +08:00
Syrus
b00f899913
Update to Cranelift 0.65, wasmparser 0.57
2020-06-15 18:00:48 -07:00
losfair
c413101f99
Remove middleware registry.
2020-06-16 00:56:18 +08:00
Syrus
abbd39c50b
Refactor trampoline compilation
2020-05-29 19:37:03 -07:00
Ivan Enderlin
f3c389acd9
doc(compiler) Fix examples.
2020-05-28 12:54:16 +02:00