diff options
author | Alon Zakai <azakai@google.com> | 2020-09-09 09:56:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-09 09:56:50 -0700 |
commit | 41ea543093ed734c73e5202c58c899be447b3223 (patch) | |
tree | 9a31f000c84cfe7e0dcbf327798369ed5447968d /src/tools/wasm2js.cpp | |
parent | 916ce6f1a9f7c85102a8c69f593b301c8df5d19d (diff) | |
download | binaryen-41ea543093ed734c73e5202c58c899be447b3223.tar.gz binaryen-41ea543093ed734c73e5202c58c899be447b3223.tar.bz2 binaryen-41ea543093ed734c73e5202c58c899be447b3223.zip |
Interpreter: Don't change NaN bits when multiplying by 1 (#3096)
Similar to #2958, but for multiplication. I thought this was limited
only to division (it doesn't happen for addition, for example), but the
fuzzer found that it does indeed happen for multiplication as well.
Overall these are kind of workarounds for the interpreter doing
normal f32/f64 multiplications using the host CPU, so we pick up
any oddness of its NaN behavior. Using soft float might be safer
(but much slower).
Diffstat (limited to 'src/tools/wasm2js.cpp')
0 files changed, 0 insertions, 0 deletions