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

Unified Diff: syzygy/assm/assembler_base.h

Issue 2868683002: adds 'mov reg32, fs:[imm]' and 'inc byte ptr [reg32]' to the assembler (Closed)
Patch Set: fix build break, simplify the encoding and test it with all gprs Created 3 years, 7 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 | syzygy/assm/assembler_base_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/assm/assembler_base.h
diff --git a/syzygy/assm/assembler_base.h b/syzygy/assm/assembler_base.h
index 6bd9bf6a2998a80a497d6c0cbacd38fab03e6287..664e0152a40da0a1fd96a2a7e2d7f9c735522149 100644
--- a/syzygy/assm/assembler_base.h
+++ b/syzygy/assm/assembler_base.h
@@ -137,6 +137,7 @@ class AssemblerBase {
void mov(const Register32& dst, const Immediate& src);
void mov(const Operand& dst, const Immediate& src);
void mov_fs(const Register32& dst, const Operand& src);
+ void mov_fs(const Register32& dst, const Immediate& src);
void mov_fs(const Operand& dst, const Register32& src);
// @}
@@ -192,6 +193,8 @@ class AssemblerBase {
void add(const Register32& dst, const Immediate& src);
void add(const Operand& dst, const Immediate& src);
+ void inc(const Operand& dst);
+
void sub(const Register8& dst, const Register8& src);
void sub(const Register8& dst, const Immediate& src);
« no previous file with comments | « no previous file | syzygy/assm/assembler_base_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698