Improve Mips JIT.
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 30 Dec 2011 21:04:30 +0000 (21:04 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 30 Dec 2011 21:04:30 +0000 (21:04 +0000)
commit3aa035fa0c27d3ea2a834868f680bcbfe7eb0de7
treef8d2f141065d40a9c1e1c685b9411e89e8be4e9d
parentdb186c4c83985d6dc9389fb747a52820357a98d3
Improve Mips JIT.

Implement encoder methods getJumpTargetOpValue and getBranchTargetOpValue
for jmptarget and brtarget Mips tablegen operand types in the code emitter
for old-style JIT. Rename the pc relative relocation for branches - new
name is Mips::reloc_mips_pc16.

Patch by Sasa Stankovic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsCodeEmitter.cpp
lib/Target/Mips/MipsJITInfo.cpp
lib/Target/Mips/MipsRelocations.h