Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use a single space for pretty printing of wasts, so massive wasts are less ↵ | Alon Zakai | 2017-03-09 | 1 | -1755/+1755 |
| | | | | unruly (#928) | ||||
* | stop doing dce in -O0, which was just need temporarily while browsers figure ↵ | Alon Zakai | 2017-03-06 | 1 | -0/+6 |
| | | | | out the spec (#932) | ||||
* | add sqrt test (#912) | Alon Zakai | 2017-02-16 | 1 | -0/+24 |
| | |||||
* | DCE even in -O0 (#884) | Alon Zakai | 2017-01-19 | 1 | -6/+0 |
| | |||||
* | emit globals before table and memory, because they may use a global for ↵ | Alon Zakai | 2016-12-30 | 1 | -1/+1 |
| | | | | their element/segment offsets | ||||
* | lower min and max in asm2wasm in wasm f*.min/max | Alon Zakai | 2016-12-07 | 1 | -0/+30 |
| | |||||
* | make legalizeJSInterface handle f32s as well, which are not valid in asm.js ffis | Alon Zakai | 2016-12-07 | 1 | -3/+43 |
| | |||||
* | convert ftCall_* and mftCall_* into table calls | Alon Zakai | 2016-12-07 | 1 | -0/+18 |
| | |||||
* | support asm.js numeric exports by creating a global and exporting that | Alon Zakai | 2016-12-07 | 1 | -0/+2 |
| | |||||
* | use tableBase for the table segments | Alon Zakai | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | support assigns of f32 to HEAP64 in asm2wasm (#830) | Alon Zakai | 2016-11-07 | 1 | -0/+11 |
| | |||||
* | handle a label setting inside the if-body of a label value in ↵ | Alon Zakai | 2016-11-06 | 1 | -0/+72 |
| | | | | RelooperJumpThreading | ||||
* | Fixes fround of an unsigned integer (#821) | Alon Zakai | 2016-11-04 | 1 | -0/+14 |
| | | | | | | | | * fix fround of unsigned * add testing for f32 ops, and remove a duplicate test (now that f32 is on by default in wasm, we don't need to check with and without PRECISE_F32) * update wasm.js and binaryen.js | ||||
* | fix large f32 consts, fixes #817 (#820) | Alon Zakai | 2016-11-01 | 1 | -0/+5 |
| | |||||
* | Optimize out bool & 1 (#804) | Alon Zakai | 2016-10-25 | 1 | -6/+14 |
| | | | | | | * asm.js corrections to unit.asm.js test * optimize out bool&1 | ||||
* | run remove-unused-functions by default | Alon Zakai | 2016-10-14 | 1 | -0/+39 |
| | |||||
* | Change print order of top-level module components (#751) | Derek Schuff | 2016-10-07 | 1 | -3/+3 |
| | | | | | | | | In wast files, the spec and WABT require imports to appear before any non-import definitions (see also https://github.com/WebAssembly/wabt/issues/152). This patch re-orders visitModule in the wast printer to meet this requirement, and more or less match the order of the binary sections. Also remove extraneous whitespace around table definitions. | ||||
* | Require unique names in binaryen IR (#746) | Alon Zakai | 2016-10-06 | 1 | -75/+75 |
| | |||||
* | don't create an unnecessary duplicate block in asm2wasm switches, when there ↵ | Alon Zakai | 2016-10-03 | 1 | -71/+63 |
| | | | | isn't a default (#734) | ||||
* | Print the name of memory along with size (#720) | Derek Schuff | 2016-09-28 | 1 | -1/+1 |
| | | | | | Otherwise when we export it as "$0" it's an undefined name. The spec interpreter actually rejects this, although I think it's intended to work, given the tests in export.wast. wabt also accepts it. | ||||
* | Type check block/loop/if sigs (#717) | Alon Zakai | 2016-09-28 | 1 | -2/+2 |
| | | | | | | * type check using block/loop/if types provided in text and binary formats. * print if and loop sigs which were missing. * remove dsl from OptimizeInstructions as after those changes it needs rethinking. | ||||
* | optimize if(const) | Alon Zakai | 2016-09-24 | 1 | -6/+6 |
| | |||||
* | precompute void expressions too | Alon Zakai | 2016-09-24 | 1 | -2/+2 |
| | |||||
* | replace two drops in an if-else with one on the if | Alon Zakai | 2016-09-23 | 1 | -0/+19 |
| | |||||
* | autoDrop fix | Alon Zakai | 2016-09-23 | 1 | -18/+38 |
| | |||||
* | memory and table printing fixes | Alon Zakai | 2016-09-20 | 1 | -4/+2 |
| | |||||
* | globals mutability fixes | Alon Zakai | 2016-09-19 | 1 | -7/+12 |
| | |||||
* | block signatures | Alon Zakai | 2016-09-16 | 1 | -20/+20 |
| | |||||
* | call_import changes: no more call_import, shared index space with functions | Alon Zakai | 2016-09-16 | 1 | -39/+39 |
| | |||||
* | drop if-else arms as necessary | Alon Zakai | 2016-09-13 | 1 | -2/+46 |
| | |||||
* | update br type when turning it into a br_if in remove-unused-brs | Alon Zakai | 2016-09-13 | 1 | -0/+28 |
| | |||||
* | thread relooper jumps | Alon Zakai | 2016-09-12 | 1 | -36/+276 |
| | |||||
* | run another optimize-expressions at the end of asm2wasm | Alon Zakai | 2016-09-10 | 1 | -0/+60 |
| | |||||
* | sort locals by number of total copies | Alon Zakai | 2016-09-10 | 1 | -0/+54 |
| | |||||
* | take into account removed copies even when number of locals is the same, in ↵ | Alon Zakai | 2016-09-09 | 1 | -0/+43 |
| | | | | coalesce-locals | ||||
* | autodrop if body if no else | Alon Zakai | 2016-09-07 | 1 | -2/+14 |
| | |||||
* | add a test | Alon Zakai | 2016-09-07 | 1 | -0/+8 |
| | |||||
* | track globals in EffectAnalyzer | Alon Zakai | 2016-09-07 | 1 | -0/+35 |
| | |||||
* | optimize loads+shifts into signed loads | Alon Zakai | 2016-09-07 | 1 | -0/+90 |
| | |||||
* | new export syntax in spec repo | Alon Zakai | 2016-09-07 | 1 | -2/+2 |
| | |||||
* | new import syntax in spec repo | Alon Zakai | 2016-09-07 | 1 | -13/+13 |
| | |||||
* | Add a ReFinalize helper, and use that to properly handle asm.js imports ↵ | Alon Zakai | 2016-09-07 | 1 | -14/+52 |
| | | | | whose return value is polymorphic | ||||
* | support HEAP8[x | 0| notation in asm2wasm | Alon Zakai | 2016-09-07 | 1 | -0/+7 |
| | |||||
* | import memoryBase and tableBase | Alon Zakai | 2016-09-07 | 1 | -0/+2 |
| | |||||
* | import table | Alon Zakai | 2016-09-07 | 1 | -0/+1 |
| | |||||
* | import memory #684 | Alon Zakai | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | when replacing an if with its condition (when it has no body), we must drop it | Alon Zakai | 2016-09-07 | 1 | -0/+21 |
| | |||||
* | add a test for loop finalization | Alon Zakai | 2016-09-07 | 1 | -0/+25 |
| | |||||
* | run vacuum again after autodrop in asm2wasm, if optimizing | Alon Zakai | 2016-09-07 | 1 | -0/+37 |
| | |||||
* | fix AutoDrop block handling - the block type might change as we modify its ↵ | Alon Zakai | 2016-09-07 | 1 | -67/+51 |
| | | | | contents |