Commit graph

34 commits

Author SHA1 Message Date
Graham Kelly 284d141c36 stuff 2024-06-03 15:18:53 -04:00
Graham Kelly 36e3059be7 return call ref 2024-06-02 19:33:57 -04:00
Chris Fallin fb9a00978f phi-removal pass during basic_opts 2024-05-12 10:21:26 -04:00
Graham Kelly 908ad937e1 null refs 2024-04-09 13:52:02 -04:00
Graham Kelly bf54c4ed1b Merge branch 'pr/changes1' into pr/changes2 2024-03-29 17:17:47 -04:00
Graham Kelly ffcf3708b6 Merge https://github.com/cfallin/waffle into pr/changes1 2024-03-29 17:14:13 -04:00
Chris Fallin 0691e48ed8 Do not attempt cprop on vector ops that are not implemented. 2024-03-27 22:39:17 -07: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 bd6ae8eb8d fmt 2024-01-20 09:42:01 -05:00
Graham Kelly 6a90d5fdb5 return calls, more reordering 2024-01-13 09:17:33 -05: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 9f6f0cfa9e Interpreter: configurable trace hook. 2023-04-14 23:54:44 -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 1c0b2964af Tweaks to API around function bodie. 2023-02-28 16:31:53 -08:00
Chris Fallin 610c9710d3 Support expanded but not modified (dirty) functions.
This allows using a function body as a source for a transform without
necessarily requiring a recompilation as well.
2023-02-28 16:11:31 -08:00
Chris Fallin fb719ff0d0 fix opt_diff fuzzbugs 2023-02-24 22:01:33 -08:00
Chris Fallin dc541497b2 fix overflow 2023-02-24 21:54:04 -08:00
Chris Fallin ac2556a7ad Fix opt_diff 2023-02-24 21:52:09 -08:00
Chris Fallin 2ff4d80286 Fuzzer: differential comparison of opt/no-opt 2023-02-24 21:28:40 -08:00
Chris Fallin 055193e926 Add tracing. 2023-02-24 14:40:37 -08:00
Chris Fallin 20ea31c9dd Some refactoring for tracepoints 2023-02-24 12:48:28 -08:00
Chris Fallin 6dbdefc858 Fix rounding in f32.nearest / f64.nearest 2023-02-24 11:36:38 -08:00
Chris Fallin 0f42e16446 Merge branch 'main' of github.com:cfallin/waffle 2023-02-23 20:50:11 -08:00
Chris Fallin 95b04005d4 fix min/max NaN behavior 2023-02-23 20:50:04 -08:00
Chris Fallin 870244f4ce interp: make WASI impl compatible with SpiderMonkey.wasm 2023-02-23 20:37:15 -08:00
Chris Fallin e73ce71519 fix saturating-conversion op bug in const prop 2023-02-23 19:48:09 -08:00
Chris Fallin 7614a382cc fix const_eval for opts 2023-02-23 19:35:45 -08:00
Chris Fallin d6dbc0e830 Fill in some missing FP ops in interpreter 2023-02-23 19:31:51 -08:00
Chris Fallin c01e07977a Separate out barebones WASI impl 2023-02-23 19:20:17 -08:00
Chris Fallin 49a907da25 Working interpreter 2023-02-23 19:16:08 -08:00
Chris Fallin 0d35c06ac6 WIP interpreter. 2023-02-23 18:40:25 -08:00