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

Unified Diff: src/IceAssemblerARM32.h

Issue 1440693002: Handle another form of MOVW in ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 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 | src/IceAssemblerARM32.cpp » ('j') | src/IceAssemblerARM32.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceAssemblerARM32.h
diff --git a/src/IceAssemblerARM32.h b/src/IceAssemblerARM32.h
index 96e800b443e787702ba9db33ee651891b4abc3ef..a3a31f4e2d461eb58bb98a51a280336c5b7ad058 100644
--- a/src/IceAssemblerARM32.h
+++ b/src/IceAssemblerARM32.h
@@ -314,6 +314,12 @@ private:
// Returns the offset encoded in the branch instruction Inst.
static IOffsetT decodeBranchOffset(IValueT Inst);
+
+ // Implements movw, generating pattern ccccxxxxxxxsiiiiddddiiiiiiiiiiii where
+ // cccc=Cond, xxxxxxx<<21=Opcode, dddd=Rd, s=SetFlags, and
+ // iiiiiiiiiiiiiiii=Imm16.
+ void emitMovw(IValueT Opcode, IValueT Rd, IValueT Imm16, bool SetFlags,
+ CondARM32::Cond Cond);
};
} // end of namespace ARM32
« no previous file with comments | « no previous file | src/IceAssemblerARM32.cpp » ('j') | src/IceAssemblerARM32.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698