| 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];
|
|
|