| Index: test/cctest/wasm/test-run-wasm-64.cc
|
| diff --git a/test/cctest/wasm/test-run-wasm-64.cc b/test/cctest/wasm/test-run-wasm-64.cc
|
| index e28273d3bed2617a021fc9b9e50dba1a19448d4d..3b0be74595ba0046f2a7832ef75f87f303dd4b2b 100644
|
| --- a/test/cctest/wasm/test-run-wasm-64.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-64.cc
|
| @@ -1319,6 +1319,16 @@ WASM_EXEC_TEST(I64ReinterpretF64) {
|
| }
|
| }
|
|
|
| +WASM_EXEC_TEST(SignallingNanSurvivesI64ReinterpretF64) {
|
| + REQUIRE(I64ReinterpretF64);
|
| + WasmRunner<int64_t> r(execution_mode);
|
| + BUILD(r, WASM_I64_REINTERPRET_F64(WASM_SEQ(kExprF64Const, 0x00, 0x00, 0x00,
|
| + 0x00, 0x00, 0x00, 0xf4, 0x7f)));
|
| +
|
| + // This is a signalling nan.
|
| + CHECK_EQ(0x7ff4000000000000, r.Call());
|
| +}
|
| +
|
| WASM_EXEC_TEST(F64ReinterpretI64) {
|
| REQUIRE(F64ReinterpretI64);
|
| WasmRunner<int64_t, int64_t> r(execution_mode);
|
|
|