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 3dc5a3a3733f8ad12e17e369c4e777c5f58d2796..2a1cfe2d9b33b11de1fba0805aa696248d2b2cef 100644 |
--- a/test/cctest/wasm/test-run-wasm-64.cc |
+++ b/test/cctest/wasm/test-run-wasm-64.cc |
@@ -43,6 +43,13 @@ TEST(Run_WasmI64Ior) { |
} |
} |
// kExprI64Xor: |
+TEST(Run_WasmI64Xor) { |
+ WasmRunner<int64_t> r(MachineType::Int64(), MachineType::Int64()); |
+ BUILD(r, WASM_I64_XOR(WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); |
+ FOR_INT64_INPUTS(i) { |
+ FOR_INT64_INPUTS(j) { CHECK_EQ((*i) ^ (*j), r.Call(*i, *j)); } |
+ } |
+} |
// kExprI64Shl: |
// kExprI64ShrU: |
// kExprI64ShrS: |