Commit graph

4798 commits

Author SHA1 Message Date
Folkert
f40949c64e pass correct argument to procs.get_specialized_procs_without_rc 2021-09-08 20:04:24 +02:00
Folkert
ae2b4b7c78 comment out wasm record tests 2021-09-08 20:01:35 +02:00
Folkert
5b2661e394 update mono tests 2021-09-08 19:59:30 +02:00
Folkert
fe83de39fb don't do aliasing in join points any more 2021-09-08 19:55:30 +02:00
Folkert
4e5b677426 basic join point 2021-09-08 15:54:00 +02:00
Folkert
1da32f18e5 implement switch for the gen wasm backend 2021-09-08 00:00:36 +02:00
Folkert
c888baccff rename layout -> return_layout 2021-09-07 20:55:05 +02:00
Folkert
4c8ac253e4 fix typo 2021-09-07 17:45:10 +02:00
Folkert
afd7553e7a enable F64 2021-09-07 17:42:31 +02:00
Folkert
e316bfca72 make mut 2021-09-07 16:48:11 +02:00
Folkert
28c608e692 remove duplication of FromWasm32Memory 2021-09-07 16:47:10 +02:00
Folkert
f4379673b4 Merge remote-tracking branch 'origin/trunk' into gen_wasm 2021-09-07 16:45:57 +02:00
Brian Carroll
ba0826cbfd First three tests passing with Wasm dev backend!
Only i64 values. Next step is generalising to all types.
2021-09-07 08:03:41 +01:00
Brian Carroll
e90588d156 Notes on control flow, binaryen, and optimisation 2021-09-06 22:40:46 +01:00
Brian Carroll
ec9b60368f Add plan and linking info to readme, and highlight control flow stuff 2021-09-06 08:55:09 +01:00
Brendan Hansknecht
4487e1a3bf Fix merge tabbing bug and make clippy happy 2021-09-05 21:41:09 -07:00
Brendan Hansknecht
08aa3d31d4
Merge branch 'trunk' into gen-dev/mem 2021-09-05 21:31:05 -07:00
Brendan Hansknecht
0696044a5c Update dev backend to allow reusing stack space and using less memory 2021-09-05 21:21:44 -07:00
Brendan Hansknecht
05bea50730 Fix freeing of float registers 2021-09-05 21:18:32 -07:00
Richard Feldman
fd7c267ddb
Merge pull request #1675 from rtfeldman/list-literals
List literals in globals
2021-09-05 23:02:31 -04:00
Richard Feldman
ebd47a4113
Merge pull request #1674 from rtfeldman/from-wasm32-memory
From wasm32 memory
2021-09-05 22:19:20 -04:00
Folkert
05f56a34c7 cleanup 2021-09-05 21:23:08 +02:00
Folkert
6201ac5e6b if all constants, store list + refcount in constants section 2021-09-05 21:23:08 +02:00
Folkert
da966ed506 store integer lists in the constants section 2021-09-05 21:23:08 +02:00
Folkert
12bc34f451 clippy 2021-09-05 21:23:08 +02:00
Folkert
b97c2d5d84 store literals in lists directly 2021-09-05 21:23:08 +02:00
Folkert
8e7aef314a add ListLiteralElement 2021-09-05 21:23:08 +02:00
Brian Carroll
545fef307e More Wasm info in README 2021-09-05 18:16:34 +01:00
Folkert
dbee9dd0ce cleanup 2021-09-05 14:19:21 +02:00
Folkert
71ce267f59 debug_assert 2021-09-05 14:10:13 +02:00
Folkert
b3b2e7de11 remove faulty instance 2021-09-05 14:09:15 +02:00
Folkert
f8809a3eef rename wasm -> wasm32 2021-09-05 14:08:14 +02:00
Brian Carroll
1b8d87d3e0 Initial README for Wasm backend 2021-09-05 11:26:40 +01:00
Brian Carroll
b445cea964 Fix generation of params & locals 2021-09-04 21:35:23 +01:00
Brian Carroll
bf7b1cdc63 Don't double-count args as locals 2021-09-04 13:34:04 +01:00
Folkert
3adfbf3459 fix bug in realloc on 32-bit platforms 2021-09-04 13:46:30 +02:00
Folkert
aaed62dad3 always pick musl as libc 2021-09-04 13:26:42 +02:00
Richard Feldman
d323869e7f
Merge pull request #1659 from rtfeldman/gen-dev/cleanup
Refactor dev backend to deal with layouts within specific backends.
2021-09-03 22:22:58 -04:00
Richard Feldman
5603e143ad
Merge pull request #1661 from rtfeldman/linux-32-bit
32-bit linux
2021-09-03 22:10:28 -04:00
Richard Feldman
6b2ece4094
Merge pull request #1660 from rtfeldman/tag-alignment-fix
Tag alignment fix
2021-09-03 21:52:57 -04:00
Folkert
b72726b367 clippy 2021-09-04 01:39:59 +02:00
Folkert
3fbdc743ec link 32-bit x86 on linux 2021-09-04 01:32:12 +02:00
Folkert
a7eeae05ca support i386 (no linking yet) 2021-09-04 01:31:33 +02:00
Folkert
2954b582a7 layout add allocation_alignment_bytes 2021-09-04 00:21:14 +02:00
Folkert
97577c92cf layout add allocation_alignment_bytes 2021-09-04 00:03:10 +02:00
Folkert
63c488acd8 check whether a pointer actually stores the tag id in the bits 2021-09-03 23:58:41 +02:00
Folkert
0ae2c5fe19 check whether a pointer actually stores the tag id in the bits 2021-09-03 23:47:05 +02:00
Brian Carroll
13a969a238 Bugfixes: generate valid wasm for gen_add_i64
Still need to create test_wrapper
2021-09-03 21:54:57 +01:00
Folkert
2931427870 Merge remote-tracking branch 'origin/trunk' into linux-32-bit 2021-09-03 21:10:51 +02:00
Brendan Hansknecht
ad974dd473 Add extra commentabout unsafe usage 2021-09-03 11:00:27 -07:00