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

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

Issue 2623993006: [ARM] Add vmin, vmax NEON instructions. (Closed)
Patch Set: Rebase. 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 b709c3513c9514d1f34e8640b4ccf57e36102f29..3ba6bee8d4e7932b457aa0ec961b99b408a5e177 100644
--- a/test/cctest/test-disasm-arm.cc
+++ b/test/cctest/test-disasm-arm.cc
@@ -1029,6 +1029,16 @@ TEST(Neon) {
"f240e170 vand q15, q0, q8");
COMPARE(vorr(q15, q0, q8),
"f260e170 vorr q15, q0, q8");
+ COMPARE(vmin(q15, q0, q8),
+ "f260ef60 vmin.f32 q15, q0, q8");
+ COMPARE(vmax(q15, q0, q8),
+ "f240ef60 vmax.f32 q15, q0, q8");
+ COMPARE(vmax(NeonS8, q0, q1, q2),
+ "f2020644 vmax.s8 q0, q1, q2");
+ COMPARE(vmin(NeonU16, q1, q2, q8),
+ "f3142670 vmin.u16 q1, q2, q8");
+ COMPARE(vmax(NeonS32, q15, q0, q8),
+ "f260e660 vmax.s32 q15, q0, q8");
COMPARE(vadd(q15, q0, q8),
"f240ed60 vadd.f32 q15, q0, q8");
COMPARE(vadd(Neon8, q0, q1, q2),
« 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