• Clemens Hammacher's avatar
    [wasm] [interpreter] Tighten possible nondeterminism · a74ee933
    Clemens Hammacher authored
    The current implementation overapproximates the
    possible_nondeterminism_ bit by setting it whenever a NaN value is
    reinterpreted as integer, or stored to memory. This hides bugs in the
    interpreter that are handled as possible nondeterminism even though
    they are not.
    This CL fixes this by only setting the bit if a binary floating point
    operation is executed and one of the inputs is a NaN.
    
    R=ahaas@chromium.org
    
    Bug: v8:6954
    Change-Id: Ib937ae7730dbb140c012d07fae23b40ae7ed3d6b
    Reviewed-on: https://chromium-review.googlesource.com/735599
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48954}
    a74ee933
Name
Last commit
Last update
..
OWNERS Loading commit data...
test-c-wasm-entry.cc Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-atomics.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-relocation.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-streaming-compilation.cc Loading commit data...
test-wasm-breakpoints.cc Loading commit data...
test-wasm-interpreter-entry.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-run-utils.cc Loading commit data...
wasm-run-utils.h Loading commit data...