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

Unified Diff: runtime/vm/disassembler_arm.cc

Issue 12459005: Adds muls, sdiv, udiv instructions to ARM simulator, assembler, disassembler (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_arm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler_arm.cc
===================================================================
--- runtime/vm/disassembler_arm.cc (revision 19488)
+++ runtime/vm/disassembler_arm.cc (working copy)
@@ -852,6 +852,14 @@
void ARMDecoder::DecodeType3(Instr* instr) {
+ if (instr->IsDivision()) {
+ if (instr->Bit(21)) {
+ Format(instr, "udiv'cond 'rd, 'rn, 'rm");
+ } else {
+ Format(instr, "sdiv'cond 'rd, 'rn, 'rm");
+ }
+ return;
+ }
switch (instr->PUField()) {
case 0: {
if (instr->HasW()) {
« no previous file with comments | « runtime/vm/constants_arm.h ('k') | runtime/vm/simulator_arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698