Syrus Akbary
5746be813c
Revert "[compiler] simplified codebase (we can factor this out)"
...
This reverts commit 76ea96ab06 .
2021-07-16 16:35:16 -07:00
Syrus Akbary
92f8141421
[compiler] simplified codebase (we can factor this out)
2021-07-16 16:34:16 -07:00
Syrus Akbary
76ea96ab06
[compiler] simplified codebase (we can factor this out)
2021-07-16 16:33:37 -07:00
Syrus Akbary
98481f51fe
Move ModuleInfo to wasmer-types
2021-07-16 15:42:39 -07:00
Mark McCaskey
0c0fdad3d2
Prepare for 2.0.0 release
2021-06-15 11:26:46 -07:00
Mark McCaskey
80a8658e5a
Prepare for 2.0.0-rc2 release
2021-06-03 09:19:16 -07:00
Mark McCaskey
cfc1a5fc26
Fix typo 2.0.0-rc -> 2.0.0-rc1
2021-06-02 08:32:46 -07:00
Mark McCaskey
2897a5b05e
Bump version number to 2.0.0-rc1
2021-06-02 08:21:34 -07: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
Ivan Enderlin
e5a784a006
feat: Rename wasmer-engine-jit to wasmer-engine-universal.
...
This (small) patch renames the `wasmer-engine-jit` crate into
`wasmer-engine-universal`.
2021-05-25 16:12:06 +02:00
Syrus Akbary
c1ada66fe2
Added support for Cranelift Native in Aarch64
2021-05-14 14:07:05 -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
d9d09aba6e
Type check tables when importing
2021-05-04 12:16:53 -07:00
bors[bot]
8012f3f2fd
Merge #2250
...
2250: Use rkyv for JIT Engine r=syrusakbary a=syrusakbary
Since we are going to switch serialization methods, the new one doesn’t have a slowdown if we read the data directly.
Thus, we can always operate with processed frame infos rather than creating a lazy structure that will be deserialized when needed.
Try it:
```shell
git clone https://github.com/wasmerio/wasmer.git -b universal-compiled-info
cd wasmer
make build-wasmer
./target/release/wasmer run lib/c-api/tests/assets/qjs.wasm --disable-cache -- -h
```
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2021-04-30 18:15:12 +00:00
Syrus Akbary
bd1553c409
Address all review comments
2021-04-29 22:41:23 -07:00
Syrus Akbary
4c54d863ce
Downgrade to rkyv 0.4.3
2021-04-29 16:42:06 -07:00
Syrus Akbary
2aa5122ee0
Merge branch 'master' into universal-compiled-info
2021-04-29 13:02:37 -07:00
Mark McCaskey
ac42dcecfd
Merge branch 'master' into feature/update-wasmparser-to-0.77
2021-04-29 15:17:24 -04:00
Mark McCaskey
20758ea8af
Update wasmparser to 0.77
2021-04-29 09:22:14 -07:00
Mark McCaskey
846d549913
Update rkyv to version 0.6.0
2021-04-29 08:04:28 -07:00
Syrus Akbary
50f899af69
Move from serde to rkyv
2021-04-29 01:24:44 -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
Bo Yao
dadc81296a
cargo fmt
2021-04-21 16:06:12 -07:00
Bo Yao
24bcc9349e
cargo fmt
2021-04-21 15:42:47 -07:00
Bo Yao
de33c1d2ed
follow Syrus's comment fix test -p wasmer-engine-jit --release --no-default-features
2021-04-21 14:55:23 -07:00
Bo Yao
92af25a585
resolve conflict, replace two primary map to hash map
2021-04-20 16:50:05 -07:00
Bo Yao
51d60ae911
fix rkyv 0.4.3 align check
2021-03-25 16:14:30 -07:00
Bo Yao
3c19a663a9
merge master
2021-03-23 15:42:54 -07:00
Ivan Enderlin
e1e2f03c7c
fix: Rename lib/wasmer-types/ to lib/types/.
2021-03-23 17:36:58 +01:00
Ivan Enderlin
03486f3b8a
feat: Use latest version of loupe.
2021-03-23 13:04:45 +01:00
Ivan Enderlin
44dc884260
feat: Start implementing loupe::MemoryUsage on wasmer::Module.
2021-03-23 13:04:45 +01:00
Ivan Enderlin
4b752ed498
chore: Use loupe 0.1.0.
2021-03-23 11:18:31 +01:00
Bo Yao
204c37ce8e
cargo fmt
2021-03-22 17:10:12 -07:00
Ivan Enderlin
2afed4d813
feat: Use latest version of loupe.
2021-03-22 11:43:46 +01:00
Ivan Enderlin
026520998c
feat: Start implementing loupe::MemoryUsage on wasmer::Store.
2021-03-22 11:42:28 +01:00
Bo Yao
76de63be21
merge master
2021-03-19 15:39:56 -07:00
Bo Yao
d63655b967
use released rkyv
2021-03-19 15:33:08 -07:00
Bo Yao
83a7a27368
impl eq to see deserialization is correct
2021-03-17 15:44:53 -07:00
Bo Yao
63d1c1c848
rykv deserialize is slower than archive, but still 10x faster than bincode deserialize
2021-03-17 13:59:24 -07:00
Bo Yao
aa4de2852e
derive rkyv traits, work except on primarymap
2021-03-15 16:25:01 -07:00
Syrus Akbary
0270058a30
Fixed lint issues
2021-03-12 16:33:51 +01:00
Syrus Akbary
837c1c18c1
Passive elements and data are now PrimaryMaps
2021-03-12 04:26:50 +01:00
Mark McCaskey
0a17424368
Update wasmparser and core spectests
2021-02-09 11:57:54 -08:00
Nick Lewycky
9e1cec01be
Prepare for 1.0.2 release
2021-02-04 19:44:49 -08:00
Syrus Akbary
484abccab3
Remove dependency on raw-cpuid in favor of is_x86_feature_detected
2021-01-27 23:17:47 -08:00