| 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 5414c553bd4c125d6f9e2cf1f15840af4f9f9536..650098aee4aa4b3819329d6703c26be7b23ac9ea 100644
|
| --- a/test/cctest/compiler/test-run-machops.cc
|
| +++ b/test/cctest/compiler/test-run-machops.cc
|
| @@ -6741,6 +6741,15 @@ TEST(Regression5951) {
|
|
|
| #endif // V8_TARGET_ARCH_64_BIT
|
|
|
| +TEST(Regression6028) {
|
| + BufferedRawMachineAssemblerTester<int32_t> m;
|
| + m.Return(m.Word32Equal(
|
| + m.Word32And(m.Int32Constant(0x23),
|
| + m.Word32Sar(m.Int32Constant(1), m.Int32Constant(18))),
|
| + m.Int32Constant(0)));
|
| + CHECK_EQ(1, m.Call());
|
| +}
|
| +
|
| } // namespace compiler
|
| } // namespace internal
|
| } // namespace v8
|
|
|