[turbofan] instantiate and run InstructionSelectorMultTest for ia32
authordcarney@chromium.org <dcarney@chromium.org>
Tue, 30 Sep 2014 11:44:29 +0000 (11:44 +0000)
committerdcarney@chromium.org <dcarney@chromium.org>
Tue, 30 Sep 2014 11:44:29 +0000 (11:44 +0000)
TBR=bmeurer@chromium.org

BUG=

Review URL: https://codereview.chromium.org/612373003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24327 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/compiler/ia32/instruction-selector-ia32-unittest.cc

index 9e50276..540584c 100644 (file)
@@ -504,12 +504,16 @@ TEST_P(InstructionSelectorMultTest, Mult32) {
     EXPECT_EQ(kIA32Lea, s[0]->arch_opcode());
     ASSERT_EQ(InputCountForLea(s[0]->addressing_mode()), s[0]->InputCount());
   } else {
-    EXPECT_EQ(kIA32Lea, s[0]->arch_opcode());
+    EXPECT_EQ(kIA32Imul, s[0]->arch_opcode());
     ASSERT_EQ(2U, s[0]->InputCount());
   }
   EXPECT_EQ(param->id(), s.ToVreg(s[0]->InputAt(0)));
 }
 
+
+INSTANTIATE_TEST_CASE_P(InstructionSelectorTest, InstructionSelectorMultTest,
+                        ::testing::ValuesIn(kMultParams));
+
 }  // namespace compiler
 }  // namespace internal
 }  // namespace v8