summaryrefslogtreecommitdiff
path: root/test/unit.asm.js
Commit message (Collapse)AuthorAgeFilesLines
* optimize if(const)Alon Zakai2016-09-241-6/+6
|
* precompute void expressions tooAlon Zakai2016-09-241-2/+2
|
* replace two drops in an if-else with one on the ifAlon Zakai2016-09-231-0/+14
|
* autoDrop fixAlon Zakai2016-09-231-0/+15
|
* drop if-else arms as necessaryAlon Zakai2016-09-131-0/+15
|
* update br type when turning it into a br_if in remove-unused-brsAlon Zakai2016-09-131-0/+17
|
* thread relooper jumpsAlon Zakai2016-09-121-11/+115
|
* run another optimize-expressions at the end of asm2wasmAlon Zakai2016-09-101-0/+21
|
* sort locals by number of total copiesAlon Zakai2016-09-101-0/+24
|
* take into account removed copies even when number of locals is the same, in ↵Alon Zakai2016-09-091-0/+22
| | | | coalesce-locals
* autodrop if body if no elseAlon Zakai2016-09-071-0/+5
|
* add a testAlon Zakai2016-09-071-1/+5
|
* track globals in EffectAnalyzerAlon Zakai2016-09-071-0/+13
|
* optimize loads+shifts into signed loadsAlon Zakai2016-09-071-0/+12
|
* Add a ReFinalize helper, and use that to properly handle asm.js imports ↵Alon Zakai2016-09-071-0/+6
| | | | whose return value is polymorphic
* support HEAP8[x | 0| notation in asm2wasmAlon Zakai2016-09-071-0/+5
|
* when replacing an if with its condition (when it has no body), we must drop itAlon Zakai2016-09-071-0/+11
|
* add a test for loop finalizationAlon Zakai2016-09-071-0/+16
|
* handle asm.js globals that are set and the return value usedAlon Zakai2016-09-071-0/+11
|
* set type of calls to their target, instead of the previous behavior where ↵Alon Zakai2016-09-071-0/+10
| | | | the asm.js context informed us. this lets us add drops where necessary
* add drop and tee expressionsAlon Zakai2016-09-071-0/+10
|
* handle param overloading in asm2wasm ffis (#629)Alon Zakai2016-07-121-0/+2
|
* fix br_if with value optimization in remove-unused-brsAlon Zakai2016-06-111-0/+12
|
* if we use the zero-init value of a local, we cannot coalesce it with a param ↵Alon Zakai2016-06-011-0/+13
| | | | (#556)
* handle duplicate exports in asm2wasmAlon Zakai2016-05-311-1/+8
|
* move blocks outside in merge-blocks so that they can be merged laterAlon Zakai2016-05-241-1/+7
|
* don't depend on asm.js type detection in binary formation in asm2wasm, use ↵Alon Zakai2016-05-221-0/+7
| | | | the full asm global info we have (#535)
* fix asm2wasm f64->f32->i32 bitcast (#412)Alon Zakai2016-04-281-0/+2
|
* Fixes typo in hex number parsing in asm2wasm. (#362)Yury Delendik2016-04-181-0/+4
| | | Fixes #352
* add a test for bitcast patterns in asm2wasmAlon Zakai2016-04-011-1/+18
|
* only reuse nameless blocks in blockify in asm2wasm - if they are named, they ↵Alon Zakai2016-03-221-0/+27
| | | | can be broken out of, which is bad for our loop constructs
* fix unit testcaseAlon Zakai2016-03-211-1/+3
|
* handle continues in one-time loopsAlon Zakai2016-03-051-0/+10
|
* cast f32 to f64 before calling f64-to-int in asm2wasmAlon Zakai2016-03-051-1/+2
|
* harmonize ffi calls in asm2wasm, adding arguments as needed. this helps with ↵Alon Zakai2016-03-051-0/+7
| | | | asm ffis which tolerate overloading, unlike wasm
* support asm.js ceilAlon Zakai2016-02-211-0/+8
|
* parse for loops in asm2wasm #60Alon Zakai2016-01-041-1/+7
|
* handle indirect calls with no parent in asm2wasm #36Alon Zakai2015-12-231-0/+3
|
* look through >>>0 coercions in asm2wasmAlon Zakai2015-12-211-0/+6
|
* fix unit.asm.js testcase, table contained a method of the wrong typeAlon Zakai2015-12-071-1/+5
|
* be very careful when converting doubles to ints in asm2wasmAlon Zakai2015-11-281-0/+4
|
* fix testcaseAlon Zakai2015-11-221-0/+1
|
* handle indirect calls with floatsAlon Zakai2015-11-211-0/+2
|
* handle -f32Alon Zakai2015-11-211-0/+4
|
* add testAlon Zakai2015-11-201-0/+5
|
* use labels on switches in asm2wasmAlon Zakai2015-11-181-0/+16
|
* handle overloading of Math.absAlon Zakai2015-11-181-0/+7
|
* handle negative zero properly in asm2wasmAlon Zakai2015-11-181-0/+3
|
* fround improvementsAlon Zakai2015-11-171-0/+11
|
* port detectSign from emscripten asm optimizer, and use itAlon Zakai2015-11-171-0/+5
|