| 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 021da1c88d08d71c63a190e038e4a85f4e7b5ab4..ac7ab33f0179c9e302046df392c65823c8534afb 100644
|
| --- a/test/cctest/wasm/test-run-wasm-64.cc
|
| +++ b/test/cctest/wasm/test-run-wasm-64.cc
|
| @@ -1201,3 +1201,15 @@ TEST(Run_Wasm_I64Global) {
|
| CHECK_EQ(expected, *global);
|
| }
|
| }
|
| +
|
| +TEST(Run_WasmI64Eqz) {
|
| + REQUIRE(I64Eq);
|
| +
|
| + WasmRunner<int32_t> r(MachineType::Int64());
|
| + BUILD(r, WASM_I64_EQZ(WASM_GET_LOCAL(0)));
|
| +
|
| + FOR_INT64_INPUTS(i) {
|
| + int32_t result = *i == 0 ? 1 : 0;
|
| + CHECK_EQ(result, r.Call(*i));
|
| + }
|
| +}
|
|
|