Chromium Code Reviews

Unified Diff: test/cctest/wasm/test-run-wasm-64.cc

Issue 1807273002: [wasm] Int64Lowering of Int64Mul on ia32 and arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-phi
Patch Set: Forgot to add the visit functions on mips, ppc, and x87. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 d38d192d634cdb67f8e1def08df4e0ae275e0ed9..cd3f4aa428ff4ce120077867377b0a845d51ed8e 100644
--- a/test/cctest/wasm/test-run-wasm-64.cc
+++ b/test/cctest/wasm/test-run-wasm-64.cc
@@ -48,7 +48,7 @@
V(I64LoadStore, true) \
V(I64Add, !MIPS_OR_X87) \
V(I64Sub, !MIPS_OR_X87) \
- V(I64Mul, false) \
+ V(I64Mul, !MIPS_OR_X87) \
V(I64DivS, true) \
V(I64DivU, true) \
V(I64RemS, true) \
@@ -873,6 +873,8 @@ TEST(Run_Wasm_I64Binops) {
TEST_I64_BINOP(I64Add, 8888888888888LL, 3333333333333LL, 5555555555555LL);
TEST_I64_BINOP(I64Sub, -111111111111LL, 777777777777LL, 888888888888LL);
TEST_I64_BINOP(I64Mul, 65130756, 88734, 734);
+ TEST_I64_BINOP(I64Mul, 65130756, -88734, -734);
+ TEST_I64_BINOP(I64Mul, -65130756, -88734, 734);
TEST_I64_BINOP(I64DivS, -66, -4777344, 72384);
TEST_I64_BINOP(I64DivU, 805306368, 0xF0000000, 5);
TEST_I64_BINOP(I64RemS, -3, -3003, 1000);

Powered by Google App Engine