Commit Graph

3191 Commits

Author SHA1 Message Date
losfair
8a1f399df6 Fix NaN during first round issue in the iterative hash example. 2019-08-15 19:12:32 -07:00
losfair
6a24485999 Insert trampolines to preserve callee-saved registers for backends without register save area information. 2019-08-15 19:10:24 -07:00
losfair
0a54213d4f register_preservation_trampoline 2019-08-15 19:08:11 -07:00
losfair
7028df23ef Allow only integers for LLVM function param/return values. 2019-08-15 19:07:03 -07:00
losfair
9471f643fd Update iterative_hash example. 2019-08-15 19:03:39 -07:00
losfair
1582224d61 Cargo fmt 2019-08-14 17:16:30 -07:00
losfair
9edd9ffdfe Make lookup_*_ip public. 2019-08-14 17:14:01 -07:00
losfair
c9e3db3d94 Remove feature(core_intrinsics) 2019-08-14 16:41:44 -07:00
losfair
98ef9182d7 Run clang-format and cargo fmt 2019-08-14 16:35:40 -07:00
losfair
0e0573c73c Merge remote-tracking branch 'origin/master' into feature/llvm-osr 2019-08-14 16:33:26 -07:00
bors[bot]
804e586196 Merge #677
677: Mark memory.size VM intrinsics as not modifying state, and throw.trap/breakpoint as functions which do not return. r=syrusakbary a=nlewycky



Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-08-14 20:27:56 +00:00
Nick Lewycky
2f3c9c3e2f Mark memory.size VM intrinsics as not modifying state, and throw.trap/breakpoint as functions which do not return. 2019-08-13 21:50:54 -07:00
bors[bot]
01f1c120d2 Merge #676
676: Compare float bits in spectests assert return r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 04:29:02 +00:00
Brandon Fish
8e46e797ac Compare float bits in spectests assert return 2019-08-13 22:14:10 -06:00
bors[bot]
0ab0e9b80a Merge #675
675: Add missing LLVM imported memory functions r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 03:36:46 +00:00
Brandon Fish
0bf33662d1 Add missing LLVM imported memory functions 2019-08-13 20:07:55 -06:00
bors[bot]
e05915cf72 Merge #674
674: Return compile error (llvm) for setting immutable global r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-14 01:40:38 +00:00
Brandon Fish
137ac206af Return compile error (llvm) for setting immutable global 2019-08-13 17:59:04 -06:00
bors[bot]
d12ea66f90 Merge #673
673: Add memory descriptor validation r=bjfish a=bjfish

Fixes #653 

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-13 22:18:54 +00:00
Brandon Fish
de8fe32dbe Add memory validation 2019-08-13 13:04:13 -06:00
Syrus Akbary
5239cdb85a
Merge pull request #668 from wasmerio/feature/update-wabt-to-fix-names-spectests
Update WABT dep to fix names spectests
2019-08-13 00:13:36 -07:00
Syrus Akbary
6f6c849272
Merge pull request #669 from wasmerio/feature/finalize-when-no-function-body
Finalize signatures & names when no function bodies
2019-08-13 00:13:20 -07:00
Brandon Fish
f22250d85a Refactor func_count in parser 2019-08-12 21:36:17 -06:00
Brandon Fish
e76777ed9b Finalize signatures & names when no function bodies 2019-08-12 20:22:54 -06:00
Brandon Fish
d695bd0c84 Update WABT dep to fixe names spectests 2019-08-12 15:35:32 -06:00
Syrus
a4979f9909 Remove Logo in non verbose mode 2019-08-11 23:25:50 -07:00
Syrus
8e363aa0bc Added option for minify the total output for install 2019-08-11 23:13:58 -07:00
Syrus
f78e00c7f4 Improved Install script 2019-08-11 22:29:14 -07:00
Brandon Fish
2afdc1d25f
Merge pull request #661 from wasmerio/feature/unexclude-passing-elem-spec
Unexclude passing elem spec
2019-08-11 18:21:00 -06:00
Brandon Fish
20cb7c0048
Merge branch 'master' into feature/unexclude-passing-elem-spec 2019-08-11 18:04:54 -06:00
Brandon Fish
a4b32c1705
Merge pull request #660 from wasmerio/feature/validate-initializers-before-finalizing
Validate all initializers before finalizing
2019-08-11 14:07:07 -06:00
Brandon Fish
9b4ba66e11 Add code comment explanation of validation 2019-08-11 13:59:48 -06:00
Brandon Fish
c837b56678 Unexclude passing elem spec 2019-08-11 13:52:57 -06:00
Brandon Fish
f61fc5c298 Validate all initializers before finalizing 2019-08-11 13:28:47 -06:00
bors[bot]
6ac3ac1c65 Merge #659
659: Validate initializers before writing to memory r=bjfish a=bjfish

Fixes `linking.wast:342`

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-11 07:49:06 +00:00
Brandon Fish
38a8a0eb01 Minimize unsafe block to unsafe code 2019-08-10 17:20:27 -06:00
Brandon Fish
b7970fb982 Uncomment slow exclude test again 2019-08-10 17:11:32 -06:00
Brandon Fish
0b73776c84 Validate all memory data initializers before writing 2019-08-10 17:10:24 -06:00
Syrus Akbary
0c45b75e14
Merge pull request #658 from wasmerio/feature/reuse-registered-module-instance
Re-use registered module instances in spectests
2019-08-10 16:08:22 -07:00
Brandon Fish
228d562a3b Re-use registered module instances in spectests 2019-08-10 15:56:25 -06:00
bors[bot]
1f8f810222 Merge #657
657: Spectest Fixes r=bjfish a=bjfish

- Invalid table size for elems should produce link error
- Remove filter which prevents initializer offset check

Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-08-10 21:34:58 +00:00
Brandon Fish
db5d8a5bf8 Push debug print to debug CI failure 2019-08-10 15:33:08 -06:00
Brandon Fish
4651b43078
Merge branch 'master' into feature/fix-table-init-error 2019-08-10 15:19:02 -06:00
Brandon Fish
a621b86286 Update windows excludes 2019-08-10 15:04:24 -06:00
Brandon Fish
b484ebb848 cargo fmt 2019-08-10 14:01:50 -06:00
Brandon Fish
bb8b4960b8 Remove filter which prevents initializer offset check 2019-08-10 13:59:31 -06:00
bors[bot]
e1003b7bdc Merge #655
655: Fix more bare dyn traits in runtime-c-api r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
2019-08-10 18:29:36 +00:00
Brandon Fish
1584beebe6 Invalid table size for elems should produce link error 2019-08-10 12:13:14 -06:00
Brandon Fish
6372e0947c Fix more bare dyn traits in runtime-c-api 2019-08-10 11:20:22 -06:00
bors[bot]
d23e5eb18c Merge #649
649: Fix some spectest imports and namespace_table issue r=bjfish a=bjfish



Co-authored-by: Brandon Fish <brandon.j.fish@gmail.com>
Co-authored-by: Brandon Fish <bjfish@users.noreply.github.com>
2019-08-09 20:12:58 +00:00