diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-05-16 18:40:45 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2018-05-16 16:40:45 -0700 |
commit | 3c5a2de669542caebd7ef001db6678b70375f0b5 (patch) | |
tree | bbe25d21142627cc04041d7ecbea9d4d15f3a680 /test/wasm2asm/get-set-local.2asm.js | |
parent | d4aa0d30234ac9e553d743bd881a767d96554a4a (diff) | |
download | binaryen-3c5a2de669542caebd7ef001db6678b70375f0b5.tar.gz binaryen-3c5a2de669542caebd7ef001db6678b70375f0b5.tar.bz2 binaryen-3c5a2de669542caebd7ef001db6678b70375f0b5.zip |
wasm2asm: Implement float<->int conversions (#1550)
This commit lifts the same conversion strategy that `emcc` takes to convert
between floats point numbers and integers, and it should implement all the
various matrices of i32/u32/i64/u64 to f32/f64
Some refactoring was performed in the i64->i32 pass to allow for temporary
variables to get allocated which have types other than i32, but otherwise this
contains a pretty direct translation of `emcc`'s operations to `wasm2asm`.
Diffstat (limited to 'test/wasm2asm/get-set-local.2asm.js')
0 files changed, 0 insertions, 0 deletions