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

Unified Diff: test/cctest/test-disasm-arm.cc

Issue 2629223005: [ARM] Add Neon shift instructions vshl, vshr. (Closed)
Patch Set: Fix DCHECK in ArithmeticShiftRight. Created 3 years, 11 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 | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-disasm-arm.cc
diff --git a/test/cctest/test-disasm-arm.cc b/test/cctest/test-disasm-arm.cc
index 3ba6bee8d4e7932b457aa0ec961b99b408a5e177..e02dabeb9c8d97d0c138d4b502fbee0794179a03 100644
--- a/test/cctest/test-disasm-arm.cc
+++ b/test/cctest/test-disasm-arm.cc
@@ -1063,6 +1063,18 @@ TEST(Neon) {
"f2142970 vmul.i16 q1, q2, q8");
COMPARE(vmul(Neon32, q15, q0, q8),
"f260e970 vmul.i32 q15, q0, q8");
+ COMPARE(vshl(NeonS8, q15, q0, 6),
+ "f2cee550 vshl.i8 q15, q0, #6");
+ COMPARE(vshl(NeonU16, q15, q0, 10),
+ "f2dae550 vshl.i16 q15, q0, #10");
+ COMPARE(vshl(NeonS32, q15, q0, 17),
+ "f2f1e550 vshl.i32 q15, q0, #17");
+ COMPARE(vshr(NeonS8, q15, q0, 6),
+ "f2cae050 vshr.s8 q15, q0, #6");
+ COMPARE(vshr(NeonU16, q15, q0, 10),
+ "f3d6e050 vshr.u16 q15, q0, #10");
+ COMPARE(vshr(NeonS32, q15, q0, 17),
+ "f2efe050 vshr.s32 q15, q0, #17");
COMPARE(vrecpe(q15, q0),
"f3fbe540 vrecpe.f32 q15, q0");
COMPARE(vrecps(q15, q0, q8),
« no previous file with comments | « test/cctest/test-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698