From: dcarney@chromium.org Date: Tue, 30 Sep 2014 11:44:29 +0000 (+0000) Subject: [turbofan] instantiate and run InstructionSelectorMultTest for ia32 X-Git-Tag: upstream/4.7.83~6614 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d57e2222c304e05862cab497ce84a1fcb9f169a6;p=platform%2Fupstream%2Fv8.git [turbofan] instantiate and run InstructionSelectorMultTest for ia32 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 --- diff --git a/src/compiler/ia32/instruction-selector-ia32-unittest.cc b/src/compiler/ia32/instruction-selector-ia32-unittest.cc index 9e50276..540584c 100644 --- a/src/compiler/ia32/instruction-selector-ia32-unittest.cc +++ b/src/compiler/ia32/instruction-selector-ia32-unittest.cc @@ -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