98b20d9240
Fixed Caching in Windows lint and improved code
2019-07-29 18:29:20 -07:00
13901cc665
Improvement cache in Windows
2019-07-29 17:33:50 -07:00
5f0ce6ef2f
Enable SIMD when parsing the spec tests.
2019-07-29 15:47:38 -07:00
7a1ddc0b5a
Rename validate to validate_with_features.
2019-07-29 12:11:23 -07:00
86316c474a
Use --enable-simd to control whether SIMD is enabled in the wasmparser.
...
Before this change, 'wasmer run --backend=llvm some-simd.wasm' would run without complaint.
Also, note that the flag is not part of the cache key, so after any successful run, we can run it again without passing the flag.
2019-07-29 12:11:23 -07:00
784e65d587
making wasmer_byte_array
fields public
2019-07-29 17:24:43 +03:00
8408260edd
wasmer-c-api: adding #[derive(Debug)]
for wasmer_result_t
(so that we can do assert_eq!
)
2019-07-29 17:10:17 +03:00
a8d2469689
wasmer-c-api: returning back pub(crate) fn inner
for export.rs
2019-07-29 13:44:56 +03:00
10fc660aad
wasmer_byte_array
visibility revert (see PR: "wasmer-c-api-changes: making wasmer_byte_array
fields public
#589 ")
2019-07-29 13:41:28 +03:00
11f66d287b
Improve NaN handling by canonicalizing NaNs before most operations.
...
Not handled here is @llvm.minnum and @llvm.maxnum which should be replaced with
@llvm.minimum and @llvm.maximum, but using those currently leads to LLVM backend
fatal errors.
2019-07-28 22:53:48 -07:00
2f021f0e2a
LLVM srem is undefined in cases where i32.rem_s and i64.rem_s are defined.
2019-07-28 22:53:48 -07:00
8098b7e44d
Merge branch 'master' into feature/spectests-runner
2019-07-26 22:15:42 -05:00
d7c11bcf5f
Fixes case with empty module, handle case with no signatures
2019-07-26 17:58:57 -05:00
53c343bc6f
Merge #579
...
579: fix caching for other backends, improve default compiler code r=MarkMcCaskey a=MarkMcCaskey
Co-authored-by: Mark McCaskey <mark@wasmer.io >
Co-authored-by: Syrus Akbary <me@syrusakbary.com >
2019-07-26 22:21:00 +00:00
efb5277d1d
Stack parsing now works with LLVM.
2019-07-27 02:50:49 +08:00
6cddc25ddd
Derive Debug on these small structs.
2019-07-26 11:12:13 -07:00
8f417f3d59
Add --enable-simd flag to wasmer run and wasmer validate.
2019-07-26 00:34:02 -07:00
459837f412
Initial commit of wast spectest runner
2019-07-25 22:31:19 -05:00
ab5f28851a
Merge pull request #578 from vavrusa/master
...
llvm-backend: export FunctionCodeGenerator and ModuleCodeGenerator
2019-07-25 17:08:50 -07:00
d1a5cc9139
fix semver issue with clif 0.31 + new version of wasmparser
2019-07-25 10:38:20 -07:00
f04d552361
wasmer-c-api:
...
* error.rs - changing `update_last_error` visibility to `pub`.
* error.rs - changing `CApiError` `msg` field visibility to `pub`.
2019-07-25 15:46:57 +03:00
015616b541
export.rs - changing FuncPointer
inner
visibility to pub
2019-07-25 14:59:59 +03:00
6cc31d3b49
lib.rs - making wasmer_byte_array
fields public
2019-07-25 11:42:47 +03:00
4ada51957d
Merge branch 'master' into feature/caching-fix-and-better-default-compiler
2019-07-24 18:58:45 -07:00
659f088c4f
llvm-backend: export FunctionCodeGenerator and ModuleCodeGenerator
...
This is in line with the singlepass-backend to be able to use LLVM MCG with
a StreamingCompiler.
2019-07-24 18:46:35 -07:00
76daa7b3fd
Improved Wasmer Backends documentation
2019-07-24 18:06:59 -07:00
a3089a4501
fix caching for other backends, improve default compiler code
2019-07-24 17:31:59 -07:00
624f3459ab
Merge branch 'master' into simd
2019-07-24 14:44:52 -07:00
f6240721ea
Merge branch 'master' into simd
2019-07-24 14:08:24 -07:00
4b1bc24a2b
Update cranelift to the version crates.io.
...
This is needed in order for the resulting wasmer to be releasable.
2019-07-24 14:06:19 -07:00
610c5bfe1f
Merge branch 'master' into ctx-drop-finalizer
2019-07-24 13:52:57 -07:00
5c1b7d2e5b
Adds the SIMD tests from binaryren, updated to work with wasmer.
...
This test is too large and therefore does not run by default, see
`fn is_fat_test` in spectests.rs.
2019-07-24 13:48:38 -07:00
ce9bea402c
Merge branch 'master' into fix/dropping-bad-data
2019-07-24 13:32:42 -07:00
cc4f0e31a6
TwoHalves & trying to get cowsay to compile again
2019-07-25 02:44:28 +08:00
3c952f307e
fix Drop of uninit Ctx; use MaybeUninit
2019-07-24 11:29:16 -07:00
f763de94ab
Update to wabt 0.9.0.
2019-07-24 10:03:08 -07:00
0ed104b543
Remove incorrect comment -- wasmer does support mutable globals.
...
The reason this test needed to be disabled is correctly documented in the comment above.
2019-07-23 17:13:02 -07:00
16fe3ce0af
Merge branch 'master' into simd
2019-07-23 13:51:15 -07:00
fe2bd6ad6c
Add missing names to LLVM instructions.
2019-07-23 13:19:27 -07:00
ad7e3b52d3
Prepare for release of 0.5.7
2019-07-23 11:20:59 -07:00
18307bb79c
Improve panic/unreachable/unimplemented usage. Refactor a little.
2019-07-22 12:15:56 -07:00
0133b92bec
Populating LLVM stack maps into MSM/FSM.
2019-07-23 02:55:43 +08:00
4535274cf3
Update the loader interface for 128 bit types.
2019-07-22 11:23:41 -07:00
f8e8b1cdea
Update to latest wasmer clif branch.
2019-07-22 10:59:27 -07:00
c3ced14e46
Merge branch 'master' into ctx-drop-finalizer
2019-07-22 14:13:11 +03:00
775c120b38
Update to newer wasmerio/wabt-rs.
2019-07-19 15:48:50 -07:00
fc935710c7
Merge branch 'master' of github.com:wasmerio/wasmer into simd
2019-07-19 15:37:36 -07:00
cd25356858
Fix shuffle and enable tests. Add support for new load_splat instructions.
...
Updates to wasmparser 0.34.0 and picks up a newer wasmerio/wabt.
2019-07-19 15:19:58 -07:00
f15e90f8f3
Merge branch 'master' into feature/wasi-readlink
2019-07-19 13:36:27 -07:00
a0672b3fa2
updates from code review
2019-07-19 13:36:05 -07:00