forked from OSchip/llvm-project
672c710de4
Patch by Nitesh Jain. Summary: The type of Imm in MipsDisassembler.cpp was incorrect since SignExtend64 return int64_t type.As per the MIPSr6 doc ,the offset is added to the address of the instruction following the branch (not the branch itself), to form a PC-relative effective target address hence “4” is added to the offset. The offset of some test case are update to reflect the changes due to “ + 4 ” offset and new test case for negative offset are added. Reviewers: dsanders, vkalintiris Differential Revision: http://reviews.llvm.org/D17540 llvm-svn: 270542 |
||
---|---|---|
.. | ||
Inputs | ||
ELF_Mips64r2N64_PIC_relocations.s | ||
ELF_N64R6_relocations.s | ||
ELF_O32R6_relocations.s | ||
ELF_O32_PIC_relocations.s | ||
lit.local.cfg |