| Index: src/compiler/x64/instruction-selector-x64-unittest.cc
|
| diff --git a/src/compiler/x64/instruction-selector-x64-unittest.cc b/src/compiler/x64/instruction-selector-x64-unittest.cc
|
| index 22f0bce6a089033f0a1c3ec8c6cdddb1887aec15..3d63e7df4d1551fe22f2463a904527308964168b 100644
|
| --- a/src/compiler/x64/instruction-selector-x64-unittest.cc
|
| +++ b/src/compiler/x64/instruction-selector-x64-unittest.cc
|
| @@ -21,6 +21,15 @@ TEST_F(InstructionSelectorTest, ChangeInt32ToInt64WithParameter) {
|
| }
|
|
|
|
|
| +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());
|
| +}
|
| +
|
| +
|
| TEST_F(InstructionSelectorTest, ChangeUint32ToUint64WithParameter) {
|
| StreamBuilder m(this, kMachUint64, kMachUint32);
|
| m.Return(m.ChangeUint32ToUint64(m.Parameter(0)));
|
|
|