Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed missing type assignment of host operations in s2wasm (#572) | Alexander Meißner | 2016-06-06 | 2 | -0/+22 |
| | |||||
* | make call_indirect type a name, so that it is not a dependency on the ↵ | Alon Zakai | 2016-06-03 | 1 | -1/+1 |
| | | | | module, which would break consistency and make some parallel passes tricky (#568) | ||||
* | Do not generate duplicate import thunks at link time. (#569) | Derek Schuff | 2016-06-03 | 3 | -2/+22 |
| | | | | | Previously every address-take of an import would cause a new thunk to be generated. Now check in getImportThunk if the thunk exists already and just return it if so. | ||||
* | Update waterfall to 7268 (#566) | Derek Schuff | 2016-06-03 | 999 | -2503/+4051 |
| | | | | | Also update torture-s tests. This brings in the .functype directives and causes 2 more tests to pass. | ||||
* | add nm pass, that prints function names and sizes (#562) | Alon Zakai | 2016-06-03 | 2 | -0/+61 |
| | |||||
* | Fix leak of FunctionType from parseFuncType when not already in the module ↵ | Derek Schuff | 2016-06-03 | 1 | -3/+3 |
| | | | | | (#563) Pass ownership into the wasm module. | ||||
* | add OptimizingIncrementalModuleBuilder for faster incremental module ↵ | Alon Zakai | 2016-06-02 | 2 | -4/+4 |
| | | | | building + optimizing | ||||
* | Update waterfall to 7426 (#559) | Derek Schuff | 2016-06-02 | 1045 | -48289/+48823 |
| | | | | | Also update torture tests. This brings in a clang with the compiler-rt libraries, for https://github.com/WebAssembly/binaryen/pull/557 | ||||
* | Generate thunks for address-taken imports (#554) | Derek Schuff | 2016-06-02 | 3 | -0/+229 |
| | | | | | | | | | | | Under emscripten, C code can take the address of a function implemented in Javascript (which is exposed via an import in wasm). Because imports do not have linear memory address in wasm, we need to generate a thunk to be the target of the indirect call; it call the import directly. This is facilited by a new .s directive (.functype) which declares the types of functions which are declared but not defined. Fixes https://github.com/WebAssembly/binaryen/issues/392 | ||||
* | missing test file | Alon Zakai | 2016-06-01 | 1 | -0/+2 |
| | |||||
* | 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 |
|/ |