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

Unified Diff: src/x64/assembler-x64.h

Issue 426233002: Land the Fan (disabled) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback, rebase and "git cl format" Created 6 years, 5 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 | « src/variables.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/x64/assembler-x64.h
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h
index 4259e9b50ef5ccbfd5d5b8f2452b6052697a5543..6f4b7e1a56d1f53bc152e0e6b225af2f2c48617f 100644
--- a/src/x64/assembler-x64.h
+++ b/src/x64/assembler-x64.h
@@ -437,26 +437,27 @@ class Operand BASE_EMBEDDED {
};
-#define ASSEMBLER_INSTRUCTION_LIST(V) \
- V(add) \
- V(and) \
- V(cmp) \
- V(dec) \
- V(idiv) \
- V(imul) \
- V(inc) \
- V(lea) \
- V(mov) \
- V(movzxb) \
- V(movzxw) \
- V(neg) \
- V(not) \
- V(or) \
- V(repmovs) \
- V(sbb) \
- V(sub) \
- V(test) \
- V(xchg) \
+#define ASSEMBLER_INSTRUCTION_LIST(V) \
+ V(add) \
+ V(and) \
+ V(cmp) \
+ V(dec) \
+ V(idiv) \
+ V(div) \
+ V(imul) \
+ V(inc) \
+ V(lea) \
+ V(mov) \
+ V(movzxb) \
+ V(movzxw) \
+ V(neg) \
+ V(not) \
+ V(or) \
+ V(repmovs) \
+ V(sbb) \
+ V(sub) \
+ V(test) \
+ V(xchg) \
V(xor)
@@ -1435,6 +1436,7 @@ class Assembler : public AssemblerBase {
// Divide edx:eax by lower 32 bits of src. Quotient in eax, remainder in edx
// when size is 32.
void emit_idiv(Register src, int size);
+ void emit_div(Register src, int size);
// Signed multiply instructions.
// rdx:rax = rax * src when size is 64 or edx:eax = eax * src when size is 32.
@@ -1455,6 +1457,7 @@ class Assembler : public AssemblerBase {
void emit_mov(const Operand& dst, Immediate value, int size);
void emit_movzxb(Register dst, const Operand& src, int size);
+ void emit_movzxb(Register dst, Register src, int size);
void emit_movzxw(Register dst, const Operand& src, int size);
void emit_movzxw(Register dst, Register src, int size);
@@ -1514,9 +1517,12 @@ class Assembler : public AssemblerBase {
void emit_test(Register reg, Immediate mask, int size);
void emit_test(const Operand& op, Register reg, int size);
void emit_test(const Operand& op, Immediate mask, int size);
+ void emit_test(Register reg, const Operand& op, int size) {
+ return emit_test(op, reg, size);
+ }
- // Exchange two registers
void emit_xchg(Register dst, Register src, int size);
+ void emit_xchg(Register dst, const Operand& src, int size);
void emit_xor(Register dst, Register src, int size) {
if (size == kInt64Size && dst.code() == src.code()) {
« no previous file with comments | « src/variables.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698