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

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

Issue 1576026: Add support for bkpt instruction... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 8 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
« src/arm/simulator-arm.cc ('K') | « src/arm/simulator-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
===================================================================
--- test/cctest/test-disasm-arm.cc (revision 4358)
+++ test/cctest/test-disasm-arm.cc (working copy)
@@ -248,6 +248,16 @@
COMPARE(mvn(r5, Operand(r4), SetCC, cc),
"31f05004 mvnccs r5, r4");
+ // Miscellaneous instructions encoded as type 0.
+ COMPARE(blx(ip),
+ "e12fff3c blx ip");
+ COMPARE(bkpt(0),
+ "e1200070 bkpt 0");
+ COMPARE(bkpt(0xffff),
+ "e12fff7f bkpt 65535");
+ COMPARE(clz(r6, r7),
+ "e16f6f17 clz r6, r7");
+
VERIFY_RUN();
}
« src/arm/simulator-arm.cc ('K') | « src/arm/simulator-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698