Brian Carroll
|
6d39f50bcc
|
wasm: use linking data to implement call graph tracing for DCE
|
2022-06-12 20:42:09 +01:00 |
|
Brian Carroll
|
f926650b10
|
wasm: remove some roc_ prefixes from host symbols
|
2022-06-10 21:53:51 +01:00 |
|
Brian Carroll
|
89811d5ae3
|
wasm: linking tests with and without DCE
|
2022-06-10 21:49:45 +01:00 |
|
Brian Carroll
|
3c0e1d75e5
|
wasm: linking test working
|
2022-06-10 18:09:42 +01:00 |
|
Brian Carroll
|
59c0d531c6
|
wasm: Get linker test to run (without asserting anything yet)
|
2022-06-10 10:49:22 +01:00 |
|
Brian Carroll
|
da17df09df
|
wasm: build a linking test app in mono IR
|
2022-06-10 00:02:45 +01:00 |
|
Brian Carroll
|
50ea6ec41c
|
wasm: delete c test host
|
2022-06-09 22:14:02 +01:00 |
|
Brian Carroll
|
757d3dd443
|
wasm: rewrite test host in zig
|
2022-06-09 22:12:51 +01:00 |
|
Brian Carroll
|
2b7ec63226
|
wasm: start creating a test for linking
|
2022-06-09 22:12:01 +01:00 |
|
Folkert
|
f91443100f
|
move files
|
2021-11-02 21:12:50 +01:00 |
|
Brian Carroll
|
96832ed1e3
|
self review
|
2021-10-30 18:22:09 +01:00 |
|
Brian Carroll
|
b8eea9be2b
|
Fix linking bugs from wasm-objdump analysis
|
2021-10-30 17:47:13 +01:00 |
|
Brian Carroll
|
99b08ad395
|
Skip relocations for test_wrapper since we don't run a linker on it anyway.
|
2021-10-30 09:50:53 +01:00 |
|
Brian Carroll
|
82acf55d38
|
Create serializer module
|
2021-10-28 11:50:55 +01:00 |
|
Brian Carroll
|
f066adbe05
|
Adjust relocation offset to account for inserts, preamble, function offset, etc.
|
2021-10-27 16:50:30 +01:00 |
|
Brian Carroll
|
4e098be7fe
|
Fix a test throwing a Wasm runtime error
|
2021-10-25 13:04:30 +02:00 |
|
Brian Carroll
|
ddf66293e9
|
Fix and refactor number encodings
|
2021-10-25 12:15:04 +02:00 |
|
Brian Carroll
|
c46e73bd64
|
Fix test code gen
|
2021-10-24 23:34:14 +02:00 |
|
Brian Carroll
|
6534da5055
|
Fix LEB encoding and refactor insertions
|
2021-10-24 11:54:21 +02:00 |
|
Brian Carroll
|
13577aa9ec
|
Combine our handmade Code section with other sections from parity_wasm (tests compile but fail)
|
2021-10-23 17:12:49 +02:00 |
|
Brian Carroll
|
973626fe2d
|
Rename FunctionBuilder back to CodeBuilder
|
2021-10-23 13:48:20 +02:00 |
|
Brian Carroll
|
74e3239a1c
|
Switch over to function_builder
|
2021-10-23 13:39:54 +02:00 |
|
Brian Carroll
|
5ea313f256
|
update gen_wasm to use bumpalo::collections::Vec where possible
|
2021-10-21 21:14:15 +02:00 |
|
Brian Carroll
|
b86849347a
|
Write test debug output to a path in /tmp
|
2021-10-18 20:42:13 +02:00 |
|
Brian Carroll
|
6206418b67
|
Fix clippy warnings
|
2021-10-14 00:13:47 +02:00 |
|
Brian Carroll
|
c9997f2115
|
Turn off output file generation & delete duplicate test
|
2021-10-10 20:55:53 +01:00 |
|
Brian Carroll
|
9dcc6f2bc5
|
size comparison tweaks
|
2021-10-10 12:52:53 +01:00 |
|
Brian Carroll
|
14f7f0f3b4
|
Improved test setup for size comparison
|
2021-10-10 10:42:02 +01:00 |
|
Brian Carroll
|
32b9f4fb07
|
Generate a .wasm file for every test, for size benchmarking
|
2021-10-09 18:47:37 +01:00 |
|
Brian Carroll
|
7ac7e16f60
|
Ensure stack frame is always popped when procedure returns from inside a branch
|
2021-09-30 17:04:16 +01:00 |
|
Brian Carroll
|
7ea59ad9d4
|
PR tidy-ups
|
2021-09-29 06:15:58 +01:00 |
|
Brian Carroll
|
02bb9028ef
|
Returning records on the stack from Wasm dev backend!
|
2021-09-28 08:06:59 +01:00 |
|
Brian Carroll
|
ae6cfe1992
|
Moree implementations for Wasm32TestResult
|
2021-09-26 20:52:16 +01:00 |
|
Brian Carroll
|
ab4f28fd69
|
Comment out a test that isn't working
|
2021-09-26 20:52:16 +01:00 |
|
Brian Carroll
|
65446ce1e8
|
Remove unnecessary Option
|
2021-09-18 14:46:09 +01:00 |
|
Brian Carroll
|
c3b5ac6c82
|
Allocate stack memory to local variables
|
2021-09-18 13:39:38 +01:00 |
|
Brian Carroll
|
4f55b7a56e
|
Allocate and free stack frames
|
2021-09-17 21:17:05 +01:00 |
|
Brian Carroll
|
408c31ebcc
|
Tests for different bitwidth integers
|
2021-09-13 17:01:06 +02:00 |
|
Brian Carroll
|
df73a4d80e
|
rename wasm test modules
|
2021-09-12 23:24:04 +02:00 |
|
Brian Carroll
|
35c5b6bc4e
|
Tests passing with generic native/wasm interface
|
2021-09-12 23:23:43 +02:00 |
|
Brian Carroll
|
8b73b98622
|
Code gen full test wrapper from body
|
2021-09-11 16:56:00 +01:00 |
|
Brian Carroll
|
086f13ef5a
|
Rename test code gen menthod to build_wrapper_body
|
2021-09-11 16:55:20 +01:00 |
|
Brian Carroll
|
f0a7b4a46a
|
Stack grows downward by convention, not upward
|
2021-09-11 11:44:49 +01:00 |
|
Brian Carroll
|
83150d2c7e
|
Test helper trait to generate test wrapper code
|
2021-09-11 11:44:43 +01:00 |
|
Folkert
|
daf0a0e02b
|
Merge remote-tracking branch 'origin/trunk' into gen_wasm_join
|
2021-09-10 13:16:46 +02:00 |
|
Folkert
|
05469d5ae5
|
Merge remote-tracking branch 'origin/trunk' into gen_wasm_switch
|
2021-09-09 10:19:46 +02:00 |
|
Brian Carroll
|
f822251c65
|
Fix rust-fmt
|
2021-09-08 20:38:27 +01:00 |
|
Brian Carroll
|
57a30b8e9e
|
Get rid of duplicated eval helper file
|
2021-09-08 20:16:59 +01:00 |
|
Folkert
|
e802da5f54
|
implement factorial example
|
2021-09-08 20:05:05 +02:00 |
|
Folkert
|
ae2b4b7c78
|
comment out wasm record tests
|
2021-09-08 20:01:35 +02:00 |
|