Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [wasm2js] Use native JavaScript Math.trunc (#3329) | Max Graey | 2020-11-10 | 1 | -0/+1 |
| | |||||
* | wasm2js: Remove global dict arguments to asmFunc (#3325) | Sam Clegg | 2020-11-05 | 1 | -26/+13 |
| | |||||
* | wasm2js: Skip heap creation in the absence of wasm memory. NFC (#3167) | Sam Clegg | 2020-09-24 | 1 | -11/+16 |
| | | | | | Also, format the asmFunc call to make it more readable in the ES6 modules case. | ||||
* | wasm2js: Support exported tables (#3152) | Sam Clegg | 2020-09-21 | 1 | -1/+0 |
| | |||||
* | Optimize select with const arms (#2869) | Max Graey | 2020-07-22 | 1 | -1/+1 |
| | | | | | x ? 1 : 0 => !!x and so forth. | ||||
* | Stop emitting "almost asm" in wasm2js output (#2221) | Alon Zakai | 2019-07-12 | 1 | -1/+0 |
| | | | We don't ever emit "use asm" anymore, so this similar annotation is not really useful, it just increases size. | ||||
* | wasm2js: optimize away unneeded load coercions (#2107) | Alon Zakai | 2019-05-15 | 1 | -0/+1 |
| | |||||
* | wasm2js: precompute bitwise operations (#2101) | Alon Zakai | 2019-05-13 | 1 | -1/+1 |
| | | | This happens on e.g. an i32 load of a constant offset, then we have constant >> 2. | ||||
* | wasm2js: optimize loads (#2085) | Alon Zakai | 2019-05-03 | 1 | -1/+0 |
| | | | | When loading a boolean, prefer the signed heap (which is more commonly used, and may be faster). We never use HEAPU32 (HEAP32 is always enough), just remove it. | ||||
* | wasm2js: run full optimizations during the pipeline (#2071) | Alon Zakai | 2019-04-30 | 1 | -0/+37 |
We flatten for the i64 lowering etc. passes, and it is worth optimizing afterwards, to clean up stuff they created. That is run if the user ran wasm2js with an optimization level (like wasm2js -O3). Split the test files to check both optimized and unoptimized code. |