Commit graph

92 commits

Author SHA1 Message Date
Chris Fallin 8d0dc93930 Add support for roundtripping function names. 2023-02-07 18:48:11 -08:00
Chris Fallin 332c0c6f3c Merge branch 'main' of github.com:cfallin/waffle 2023-02-07 17:36:03 -08:00
Chris Fallin 5b4279f517 Lazy function parsing and recompilation when roundtripping 2023-02-07 14:34:59 -08:00
Chris Fallin b35e0837a4 Refactor Module interface to expose tables directly. 2023-02-02 13:58:50 -08:00
Chris Fallin 77141d2177 Validator. 2022-12-01 19:56:27 -08:00
Chris Fallin 510f833da2 No RPO pass; put RPO functionality in CFGInfo. 2022-12-01 18:57:00 -08:00
Chris Fallin f83420bbf7
Parallelize with rayon 2022-12-01 10:02:42 -08:00
Chris Fallin ae091d5319
Bugfix: block start point is at start of block, not end. 2022-12-01 00:22:07 -08:00
Chris Fallin 4b40e52c28
Fix regalloc issue 2022-11-30 23:36:00 -08:00
Chris Fallin 84e16a57da
Log which function is being compiled in backend. 2022-11-30 21:11:19 -08:00
Chris Fallin 4c90c8a4a8
regalloc bugfix 2022-11-30 19:02:15 -08:00
Chris Fallin 1788a42aa1
regalloc fix: scan blocks bottom-up, not top-down! 2022-11-30 18:19:48 -08:00
Chris Fallin 38591d90a3
fix regalloc 2022-11-30 17:28:18 -08:00
Chris Fallin 75d4323c4d
Working single-pass regalloc. 2022-11-30 14:25:53 -08:00
Chris Fallin 1862a4c027
Merge branch 'main' of github.com:cfallin/waffle 2022-11-30 00:07:41 -08:00
Chris Fallin 92a7486bf3
regalloc bug: mark locals as used when value already has locals, e.g. for function param 2022-11-30 00:07:32 -08:00
Chris Fallin bc53233e0c rm old binaryen stuff 2022-11-29 22:38:37 -08:00
Chris Fallin 52013a7f46
Fix subtle interaction of treeifier-induced code motion and local (register) allocation. 2022-11-29 21:04:55 -08:00
Chris Fallin 3d102ac899
Bugfix: drop unused values. 2022-11-29 20:21:51 -08:00
Chris Fallin 5a6177b613
WIP. 2022-11-29 18:03:33 -08:00
Chris Fallin 232b34f66b
Better unreachability handling. 2022-11-29 13:22:04 -08:00
Chris Fallin 349032b1af
WIP. 2022-11-29 10:44:15 -08:00
Chris Fallin 6273e399de
WIP. 2022-11-29 10:33:06 -08:00
Chris Fallin 61105ea7fc WIP. 2022-11-29 02:45:07 -08:00
Chris Fallin e9d4fe89b1 WIP: almost-complete Wasm backend. 2022-11-29 02:30:37 -08:00
Chris Fallin 8744965705 WIP. 2022-11-29 01:44:19 -08:00
Chris Fallin d0ecd1238a WIP. 2022-11-29 00:58:55 -08:00
Chris Fallin 5859930639 WIP. 2022-11-29 00:27:38 -08:00
Chris Fallin a676310629 WIP. 2022-11-29 00:07:29 -08:00
Chris Fallin 1892d62c76 Stackifier produces control flow for simple-interpreter test case. 2022-11-28 22:25:03 -08:00
Chris Fallin e6963b8d78 WIP. 2022-11-28 22:23:24 -08:00
Chris Fallin 3bde79a15d WIP. 2022-11-28 22:08:08 -08:00
Chris Fallin 539af66b88 WIP. 2022-11-28 21:55:58 -08:00
Chris Fallin 04ecdb16bd Stackify written (not tested). 2022-11-28 21:49:11 -08:00
Chris Fallin abc46f1d14 WIP. 2022-11-22 21:43:50 -08:00
Chris Fallin d954fa9fe6 WIP. 2022-11-22 19:20:36 -08:00
Chris Fallin 7b804b02d7
WIP. 2022-11-21 22:33:19 -08:00
Chris Fallin 9e5d2fae26
WIP. 2022-11-21 21:35:23 -08:00
Chris Fallin 15d45e1443
WIP. 2022-11-21 19:39:05 -08:00
Chris Fallin 32e5eb2570
WIP. 2022-11-21 18:09:58 -08:00
Chris Fallin 8a234ddccb
WIP. 2022-11-21 17:37:32 -08:00
Chris Fallin 2fc5440fa3
WIP. 2022-11-20 13:54:27 -08:00
Chris Fallin c2db0ad4b9
WIP. 2022-11-17 23:56:44 -08:00
Chris Fallin a538d10167 big refactor 2022-11-01 20:43:47 -07:00
Chris Fallin 1da150823d WIP. 2022-11-01 02:26:21 -07:00
Chris Fallin 589729566f WIP. 2022-10-29 15:19:26 -07:00
Chris Fallin 676ee3a1d2 WIP. 2022-10-28 14:39:38 -07:00
Chris Fallin 8e8464f76a WIP. 2022-10-27 14:19:39 -07:00
Chris Fallin 1e26c0aaa4 WIP. 2022-10-26 22:15:15 -07:00
Chris Fallin 2214c1701b Remove wasm_encoder backend, and bring in binaryen bindings 2022-10-26 08:15:18 -07:00