Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | if we use the zero-init value of a local, we cannot coalesce it with a param ↵ | Alon Zakai | 2016-06-01 | 7 | -2/+129 |
| | | | | (#556) | ||||
* | handle duplicate exports in asm2wasm | Alon Zakai | 2016-05-31 | 5 | -1/+24 |
| | |||||
* | refactor walk logic into walk* and doWalk* methods, for a more regular API ↵ | Alon Zakai | 2016-05-30 | 1 | -1/+1 |
| | | | | that is clearer where it should be overridden (#551) | ||||
* | add a pass that eliminates duplicate functions | Alon Zakai | 2016-05-28 | 6 | -77/+1576 |
| | |||||
* | canonicalize the order in reorder-locals, by using first-appearance to break ↵ | Alon Zakai | 2016-05-28 | 8 | -854/+854 |
| | | | | ties | ||||
* | note number of functions in metrics | Alon Zakai | 2016-05-28 | 1 | -0/+1 |
| | |||||
* | Allows parsing of debug information in .S files | Yury Delendik | 2016-05-26 | 2 | -0/+358 |
| | | | | Currently it ignores this information. Also it allows parse files with -asm-verbose=true. | ||||
* | Merge pull request #543 from WebAssembly/fix-merge-blocks | Alon Zakai | 2016-05-25 | 3 | -537/+453 |
|\ | | | | | Fix merge blocks on named blocks | ||||
| * | add a merge-block test | Alon Zakai | 2016-05-25 | 2 | -0/+28 |
| | | |||||
| * | fix a merge-blocks bug where we merged named blocks | Alon Zakai | 2016-05-25 | 3 | -537/+425 |
| | | |||||
* | | Add remove unused functions pass. (#463) | Michael Bebenita | 2016-05-25 | 2 | -0/+77 |
|/ | |||||
* | update spec tests, and handle the new .fail. tests (#541) | Alon Zakai | 2016-05-25 | 1 | -0/+0 |
| | |||||
* | move blocks outside in merge-blocks so that they can be merged later | Alon Zakai | 2016-05-24 | 11 | -219/+1493 |
| | |||||
* | add a pass to drop return values in set_local and store (#539) | Alon Zakai | 2016-05-23 | 2 | -0/+40 |
| | |||||
* | fix isResultUsed bug with ifs | Alon Zakai | 2016-05-23 | 4 | -158/+303 |
| | |||||
* | Avoid a redundant return in dynCall functions. (#533) | Dan Gohman | 2016-05-23 | 4 | -37/+23 |
| | |||||
* | dead code elimination pass (#536) | Alon Zakai | 2016-05-22 | 6 | -654/+1066 |
| | |||||
* | don't depend on asm.js type detection in binary formation in asm2wasm, use ↵ | Alon Zakai | 2016-05-22 | 5 | -0/+65 |
| | | | | the full asm global info we have (#535) | ||||
* | Update s2wasm for LLVM changes, and regenerate tests. (#532) | Dan Gohman | 2016-05-20 | 76 | -6058/+7358 |
| | |||||
* | 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) |