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

Unified Diff: runtime/vm/assembler_arm.h

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 | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler_arm.h
===================================================================
--- runtime/vm/assembler_arm.h (revision 19488)
+++ runtime/vm/assembler_arm.h (working copy)
@@ -390,6 +390,7 @@
// Multiply instructions.
void mul(Register rd, Register rn, Register rm, Condition cond = AL);
+ void muls(Register rd, Register rn, Register rm, Condition cond = AL);
void mla(Register rd, Register rn, Register rm, Register ra,
Condition cond = AL);
void mls(Register rd, Register rn, Register rm, Register ra,
@@ -397,6 +398,10 @@
void umull(Register rd_lo, Register rd_hi, Register rn, Register rm,
Condition cond = AL);
+ // Division instructions.
+ void sdiv(Register rd, Register rn, Register rm, Condition cond = AL);
+ void udiv(Register rd, Register rn, Register rm, Condition cond = AL);
+
// Load/store instructions.
void ldr(Register rd, Address ad, Condition cond = AL);
void str(Register rd, Address ad, Condition cond = AL);
@@ -706,6 +711,12 @@
Register rm,
Register rs);
+ void EmitDivOp(Condition cond,
+ int32_t opcode,
+ Register rd,
+ Register rn,
+ Register rm);
+
void EmitMultiVSMemOp(Condition cond,
BlockAddressMode am,
bool load,
« no previous file with comments | « no previous file | runtime/vm/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698