Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1480)

Unified Diff: test/cctest/compiler/test-run-machops.cc

Issue 2729853003: [arm64][turbofan] Tst instructions can have a shifted operand. (Closed)
Patch Set: typo Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698