Commit graph

289 commits

Author SHA1 Message Date
Chris Fallin 63616b502a make various parts of basic_opt optional 2024-05-12 10:21:36 -04:00
Chris Fallin fb9a00978f phi-removal pass during basic_opts 2024-05-12 10:21:26 -04:00
Chris Fallin c960d728bf Support treeification of adjacent side-effecting ops in some cases. 2024-05-12 10:21:12 -04:00
Graham Kelly 908ad937e1 null refs 2024-04-09 13:52:02 -04:00
Graham Kelly 9d16b582ea extern refs 2024-04-09 13:34:58 -04:00
Graham Kelly 885664e802 Merge branch 'pr/changes1' into pr/changes2 2024-04-05 14:54:51 -04:00
Graham Kelly 382f9808d8 Merge https://github.com/cfallin/waffle into pr/changes1 2024-04-05 14:54:28 -04:00
Chris Fallin 4eaf0ced01 Support RefIsNull operator. 2024-04-02 13:20:28 -07:00
Chris Fallin 43da507922 v128 store-lane ops do not leave a result on the stack. 2024-04-01 14:59:29 -07:00
Chris Fallin 213edc11e7 Fuzzing: upgrade to latest deps and fix build.
Fixes #7.
2024-03-29 16:38:12 -07:00
Graham Kelly bf54c4ed1b Merge branch 'pr/changes1' into pr/changes2 2024-03-29 17:17:47 -04:00
Graham Kelly 57659138a5 fix all errors
note: no fuzzing yet due to updates
2024-03-29 17:16:49 -04:00
Graham Kelly ffcf3708b6 Merge https://github.com/cfallin/waffle into pr/changes1 2024-03-29 17:14:13 -04:00
Chris Fallin 86be4c06e1 Handle typed funcrefs. 2024-03-28 16:36:59 -07:00
Chris Fallin fcbd32e6b4 Upgrade to latest wasmparser and wasm_encoder. 2024-03-28 13:40:30 -07:00
Chris Fallin e567f0d3c5 Warning fix: remove redundant import of Default. 2024-03-27 22:39:58 -07:00
Chris Fallin 0691e48ed8 Do not attempt cprop on vector ops that are not implemented. 2024-03-27 22:39:17 -07:00
Chris Fallin 8e42abe91b Actually support V128 types in frontend. 2024-03-27 22:35:16 -07:00
Chris Fallin aaaf725000 Fix test expectation: Operator grew in size due to vector constants. 2024-03-27 16:21:19 -07:00
Chris Fallin cea6e7a403 Add support for Wasm-SIMD ops. 2024-03-27 16:17:46 -07:00
Graham Kelly 5efb86d252 stacker 2024-03-14 16:58:45 -04:00
Graham Kelly a323e41c18 mutable funcs 2024-03-13 21:00:07 -04:00
Graham Kelly 89e48a7129 tco in interp 2024-03-09 15:22:00 -05:00
Graham Kelly 252be6e5fc better interpreter 2024-03-09 15:10:11 -05:00
Graham Kelly 11953b625e custom sections are not automatically preserved anymore, but can be added manually 2024-02-19 13:16:59 -05:00
Graham Kelly b5a61d053f suggested fixes 1 2024-02-19 13:02:49 -05:00
Graham Kelly ff4d2aba3c invalid funcs 2024-02-04 14:45:12 -05:00
Graham Kelly eca2e83f59 debugging 1 2024-02-04 14:40:37 -05:00
Graham Kelly 492ebc7cab fix step 1 2024-02-04 14:37:03 -05:00
Graham Kelly 2f1a25c569 custom sections 2024-02-03 13:47:08 -05:00
Graham Kelly 9174f826aa fix memory in the frontend 2024-01-22 18:09:46 -05:00
Graham Kelly bd6ae8eb8d fmt 2024-01-20 09:42:01 -05:00
Graham Kelly 8b32f7a07e Merge branch 'misc_changes' of https://github.com/bjorn3/waffle into pr/changes1 2024-01-13 09:34:13 -05:00
Graham Kelly 6a90d5fdb5 return calls, more reordering 2024-01-13 09:17:33 -05:00
Graham Kelly c3705d8186 public op io 2024-01-12 15:39:19 -05:00
bjorn3 a932920dc3 Add memory.copy and memory.fill support 2024-01-05 20:26:47 +00:00
Chris Fallin d710719cae Add some convenience functions to list pool impl. 2023-04-18 18:13:35 -07:00
Chris Fallin dab18103ce Refactor to store args and types in common list pool. 2023-04-18 18:13:31 -07:00
Chris Fallin 2c84906d77 Better interpreter error results 2023-04-17 16:01:54 -07:00
Chris Fallin b9b02eeff6 Interpreter: hitting a Terminator::None returns as if a trap 2023-04-17 14:43:24 -07:00
Chris Fallin 0e0d3302f7 Bugfix: print tracepoints in IR. 2023-04-15 11:47:04 -07:00
Chris Fallin 9f6f0cfa9e Interpreter: configurable trace hook. 2023-04-14 23:54:44 -07:00
Chris Fallin 73d8789242 Fix "already-compiled function" functionality: avoid mismatch in whether length field is included between CodeSection::raw() and function(). 2023-04-13 19:59:38 -07:00
Chris Fallin e4da0ca0e0 Support compilation of individual functions before serializing whole module, to keep memory usage down 2023-04-13 17:38:14 -07:00
Chris Fallin dc177bfed3 Max-SSA: make cut-block set configurable. 2023-04-08 22:26:19 -07:00
Chris Fallin 9dde72e1a1 Include predecessors in CFGInfo. 2023-04-08 12:40:32 -07:00
Chris Fallin 1311069c6a Add print-func command to waffle-util. 2023-04-01 00:00:48 -07:00
Chris Fallin b198c653aa Support for edge-splitting. 2023-03-24 15:57:37 -07:00
Chris Fallin 9f4310f729 Add some convenience bits to op_traits, and export MemoryArg. 2023-03-23 17:35:51 -07:00
Chris Fallin ce333b3070 Rematerialize constants in backend codegen. 2023-03-01 17:23:09 -08:00