| Index: src/compiler/ia32/instruction-selector-ia32-unittest.cc
|
| diff --git a/src/compiler/ia32/instruction-selector-ia32-unittest.cc b/src/compiler/ia32/instruction-selector-ia32-unittest.cc
|
| index 60708c1ebe64abff032339100eccd00d49d7e6ee..eb22fe2719537f18d529b052f2612b29494680ba 100644
|
| --- a/src/compiler/ia32/instruction-selector-ia32-unittest.cc
|
| +++ b/src/compiler/ia32/instruction-selector-ia32-unittest.cc
|
| @@ -75,6 +75,18 @@ TEST_F(InstructionSelectorTest, Int32SubWithImmediate) {
|
|
|
|
|
| // -----------------------------------------------------------------------------
|
| +// Conversions.
|
| +
|
| +TEST_F(InstructionSelectorTest, ChangeUint32ToFloat64WithParameter) {
|
| + StreamBuilder m(this, kMachFloat64, kMachUint32);
|
| + m.Return(m.ChangeUint32ToFloat64(m.Parameter(0)));
|
| + Stream s = m.Build();
|
| + ASSERT_EQ(1U, s.size());
|
| + EXPECT_EQ(kSSEUint32ToFloat64, s[0]->arch_opcode());
|
| +}
|
| +
|
| +
|
| +// -----------------------------------------------------------------------------
|
| // Loads and stores
|
|
|
| namespace {
|
|
|