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

Unified Diff: regexp2000/src/assembler-ia32.h

Issue 10942: Start IA32 implemenetation of regexp2k (Closed)
Patch Set: Addressed review comments Created 12 years, 1 month 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 | regexp2000/src/assembler-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: regexp2000/src/assembler-ia32.h
diff --git a/regexp2000/src/assembler-ia32.h b/regexp2000/src/assembler-ia32.h
index 9647446e7040a80e63021b20be855f4e16f2ac90..3a8bae940dbeaa707df5a29a7ffa60ba37f2dd7c 100644
--- a/regexp2000/src/assembler-ia32.h
+++ b/regexp2000/src/assembler-ia32.h
@@ -444,6 +444,9 @@ class Assembler : public Malloced {
void pop(Register dst);
void pop(const Operand& dst);
+ void enter(const Immediate& size);
+ void leave();
+
// Moves
void mov_b(Register dst, const Operand& src);
void mov_b(const Operand& dst, int8_t imm8);
@@ -491,6 +494,9 @@ class Assembler : public Malloced {
void cmp(Register reg, const Operand& op);
void cmp(const Operand& op, const Immediate& imm);
+ void rep_cmpsb();
+ void rep_cmpsw();
+
void dec_b(Register dst);
void dec(Register dst);
@@ -550,6 +556,7 @@ class Assembler : public Malloced {
void xor_(const Operand& dst, const Immediate& x);
// Bit operations.
+ void bt(const Operand& dst, Register src);
void bts(const Operand& dst, Register src);
// Miscellaneous
@@ -558,7 +565,6 @@ class Assembler : public Malloced {
void nop();
void rdtsc();
void ret(int imm16);
- void leave();
// Label operations & relative jumps (PPUM Appendix D)
//
@@ -748,6 +754,7 @@ class Assembler : public Malloced {
inline void emit(Handle<Object> handle);
inline void emit(uint32_t x, RelocInfo::Mode rmode);
inline void emit(const Immediate& x);
+ inline void emit_w(const Immediate& x);
// instruction generation
void emit_arith_b(int op1, int op2, Register dst, int imm8);
« no previous file with comments | « no previous file | regexp2000/src/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698