Brandon Fish
03e1b3d8e8
Remove unnecessary println and make spectest runs nocapture
2019-08-05 18:58:51 -06:00
Brandon Fish
540520e54e
cargo fmt
2019-08-05 17:55:41 -06:00
Brandon Fish
dc94cfb7b8
Merge branch 'master' into feature/spectests-runner
2019-08-05 17:53:04 -06:00
Brandon Fish
c65abf8ff5
Delete unused commented out println
2019-08-05 17:52:44 -06:00
Brandon Fish
08eb113394
Output failures in exclude format and add all failures as excludes
2019-08-05 17:51:02 -06:00
Nick Lewycky
1d54a938f6
Fix a couple bugs testing NaNs. Add an exclusion list for LLVM min/max.
2019-08-05 15:38:03 -07:00
Syrus Akbary
07e6599a28
Merge branch 'master' into feature/instance-benchmark
2019-08-05 15:07:58 -07:00
Syrus
47456b5baa
Fixed formatting
2019-08-05 14:37:08 -07:00
Syrus
fed7c79923
Added extra assertions in Emscripten. Fixed #244
2019-08-05 14:15:36 -07:00
Syrus
ea5affc05d
Remove svm mentions in wasmer c api codebase
2019-08-05 11:49:16 -07:00
Syrus Akbary
6692978926
Merge branch 'master' into dependabot/cargo/blake2b_simd-0.5.6
2019-08-05 10:57:06 -07:00
dependabot-preview[bot]
50ebbc500f
Bump blake2b_simd from 0.5.5 to 0.5.6
...
Bumps [blake2b_simd](https://github.com/oconnor663/blake2_simd ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/oconnor663/blake2_simd/releases )
- [Commits](https://github.com/oconnor663/blake2_simd/compare/0.5.5...0.5.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 08:38:35 +00:00
dependabot-preview[bot]
a036a306d5
Bump regex from 1.2.0 to 1.2.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.2.0...1.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 08:36:27 +00:00
Brandon Fish
43ae30985c
Cleanup test runner
2019-08-04 16:44:27 -06:00
Brandon Fish
e3d78a1343
Implement allowed failures
2019-08-04 16:13:47 -06:00
Brandon Fish
b8610e799f
Update README.md, remove old README.md, remove old spectest code
2019-08-04 15:53:48 -06:00
Brandon Fish
93233eb4b4
Implement registered modules
2019-08-04 15:36:17 -06:00
Brandon Fish
5c3edabb7c
Enable simd compile
2019-08-04 14:44:55 -06:00
Brandon Fish
665f8707dc
Implement named modules
2019-08-04 14:20:09 -06:00
Brandon Fish
8c911cb1c3
Implement action get for assert return
2019-08-04 13:37:39 -06:00
Brandon Fish
7060785d8d
Implement assert_exhaustion
2019-08-04 13:18:57 -06:00
Brandon Fish
36bcda711f
Update spectests and run by globbing wast files
2019-08-04 12:42:20 -06:00
Brandon Fish
9a33ece373
Merge branch 'master' into feature/spectests-runner
2019-08-04 11:34:22 -06:00
Brandon Fish
0583ae4846
Add system to skip wast commands to allow failures or skipping
2019-08-04 11:25:46 -06:00
Brandon Fish
f0cdb97320
Add invoke action and imports
2019-08-04 10:19:50 -06:00
Brandon Fish
7d376e18ee
Add debug line info
2019-08-03 18:07:23 -06:00
Brandon Fish
021fefcdee
Disable unlinkable spec temporarily, specs timeout
2019-08-03 17:57:34 -06:00
Brandon Fish
f46d07b5b3
Add more assertions
2019-08-03 17:31:43 -06:00
Nick Lewycky
9fcb06a270
Missed a line!
2019-08-02 16:49:28 -07:00
Nick Lewycky
59ef811b46
Update readme.
2019-08-02 16:48:34 -07:00
Brandon Fish
22808d1dba
Implement spectests summary report
2019-08-02 16:00:35 -06:00
Nick Lewycky
546969a742
These tests are fixed too.
2019-08-02 14:33:11 -07:00
Nick Lewycky
2fabb5bc20
Add support for (register) command in spec tests and enable importing mutable globals.
...
Enable the part of the simd spec tests that now pass.
2019-08-02 14:18:07 -07:00
Syrus Akbary
17b5082c9b
Merge pull request #621 from wasmerio/feature/add-deny-dead_code-lint
...
Add deny dead_code lint and fix one error
2019-08-02 13:36:53 -07:00
Brandon Fish
b358605791
One CamelCase style cleanup and allow dead code warning
2019-08-02 14:14:59 -06:00
Brandon Fish
e2e096117a
Allow dead_code for existing arch specific methods
2019-08-02 14:07:10 -06:00
Yaron Wittenstein
c67df1c954
Merge branch 'master' into c-api-import_object_t
2019-08-02 22:54:54 +03:00
Yaron Wittenstein
eed3b28eab
comment cleanup
2019-08-02 22:54:00 +03:00
Brandon Fish
21ea2465c0
Catch panicking tests
2019-08-02 11:36:38 -06:00
Brandon Fish
2f70a199e4
Add deny dead_code lint and fix one error
2019-08-01 20:46:35 -06:00
Nick Lewycky
83aa9c67c7
Replace throw() with noexcept. Unlike throw(), noexcept indicates that the function does not throw.
...
Before C++17, throw() was equivalent to wrapping the function in a try {} catch
{ std::unexpected(); }. In C++17 throw() was made equivalent to noexcept and
in C++20 throw() was removed.
2019-08-01 17:13:23 -07:00
Nick Lewycky
ac49e57c2d
Run clang-format-8 over the C++ code. No functionality change.
2019-08-01 17:12:46 -07:00
Nick Lewycky
5fed2cef03
Fix typos.
2019-08-01 16:24:40 -07:00
nlewycky
bebc3eefe4
Merge branch 'master' into features/llvm-metering
2019-08-01 13:01:10 -07:00
Nick Lewycky
536f9813dc
Implement InternalEvent::Breakpoint in the llvm backend.
...
Enable now-working metering unit tests when run with the llvm backend.
2019-08-01 12:44:25 -07:00
Yaron Wittenstein
18c7f96188
Merge branch 'master' into c-api-import_object_t
2019-08-01 22:27:41 +03:00
Brandon Fish
dfef2b6899
Merge branch 'master' into clif-backend
2019-08-01 11:59:02 -06:00
Yaron Wittenstein
f64eee894e
[FIX] test-context.c
imports contains now the expected mul
import too
2019-08-01 19:31:33 +03:00
Yaron Wittenstein
3f4ffb0e2d
Merge branch 'develop' into c-api-import_object_t
2019-08-01 18:15:21 +03:00
Pekka Enberg
869ac21f7b
clif-backend: Eliminate FunctionEnvironment construction in feed_event()
...
The feed_event() function is called for every wasm binary instruction.
Let's optimize it by storing FunctionEnvironment object in
CraneliftFunctionCodeGenerator, rather than constructing it for every
feed_event() invocation.
This change reduces the time to run "ngix compile" benchmark by 68%:
Before:
nginx compile time: [1.4152 s 1.4186 s 1.4222 s]
Found 1 outliers among 10 measurements (10.00%)
1 (10.00%) high mild
After:
nginx compile time: [447.76 ms 448.32 ms 448.80 ms]
change: [-68.542% -68.440% -68.352%] (p = 0.00 < 0.05)
Performance has improved.
I assume some of the clone() calls are very expensive (Vec::clone(),
likely). I did see libc malloc()/free() high up in "perf top" profiles,
which are eliminted by this change.
I also looked into eliminating FunctionBuilder construction from
feed_event(). That turns out to be painful on lifetime rules because it
borrows bunch of other objects, so I am leaving it for someone who knows
the code better than I do.
2019-08-01 18:06:40 +03:00