summaryrefslogtreecommitdiff
path: root/src/tools/wasm2js.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-09-09 09:56:50 -0700
committerGitHub <noreply@github.com>2020-09-09 09:56:50 -0700
commit41ea543093ed734c73e5202c58c899be447b3223 (patch)
tree9a31f000c84cfe7e0dcbf327798369ed5447968d /src/tools/wasm2js.cpp
parent916ce6f1a9f7c85102a8c69f593b301c8df5d19d (diff)
downloadbinaryen-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