Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix f32 frem in asm2wasm #1105 (#1106) | Alon Zakai | 2017-07-20 | 1 | -1/+4 |
| | |||||
* | fix merge-blocks logic in call, call_indirect, select, we need to avoid any ↵ | Alon Zakai (kripken) | 2017-07-14 | 1 | -0/+7 |
| | | | | danger of moving something past a side effect ; also fix an asm2wasm bug with call_indirect fixups; the call target may be a block, which we need to look through | ||||
* | asm2wasm: properly infer return type of a call inside a sequence (#1006) | Alon Zakai | 2017-05-09 | 1 | -0/+12 |
| | |||||
* | fix autoDrop, now that we properly set block types, unreachable can easily ↵ | Alon Zakai | 2017-05-09 | 1 | -0/+15 |
| | | | | happen, and autoDrop wasn't handling it (#1005) | ||||
* | add test for f64-to-int signed/unsigned | Alon Zakai (kripken) | 2017-04-18 | 1 | -0/+11 |
| | |||||
* | add sqrt test (#912) | Alon Zakai | 2017-02-16 | 1 | -1/+11 |
| | |||||
* | lower min and max in asm2wasm in wasm f*.min/max | Alon Zakai | 2016-12-07 | 1 | -0/+9 |
| | |||||
* | make legalizeJSInterface handle f32s as well, which are not valid in asm.js ffis | Alon Zakai | 2016-12-07 | 1 | -1/+8 |
| | |||||
* | convert ftCall_* and mftCall_* into table calls | Alon Zakai | 2016-12-07 | 1 | -1/+7 |
| | |||||
* | support asm.js numeric exports by creating a global and exporting that | Alon Zakai | 2016-12-07 | 1 | -1/+1 |
| | |||||
* | support assigns of f32 to HEAP64 in asm2wasm (#830) | Alon Zakai | 2016-11-07 | 1 | -1/+6 |
| | |||||
* | handle a label setting inside the if-body of a label value in ↵ | Alon Zakai | 2016-11-06 | 1 | -1/+32 |
| | | | | RelooperJumpThreading | ||||
* | Fixes fround of an unsigned integer (#821) | Alon Zakai | 2016-11-04 | 1 | -0/+9 |
| | | | | | | | | * 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/+4 |
| | |||||
* | Optimize out bool & 1 (#804) | Alon Zakai | 2016-10-25 | 1 | -24/+33 |
| | | | | | | * asm.js corrections to unit.asm.js test * optimize out bool&1 | ||||
* | run remove-unused-functions by default | Alon Zakai | 2016-10-14 | 1 | -1/+1 |
| | |||||
* | 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/+14 |
| | |||||
* | autoDrop fix | Alon Zakai | 2016-09-23 | 1 | -0/+15 |
| | |||||
* | drop if-else arms as necessary | Alon Zakai | 2016-09-13 | 1 | -0/+15 |
| | |||||
* | update br type when turning it into a br_if in remove-unused-brs | Alon Zakai | 2016-09-13 | 1 | -0/+17 |
| | |||||
* | thread relooper jumps | Alon Zakai | 2016-09-12 | 1 | -11/+115 |
| | |||||
* | run another optimize-expressions at the end of asm2wasm | Alon Zakai | 2016-09-10 | 1 | -0/+21 |
| | |||||
* | sort locals by number of total copies | Alon Zakai | 2016-09-10 | 1 | -0/+24 |
| | |||||
* | take into account removed copies even when number of locals is the same, in ↵ | Alon Zakai | 2016-09-09 | 1 | -0/+22 |
| | | | | coalesce-locals | ||||
* | autodrop if body if no else | Alon Zakai | 2016-09-07 | 1 | -0/+5 |
| | |||||
* | add a test | Alon Zakai | 2016-09-07 | 1 | -1/+5 |
| | |||||
* | track globals in EffectAnalyzer | Alon Zakai | 2016-09-07 | 1 | -0/+13 |
| | |||||
* | optimize loads+shifts into signed loads | Alon Zakai | 2016-09-07 | 1 | -0/+12 |
| | |||||
* | Add a ReFinalize helper, and use that to properly handle asm.js imports ↵ | Alon Zakai | 2016-09-07 | 1 | -0/+6 |
| | | | | whose return value is polymorphic | ||||
* | support HEAP8[x | 0| notation in asm2wasm | Alon Zakai | 2016-09-07 | 1 | -0/+5 |
| | |||||
* | when replacing an if with its condition (when it has no body), we must drop it | Alon Zakai | 2016-09-07 | 1 | -0/+11 |
| | |||||
* | add a test for loop finalization | Alon Zakai | 2016-09-07 | 1 | -0/+16 |
| | |||||
* | handle asm.js globals that are set and the return value used | Alon Zakai | 2016-09-07 | 1 | -0/+11 |
| | |||||
* | set type of calls to their target, instead of the previous behavior where ↵ | Alon Zakai | 2016-09-07 | 1 | -0/+10 |
| | | | | the asm.js context informed us. this lets us add drops where necessary | ||||
* | add drop and tee expressions | Alon Zakai | 2016-09-07 | 1 | -0/+10 |
| | |||||
* | handle param overloading in asm2wasm ffis (#629) | Alon Zakai | 2016-07-12 | 1 | -0/+2 |
| | |||||
* | fix br_if with value optimization in remove-unused-brs | Alon Zakai | 2016-06-11 | 1 | -0/+12 |
| | |||||
* | if we use the zero-init value of a local, we cannot coalesce it with a param ↵ | Alon Zakai | 2016-06-01 | 1 | -0/+13 |
| | | | | (#556) | ||||
* | handle duplicate exports in asm2wasm | Alon Zakai | 2016-05-31 | 1 | -1/+8 |
| | |||||
* | move blocks outside in merge-blocks so that they can be merged later | Alon Zakai | 2016-05-24 | 1 | -1/+7 |
| | |||||
* | don't depend on asm.js type detection in binary formation in asm2wasm, use ↵ | Alon Zakai | 2016-05-22 | 1 | -0/+7 |
| | | | | the full asm global info we have (#535) | ||||
* | fix asm2wasm f64->f32->i32 bitcast (#412) | Alon Zakai | 2016-04-28 | 1 | -0/+2 |
| | |||||
* | Fixes typo in hex number parsing in asm2wasm. (#362) | Yury Delendik | 2016-04-18 | 1 | -0/+4 |
| | | | Fixes #352 | ||||
* | add a test for bitcast patterns in asm2wasm | Alon Zakai | 2016-04-01 | 1 | -1/+18 |
| | |||||
* | only reuse nameless blocks in blockify in asm2wasm - if they are named, they ↵ | Alon Zakai | 2016-03-22 | 1 | -0/+27 |
| | | | | can be broken out of, which is bad for our loop constructs | ||||
* | fix unit testcase | Alon Zakai | 2016-03-21 | 1 | -1/+3 |
| | |||||
* | handle continues in one-time loops | Alon Zakai | 2016-03-05 | 1 | -0/+10 |
| | |||||
* | cast f32 to f64 before calling f64-to-int in asm2wasm | Alon Zakai | 2016-03-05 | 1 | -1/+2 |
| |