Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | optimize out a set of a get of a global | Alon Zakai | 2016-09-07 | 5 | -18/+8 |
| | |||||
* | track globals in EffectAnalyzer | Alon Zakai | 2016-09-07 | 8 | -308/+455 |
| | |||||
* | optimize loads+shifts into signed loads | Alon Zakai | 2016-09-07 | 8 | -428/+491 |
| | |||||
* | optimize out eqz^2 | Alon Zakai | 2016-09-07 | 6 | -588/+334 |
| | |||||
* | add option to remove duplicate funcs by name | Alon Zakai | 2016-09-07 | 1 | -0/+10 |
| | |||||
* | use eqz as an optimization | Alon Zakai | 2016-09-07 | 12 | -4359/+3722 |
| | |||||
* | Merge pull request #694 from WebAssembly/binary-order-fix | Alon Zakai | 2016-09-07 | 4 | -6/+49 |
|\ | | | | | Ordering bug fixes for windows | ||||
| * | ensure we create the OptimizeInstructions database on demand, avoiding ↵ | Alon Zakai | 2016-09-07 | 3 | -3/+43 |
| | | | | | | | | global ctors | ||||
| * | make sure to use the right order of operations when loading composite ints ↵ | Alon Zakai | 2016-09-07 | 1 | -3/+6 |
|/ | | | | in binary format reading | ||||
* | Merge pull request #678 from WebAssembly/stack | Alon Zakai | 2016-09-07 | 148 | -54264/+61009 |
|\ | | | | | Stack machine + 0xc update | ||||
| * | update wasm.js and binaryen.js | Alon Zakai | 2016-09-07 | 2 | -428/+433 |
| | | |||||
| * | if we don't recognize the platform in colors.h, just do nothing for colors | Alon Zakai | 2016-09-07 | 1 | -0/+9 |
| | | |||||
| * | new validation checks for upcoming spec tests | Alon Zakai | 2016-09-07 | 7 | -56/+85 |
| | | |||||
| * | additional parsing support for new spec things | Alon Zakai | 2016-09-07 | 1 | -22/+74 |
| | | |||||
| * | new export syntax in spec repo | Alon Zakai | 2016-09-07 | 43 | -306/+336 |
| | | |||||
| * | new import syntax in spec repo | Alon Zakai | 2016-09-07 | 45 | -506/+515 |
| | | |||||
| * | re-enable spec tests | Alon Zakai | 2016-09-07 | 2 | -2/+0 |
| | | |||||
| * | Add a ReFinalize helper, and use that to properly handle asm.js imports ↵ | Alon Zakai | 2016-09-07 | 7 | -65/+263 |
| | | | | | | | | whose return value is polymorphic | ||||
| * | support HEAP8[x | 0| notation in asm2wasm | Alon Zakai | 2016-09-07 | 6 | -1/+32 |
| | | |||||
| * | import memoryBase and tableBase | Alon Zakai | 2016-09-07 | 35 | -27/+101 |
| | | |||||
| * | import table | Alon Zakai | 2016-09-07 | 35 | -17/+79 |
| | | |||||
| * | import memory #684 | Alon Zakai | 2016-09-07 | 35 | -38/+73 |
| | | |||||
| * | refactor reallocBuffer assignment location, it is not technically part of ↵ | Alon Zakai | 2016-09-07 | 1 | -6/+8 |
| | | | | | | | | mergeMemory | ||||
| * | update empty.fromast test output | Alon Zakai | 2016-09-07 | 1 | -0/+2 |
| | | |||||
| * | add asm2wasm option to import a mem init file | Alon Zakai | 2016-09-07 | 11 | -10/+62 |
| | | | | | | | | | | | | | | | | apply memory segments only if there isn't a memory initializer (which we need for asmjs and asm2wasm modes) use wasm-opt to check recreated wasts for validity, as wasm-shell would try to execute them add testing for combined modes like asmjs,interpret-binary | ||||
| * | FIXME disable spec tests on the bots for now | Alon Zakai | 2016-09-07 | 1 | -0/+2 |
| | | |||||
| * | do a little more optimization at the end of asm2wasm processing | Alon Zakai | 2016-09-07 | 7 | -137/+72 |
| | | |||||
| * | sink a drop into a single if arm | Alon Zakai | 2016-09-07 | 5 | -34/+82 |
| | | |||||
| * | autodrop must be run before we optimize in asm2wasm, as otherwise its input ↵ | Alon Zakai | 2016-09-07 | 7 | -80/+114 |
| | | | | | | | | | | | | is not yet valid then after finalizeCalls, we must autodrop again to drop things that finalizeCalls changed | ||||
| * | don't simplify locals out of loops if they contain branching, as it may ↵ | Alon Zakai | 2016-09-07 | 3 | -0/+52 |
| | | | | | | | | invalidate the branch | ||||
| * | use ControlFlowWalker in CFGWalker | Alon Zakai | 2016-09-07 | 1 | -35/+25 |
| | | |||||
| * | when replacing an if with its condition (when it has no body), we must drop it | Alon Zakai | 2016-09-07 | 6 | -1/+78 |
| | | |||||
| * | allow forcing full print mode in the env | Alon Zakai | 2016-09-07 | 1 | -0/+3 |
| | | |||||
| * | add some finalize() calls for ifs | Alon Zakai | 2016-09-07 | 1 | -1/+3 |
| | | |||||
| * | add a test for loop finalization | Alon Zakai | 2016-09-07 | 5 | -0/+108 |
| | | |||||
| * | finalize loops in asm2wasm, which is now necessary as they may need to be ↵ | Alon Zakai | 2016-09-07 | 1 | -0/+5 |
| | | | | | | | | dropped | ||||
| * | drop the first element in a block too, if necessary | Alon Zakai | 2016-09-07 | 1 | -1/+1 |
| | | |||||
| * | run vacuum again after autodrop in asm2wasm, if optimizing | Alon Zakai | 2016-09-07 | 7 | -130/+431 |
| | | |||||
| * | handle asm.js globals that are set and the return value used | Alon Zakai | 2016-09-07 | 2 | -1/+15 |
| | | |||||
| * | fix AutoDrop block handling - the block type might change as we modify its ↵ | Alon Zakai | 2016-09-07 | 5 | -168/+129 |
| | | | | | | | | contents | ||||
| * | improve full mode printing | Alon Zakai | 2016-09-07 | 1 | -0/+3 |
| | | |||||
| * | fix ControlFlowWalker handling of ifs when looking for break targets | Alon Zakai | 2016-09-07 | 1 | -1/+2 |
| | | |||||
| * | asm2wasm debugging asserts | Alon Zakai | 2016-09-07 | 1 | -1/+2 |
| | | |||||
| * | set type of calls to their target, instead of the previous behavior where ↵ | Alon Zakai | 2016-09-07 | 6 | -4/+116 |
| | | | | | | | | the asm.js context informed us. this lets us add drops where necessary | ||||
| * | use globals in asm2wasm | Alon Zakai | 2016-09-07 | 31 | -2906/+1582 |
| | | |||||
| * | get_global and set_global use a Name instead of an Index, to be more ↵ | Alon Zakai | 2016-09-07 | 7 | -54/+39 |
| | | | | | | | | consistent with refering to other global objects; e.g. this avoids ordering issues with imported vs non-imported globals | ||||
| * | import type for globals | Alon Zakai | 2016-09-07 | 9 | -25/+36 |
| | | |||||
| * | import kinds | Alon Zakai | 2016-09-07 | 8 | -28/+84 |
| | | |||||
| * | export kinds | Alon Zakai | 2016-09-07 | 41 | -68/+131 |
| | | |||||
| * | support (data .. ..), separate strings in a data() | Alon Zakai | 2016-09-07 | 1 | -7/+7 |
| | |