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

Unified Diff: src/arm/simulator-arm.h

Issue 651029: Forking disassembler and simulator for Thumb2 support; (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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/arm/regexp-macro-assembler-arm.cc ('k') | src/arm/simulator-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/simulator-arm.h
===================================================================
--- src/arm/simulator-arm.h (revision 4001)
+++ src/arm/simulator-arm.h (working copy)
@@ -232,7 +232,9 @@
void DecodeType6CoprocessorIns(Instr* instr);
// Executes one instruction.
- void InstructionDecode(Instr* instr);
+ void InstructionDecode(int32_t pc);
+ void InstructionDecodeArm(Instr* instr);
+ void InstructionDecodeThumb2(byte* pc);
// Runtime call support.
static void* RedirectExternalReference(void* external_function,
@@ -243,6 +245,11 @@
void GetFpArgs(double* x, double* y);
void SetFpResult(const double& result);
void TrashCallerSaveRegisters();
+ // Thumb specific stuff
+ int32_t GetOperand2(const InstrThumb2& instr, bool* carry_out);
+ int32_t GetRmShiftImm(const InstrThumb2& instr, bool* carry_out);
+ void PrintThumb2(const InstrThumb2& instr);
+ inline bool InThumbMode() const {return (get_pc() & 1) == 1;};
// Architecture state.
int32_t registers_[16];
« no previous file with comments | « src/arm/regexp-macro-assembler-arm.cc ('k') | src/arm/simulator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698