[MIPS] Emulate microMIPS instructions

Description

[MIPS] Emulate microMIPS instructions

SUMMARY:
This patch includes:

1. Emulation of prologue/epilogue and branch instructions for microMIPS.
2. Setting up alternate disassembler (to be used for microMIPS).
   So there will be two disassembler instances, one for microMIPS and other for MIPS.
   Appropriate disassembler will be used based on the address class of instruction address.

3. Some of the branch instructions does not have fixed sized delay slot, that means delay slot instruction can be of 2-byte or 4-byte.
   For this "m_next_inst_size" has been introduced which stores the size of next instruction (i.e size of delay slot instruction in case of branch).
   This can be used wherever the size of next instruction is required.

4. A minor change to use mips32 register names instead of mips64 names.

Reviewers: clayborg, tberghammer
Subscribers: mohit.bhakkad, sagar, jaydeep, nitesh.jain, lldb-commits
Differential Revision: http://reviews.llvm.org/D13282

Details

Committed
bhushan.attardeOct 6 2015, 1:52 AM
Parents
rL249380: RenderScript command for printing allocation information
Branches
Unknown
Tags
Unknown