Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | notice only branches out in EffectAnalyzer, internal control flow can be ↵ | Alon Zakai | 2016-05-19 | 9 | -2357/+2275 |
| | | | | ignored (#530) | ||||
* | Allow implicit function returns. (#529) | Dan Gohman | 2016-05-19 | 2 | -0/+29 |
| | |||||
* | vacuum the top of functions too | Alon Zakai | 2016-05-19 | 4 | -34/+21 |
| | |||||
* | vacuum after passes that create garbage; this makes the total time better | Alon Zakai | 2016-05-19 | 9 | -1440/+1407 |
| | |||||
* | add --no-opt testing to asm2wasm | Alon Zakai | 2016-05-19 | 14 | -0/+114694 |
| | |||||
* | vacuum away everything not tied down | Alon Zakai | 2016-05-19 | 13 | -502/+230 |
| | |||||
* | Avoid double dollarsigns in s2wasm local names. (#527) | Dan Gohman | 2016-05-19 | 50 | -3552/+3552 |
| | | | | | | | | | * Avoid double dollarsigns in s2wasm local names. Recognize '$' as part of the .s syntax for register names, and exclude it when forming the wasm local name. This changes names like "$$0" to "$0". * Fix a comment. | ||||
* | use separate internal opcodes for binary variants | Alon Zakai | 2016-05-18 | 4 | -52/+52 |
| | |||||
* | use separate internal opcodes for unary variants | Alon Zakai | 2016-05-18 | 1 | -11/+11 |
| | |||||
* | spec test updates, and many validation fixes | Alon Zakai | 2016-05-18 | 5 | -383/+348 |
| | |||||
* | don't emit extra unnecessary blocks for loops in binary format (#523) | Alon Zakai | 2016-05-17 | 2 | -10/+19 |
| | |||||
* | Merge pull request #518 from WebAssembly/true-learning | Alon Zakai | 2016-05-17 | 1 | -18/+18 |
|\ | | | | | Activate true learning in local coalescing | ||||
| * | learn using multiple generations | Alon Zakai | 2016-05-17 | 1 | -18/+18 |
| | | |||||
* | | Print a newline at the end of the METADATA line. (#521) | Dan Gohman | 2016-05-17 | 68 | -68/+68 |
| | | |||||
* | | Rename $discard to $drop in the .s syntax. | Dan Gohman | 2016-05-17 | 648 | -7071/+7071 |
|/ | | | | | This is shorter and is more consistent with terminology being used to discuss WebAssembly. | ||||
* | add a learning local coalescer | Alon Zakai | 2016-05-17 | 2 | -0/+1274 |
| | |||||
* | 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 |