Nikolay Volf
688718f8b1
Merge pull request #250 from gballet/mut-start-helpers
...
Helpers to manage start section
2018-11-29 08:13:33 +03:00
Guillaume Ballet
b649136590
fix tabs
2018-11-29 00:29:47 +01:00
Guillaume Ballet
d1dc069c84
Helpers to manage start section
2018-11-28 20:34:25 +01:00
NikVolf
65ac493076
bump to 0.35.2
2018-11-28 20:32:59 +03:00
Sergey Pepyakin
8c774ba71d
Merge pull request #245 from alexcrichton/all-hex
...
Use hex for all SIMD opcodes
2018-11-19 20:51:48 +01:00
Alex Crichton
a23297d4c3
Use hex for all SIMD opcodes
2018-11-19 11:48:28 -08:00
Sergey Pepyakin
00cc0497f1
Merge pull request #244 from alexcrichton/custom-section-new
...
Add a function to create a `CustomSection`
2018-11-19 20:25:09 +01:00
Sergey Pepyakin
70ab64e86f
Merge pull request #243 from alexcrichton/renumber-simd
...
Renumber and reoganize SIMD opcodes
2018-11-19 20:24:25 +01:00
Alex Crichton
74fe0514b6
Add a function to create a CustomSection
2018-11-19 10:37:51 -08:00
Alex Crichton
c5369e0170
Renumber and reoganize SIMD opcodes
...
This handles the recent changes to the upstream proposal, which
renumbered and reorganized most of the opcodes, but AFAIK no functional
change was intended.
2018-11-19 10:36:05 -08:00
Nikolay Volf
80fa4bc1ea
Update README.md
2018-11-10 12:27:37 +01:00
Sergey Pepyakin
a4f0d49b56
Update the testsuite
...
Update the testsuite
2018-11-08 15:51:00 +01:00
Sergey Pepyakin
84ea83f40e
Fix too many locals problem.
2018-11-07 14:55:47 +01:00
Sergey Pepyakin
256b7f934d
Use wabt 0.7.1
2018-11-07 14:55:46 +01:00
Sergey Pepyakin
50c7a615f3
Travis maintenance ( #240 )
...
* Use GCC 8 for tests.
* Don't require sudo
* Use wabt 0.6
2018-11-02 14:57:17 +01:00
Sergey Pepyakin
da0b96ac45
Merge pull request #232 from paritytech/bump-version-0.35.1
...
Bump version to 0.35.1
2018-10-29 18:56:08 +01:00
Sergey Pepyakin
4dbed40707
Bump version to 0.35.1
2018-10-29 18:40:12 +01:00
Sergey Pepyakin
6e43ba42e5
Merge pull request #231 from alexcrichton/hash
...
Enable using `Type` in a `HashMap`
2018-10-28 18:25:36 +01:00
Alex Crichton
f1c6994d46
Enable using Type
in a HashMap
...
This commit adds `Hash` and `Eq` impls to `Type`, allowing it to be used
as a key in a `HashMap` if desired.
2018-10-28 09:08:52 -07:00
Nikolay Volf
0d0ae32deb
Update README.md
2018-10-18 16:05:07 +03:00
Nikolay Volf
2a25dd4255
Update README.md
2018-10-18 16:04:38 +03:00
Nikolay Volf
74e07f6995
Merge pull request #230 from paritytech/license
...
update LICENSE-MIT copyrights
2018-10-18 15:50:46 +03:00
debris
7eb75a9674
update LICENSE-MIT copyrights
2018-10-18 12:14:01 +02:00
NikVolf
a8f76dbc67
bump to 0.35
2018-10-16 20:55:29 +03:00
Nikolay Volf
94669079e9
Merge pull request #229 from paritytech/ser-atomics-strict-flags
...
Be more stricter about flags in ResizableLimits.
2018-10-16 20:54:54 +03:00
Sergey Pepyakin
072d88fad9
Be more stricter about flags in ResizableLimits.
2018-10-16 16:48:20 +02:00
Sergey Pepyakin
cb7359e8a1
Merge pull request #227 from alexcrichton/bulk-memory
...
Add support for the bulk memory operations proposal
2018-10-16 16:35:25 +02:00
Alex Crichton
8a83235ee3
Add support for the bulk memory operations proposal
...
https://github.com/WebAssembly/bulk-memory-operations
2018-10-16 07:34:15 -07:00
Alex Crichton
132850f20f
Export MemArg
from ops
2018-10-08 12:49:34 -07:00
Alex Crichton
a056b41b56
Allow specifying a shared memory import
2018-10-08 12:49:34 -07:00
NikVolf
a411a15b0c
bump to 0.34
2018-10-05 17:25:19 +03:00
Sergey Pepyakin
e4f63a68a4
Merge pull request #225 from alexcrichton/simd
...
Add support for experimental SIMD instructions
2018-10-05 15:22:11 +02:00
Alex Crichton
ceef8c2f30
Add support for experimental SIMD instructions
...
Specified at https://github.com/WebAssembly/simd/blob/master/proposals/simd/BinarySIMD.md
2018-10-04 10:11:21 -07:00
NikVolf
616c7d92a6
bump to 0.33
2018-10-04 14:12:43 +03:00
Sergey Pepyakin
26fd8a68c4
Merge pull request #226 from alexcrichton/sign-extend
...
Add recently added sign extension instructions
2018-10-04 09:51:37 +01:00
Alex Crichton
ca4b9969f9
Add recently added sign extension instructions
...
Specified at https://github.com/WebAssembly/sign-extension-ops
2018-10-03 23:51:30 -07:00
NikVolf
abbf8dde37
bump to 0.32
2018-08-28 13:01:42 +03:00
Nikolay Volf
ffc43f9d04
Merge pull request #223 from alexcrichton/atomics
...
Add support for atomic instructions
2018-08-28 13:00:29 +03:00
Alex Crichton
8c5ef589bc
Add support for atomic instructions
...
This commit adds support for the currently proposed atomic instructions in the
wasm spec. The implementaiton matches what LLVM currently has implemented, and
while this may be tweaked over time it should be good enough to work with LLVM
today!
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md
2018-08-26 16:01:05 -07:00
NikVolf
b585340efb
bump to 0.31.3 (metadata)
2018-08-04 22:33:51 +03:00
Sergey Pepyakin
f059b477de
Merge pull request #222 from fitzgen/patch-1
...
Cargo.toml: Add "categories" metadata
2018-08-04 12:36:06 +03:00
Nick Fitzgerald
5c5f1a3e3a
Cargo.toml: Add "categories" metadata
...
Adds "wasm" and "parser-implementations" categories.
2018-08-03 11:09:31 -07:00
NikVolf
6845263447
bump to 0.31.2
2018-08-03 15:52:09 +03:00
Sergey Pepyakin
3b19aa7cd2
Merge pull request #221 from alexcrichton/less-assertions
...
Move `slow_len` behind a `slow_assertions` #[cfg]
2018-08-03 10:57:23 +03:00
Alex Crichton
0dd6dc28f0
Move slow_len
behind a slow_assertions
#[cfg]
...
I've been experimenting with running `wasm-bindgen` (which uses `parity-wasm`
for decoding/encoding wasm modules) in debug mode where possible to reduce build
times on CI and otherwise make it more feasible to run locally. Unfortunately
the wasm modules that `wasm-bindgen` handles are sometimes pretty huge, notably
with lots of debuginfo and tons of items that are pruned later with `wasm-gc`
(and in general debug mode Rust binaries are quite large).
In some profilng one of the hottest functions in `parity-wasm` is the
`IndexMap::slow_len` function. It looks like this is an internal sanity check
only turned on when `debug_assertions` are enabled (which is good!). In this
commit, though, this check is moved behind a new `--cfg slow_assertions` flag
instead of the standard `debug_assertions`. Travis configuration has been
tweaked to always pass this flag, and it means that `slow_len` by default won't
get compiled into downstream crates in debug mode.
I'm curious to see what y'all think of this change! This is definitely not an
issue in release mode, so it's purely a slight optimization for debug mode. If
you'd prefer to not merge this and keep this on in debug mode by default, that's
also totally ok!
2018-08-02 13:16:31 -07:00
Nikolay Volf
4cbe905348
Merge pull request #220 from alexcrichton/less-to-vec
...
Remove an unneeded allocation in `Write for CountedWriter`
2018-08-02 20:42:47 +03:00
Alex Crichton
2a6911689e
Remove an unneeded allocation in Write for CountedWriter
...
No need to have the intermediate `to_vec`!
2018-08-02 08:37:33 -07:00
NikVolf
e6df7e4f43
bump to 0.31.1
2018-07-17 15:58:14 +03:00
Nikolay Volf
5d5d571681
Merge pull request #218 from paritytech/reuse-sig
...
Reuse types when pushing signatures
2018-07-17 15:57:36 +03:00
NikVolf
3aaaa56bdb
add test
2018-07-16 14:21:59 +03:00