v8/test/cctest/wasm
Clemens Hammacher a74ee93311 [wasm] [interpreter] Tighten possible nondeterminism
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: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48954}
2017-10-26 08:24:17 +00:00
..
OWNERS Add eholk to Wasm-related OWNERS files 2017-08-10 18:58:00 +00:00
test-c-wasm-entry.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-run-wasm-64.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-run-wasm-asmjs.cc [wasm] Introduce the WasmContext 2017-09-28 16:14:03 +00:00
test-run-wasm-atomics.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-run-wasm-interpreter.cc [wasm] [interpreter] Tighten possible nondeterminism 2017-10-26 08:24:17 +00:00
test-run-wasm-js.cc [jumbo] drop duplicate BUILD macro from test-run-wasm-js.cc 2017-09-22 11:15:08 +00:00
test-run-wasm-module.cc [wasm] Remove {memory_buffer} from WasmInstanceObject. 2017-10-25 11:57:56 +00:00
test-run-wasm-relocation.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-run-wasm-simd.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-run-wasm.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-streaming-compilation.cc [wasm] Fix platform initialization in test-streaming-compilation. 2017-10-09 19:25:14 +00:00
test-wasm-breakpoints.cc [bigint] Fix abstract equality with junk strings 2017-10-25 20:56:09 +00:00
test-wasm-interpreter-entry.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-wasm-stack.cc [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00
test-wasm-trap-position.cc [jumbo] add test namespaces for cctest 2017-09-21 08:46:16 +00:00
wasm-run-utils.cc [wasm] [interpreter] Tighten possible nondeterminism 2017-10-26 08:24:17 +00:00
wasm-run-utils.h [wasm] Enable tests for Liftoff 2017-10-25 13:14:56 +00:00