| Index: test/cctest/compiler/test-run-machops.cc
|
| diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc
|
| index 148e5285fbb512396f8f387147c2bde97d70130f..6d681bca85f04272fbd0758ff1d7b9c980fdd8c7 100644
|
| --- a/test/cctest/compiler/test-run-machops.cc
|
| +++ b/test/cctest/compiler/test-run-machops.cc
|
| @@ -5393,6 +5393,12 @@ TEST(RunTruncateFloat64ToWord32P) {
|
| }
|
| }
|
|
|
| +TEST(RunTruncateFloat64ToWord32SignExtension) {
|
| + BufferedRawMachineAssemblerTester<int32_t> r;
|
| + r.Return(r.Int32Sub(r.TruncateFloat64ToWord32(r.Float64Constant(-1.0)),
|
| + r.Int32Constant(0)));
|
| + CHECK_EQ(-1, r.Call());
|
| +}
|
|
|
| TEST(RunChangeFloat32ToFloat64) {
|
| BufferedRawMachineAssemblerTester<double> m(MachineType::Float32());
|
|
|