1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/ExecutionEngine/RuntimeDyld
Sagar Thakur 5eb36c5e30 [MIPS][LLVM-MC] Fix Disassemble of Negative Offset
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
2016-05-24 09:57:10 +00:00
..
AArch64 Don't pass relocation-model= to tests that don't need it. 2016-05-18 00:27:17 +00:00
ARM Don't pass relocation-model= to tests that don't need it. 2016-05-18 00:27:17 +00:00
Mips [MIPS][LLVM-MC] Fix Disassemble of Negative Offset 2016-05-24 09:57:10 +00:00
PowerPC [RuntimeDyld] Adapt PPC64 relocations to PPC32 2015-08-04 15:29:00 +00:00
SystemZ Don't pass relocation-model= to tests that don't need it. 2016-05-18 00:27:17 +00:00
X86 [RuntimeDyld][MachO] Add support for SUBTRACTOR relocations between anonymous 2016-05-19 23:26:05 +00:00