Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update waterfall build to 6633 (#513) | Derek Schuff | 2016-05-17 | 248 | -6287/+5510 |
| | | | | New expected failures are mostly due to a change in the way the torture tests are compiled (https://github.com/WebAssembly/waterfall/commit/160171e51dbd37724a11c902b84f8f1fa86e9a4e) | ||||
* | Merge pull request #511 from WebAssembly/metrics-better | Alon Zakai | 2016-05-16 | 2 | -3/+6 |
|\ | | | | | Metrics improvements | ||||
| * | add total vars (non-param locals) to metrics | Alon Zakai | 2016-05-16 | 2 | -2/+5 |
| | | |||||
| * | emit total in metrics in a way that shows its diffs too | Alon Zakai | 2016-05-16 | 1 | -1/+1 |
| | | |||||
* | | remove dead get_locals in vacuum | Alon Zakai | 2016-05-16 | 10 | -954/+381 |
|/ | |||||
* | Merge pull request #507 from WebAssembly/coalesce-locals | Alon Zakai | 2016-05-16 | 17 | -25628/+23531 |
|\ | | | | | Coalesce locals | ||||
| * | add cfg-building traversal and a pass to coalesce locals using it | Alon Zakai | 2016-05-15 | 17 | -25628/+23531 |
| | | |||||
* | | don't emit an extra endline in s2wasm (#506) (#508) | Alon Zakai | 2016-05-16 | 69 | -69/+69 |
| | | |||||
* | | Update c-api-kitchen-sink.c (#504) | BSalita | 2016-05-15 | 1 | -1/+1 |
|/ | |||||
* | allow not providing a name for function types in c api (#501) | Alon Zakai | 2016-05-13 | 2 | -0/+5 |
| | |||||
* | test fixes | Alon Zakai | 2016-05-13 | 4 | -6/+6 |
| | |||||
* | use exceptions consistently to report input errors | Alon Zakai | 2016-05-12 | 1 | -1/+1 |
| | |||||
* | update spec tests (#478) | Alon Zakai | 2016-05-11 | 1 | -0/+0 |
| | |||||
* | Update waterfall and torture tests to 6423 (#476) | Derek Schuff | 2016-05-11 | 477 | -36697/+37276 |
| | |||||
* | VS warning fix in c-api-kitchen-sink.c, double constants shouldn't be used ↵ | BSalita | 2016-05-11 | 1 | -5/+4 |
| | | | | as float args (#473) | ||||
* | Add a pass to order functions by their use frequency. (#452) | Michael Bebenita | 2016-05-11 | 2 | -0/+21 |
| | |||||
* | update spec tests | Alon Zakai | 2016-05-09 | 1 | -0/+0 |
| | |||||
* | Be more careful when loading i64 in wasm-js glue, we had a bug where the ↵ | Alon Zakai | 2016-05-08 | 2 | -0/+19 |
| | | | | bits were trampled before we read them (#460) | ||||
* | fix relooper fuzz testcase to be valid old-style c (#459) | Alon Zakai | 2016-05-07 | 1 | -6/+9 |
| | |||||
* | add a fuzzer for the relooper through the C API | Alon Zakai | 2016-05-06 | 2 | -0/+522 |
| | |||||
* | add a return type parameter to call and call_import in the C API. we need it ↵ | Alon Zakai | 2016-05-06 | 2 | -23/+35 |
| | | | | since we don't know the type while building functions | ||||
* | Fix BreakSeeker for switch default targets. (#447) | Michael Bebenita | 2016-05-06 | 2 | -0/+30 |
| | |||||
* | add reading and writing binaries to C API (#443) | Alon Zakai | 2016-05-05 | 2 | -0/+41 |
| | |||||
* | Merge pull request #439 from WebAssembly/c-api-more | Alon Zakai | 2016-05-05 | 2 | -335/+354 |
|\ | | | | | Validation in C API | ||||
| * | add validation to the C api, and fix things that uncovered in the C API tests | Alon Zakai | 2016-05-05 | 2 | -335/+354 |
| | | |||||
* | | Merge pull request #436 from WebAssembly/fix-switch | Alon Zakai | 2016-05-05 | 2 | -0/+38 |
|\ \ | | | | | | | Fix switches in simplify-locals | ||||
| * | | clear sinkables on unoptimizable blocks, as they have a control flow merge | Alon Zakai | 2016-05-05 | 2 | -0/+38 |
| |/ | |||||
* / | [Linker] Make repeated passes over archive members (#440) | Derek Schuff | 2016-05-05 | 4 | -7/+27 |
|/ | | | | | | | | | An archive member can depend on any other archive member, so adding a member to the link can introduce new undefined references that must be satisfied. The linker must continue to iterate over the members until nothing new is added to the link. | ||||
* | improve test | Alon Zakai | 2016-05-05 | 2 | -3/+3 |
| | |||||
* | add optimization to c api, and so that we can find all passes in the c api ↵ | Alon Zakai | 2016-05-05 | 2 | -0/+151 |
| | | | | library, make it dynamic | ||||
* | add a relooper test | Alon Zakai | 2016-05-05 | 2 | -0/+98 |
| | |||||
* | Import emscripten's relooper, port it to the binaryen AST, and provide a C ↵ | Alon Zakai | 2016-05-05 | 2 | -2/+310 |
| | | | | | API (#434) also ignore libstdc++ bug in ubsan | ||||
* | [Linker] Handle archive files | Derek Schuff | 2016-05-05 | 11 | -0/+190 |
| | | | | | | | | Add a class to parse archive files. Support linking archive files, with archive semantics (i.e. an archive member is linked in if it satisfies an undefined reference). Archive files must be gnu-format archives containing .s files. Add tests for linking semantics. | ||||
* | Harmonize the internal opcodes with the binary format (#433) | Alon Zakai | 2016-05-03 | 2 | -32/+72 |
| | | | | | | * harmonize the internal opcodes with the binary format, so they clearly parallel, and also this helps us avoid needing the type to disambiguate * comment on GetLocal in C API | ||||
* | kitchen sink test for c api | Alon Zakai | 2016-05-03 | 2 | -0/+531 |
| | |||||
* | C API plus test | Alon Zakai | 2016-05-02 | 2 | -0/+39 |
| | |||||
* | validate in binaryen shell and on wasm binaries, and fix type checking | Alon Zakai | 2016-04-29 | 6 | -8/+10 |
| | |||||
* | fix size detection on reinterpret operations in binary format | Alon Zakai | 2016-04-28 | 1 | -2/+2 |
| | |||||
* | fix asm2wasm f64->f32->i32 bitcast (#412) | Alon Zakai | 2016-04-28 | 3 | -0/+14 |
| | |||||
* | use ONLY hack only for _only files in test/wasm_backend | Alon Zakai | 2016-04-27 | 10 | -0/+0 |
| | |||||
* | Add a testcase. | Dan Gohman | 2016-04-27 | 2 | -0/+17 |
| | |||||
* | Update waterfall and LLVM torture tests build to 5780 (#398) | Derek Schuff | 2016-04-26 | 302 | -6230/+6274 |
| | | | This brings in the fix from LLVM r267511 | ||||
* | Defer creation of CallImports to link time (#395) | Derek Schuff | 2016-04-26 | 7 | -26/+26 |
| | | | s2wasm currently creates a Call AST node if the target is implemented in the current object (thus far assumed to be the final executable) and a CallImport node if not. In preparation for adding additional objects to the link before layout time, we make only Call nodes until link time, and then convert them to CallImport if they are undefined at that time. | ||||
* | selectify if-elses with no control flow in them | Alon Zakai | 2016-04-25 | 8 | -4154/+3872 |
| | |||||
* | optimize returns that flow out | Alon Zakai | 2016-04-25 | 16 | -3012/+2572 |
| | |||||
* | optimize breaks with values in RemoveUnusedBrs, check if their value can ↵ | Alon Zakai | 2016-04-25 | 1 | -33/+5 |
| | | | | flow to the target anyhow | ||||
* | Use Module instead of AllocatingModule in binaryen.js tests (#391) | Jan Wolski | 2016-04-25 | 1 | -1/+1 |
| | | | | | | * Use Module instead of AllocatingModule in binaryen.js tests * include compiled binaryen.js, too | ||||
* | optimize block and if returns, by merging set_locals that flow out of them | Alon Zakai | 2016-04-24 | 8 | -19203/+18369 |
| | |||||
* | run multiple cycles of RemoveUnusedBrs | Alon Zakai | 2016-04-24 | 3 | -6/+4 |
| | |||||
* | run optimize-instructions a second time at the end | Alon Zakai | 2016-04-24 | 2 | -1100/+820 |
| |