llvm/test/MC/Disassembler/Mips
Sagar Thakur 805f1b70c4 [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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270542 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-24 09:57:10 +00:00
..
dsp [mips][microMIPS][DSP] Implement PACKRL.PH, PICK.PH, PICK.QB, SHILO, SHILOV and WRDSP instructions 2015-12-18 08:59:37 +00:00
dspr2 [mips][DSP] Add DSPr1 and DSPr2 tests for the standard encodings 2015-12-03 09:56:39 +00:00
eva [mips] Added support for various EVA ASE instructions. 2015-09-15 10:02:16 +00:00
micromips32r3 [mips][microMIPS] Add CodeGen support for microMIPSr6 ROTR and ROTRV and add tests for LL, SC, SYSCALL, ROTR, ROTRV, LWM32, SWM32 and MOVEP instructions 2016-05-04 12:02:12 +00:00
micromips32r6 [mips][microMIPS] Implement BC1EQZC, BC1NEZC, BC2EQZC and BC2NEZC instructions 2016-05-19 07:31:28 +00:00
micromips64r6 [mips][microMIPS] Implement BC1EQZC, BC1NEZC, BC2EQZC and BC2NEZC instructions 2016-05-19 07:31:28 +00:00
micromips-dsp [mips][microMIPS][DSP] Implement BALIGN, BITREV, BPOSGE32, CMP*, CMPGDU*, CMPGU* and CMPU* instructions 2016-05-17 09:32:58 +00:00
micromips-dspr2 [mips][microMIPS][DSP] Implement BALIGN, BITREV, BPOSGE32, CMP*, CMPGDU*, CMPGU* and CMPU* instructions 2016-05-17 09:32:58 +00:00
micromips-dspr3 [mips][microMIPS] Implement APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH instructions 2016-05-13 11:32:53 +00:00
mips1 [mips] Attempt to fix llvm-s390x-linux1 2015-09-11 14:57:54 +00:00
mips2 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips3 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips4 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips32 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips32r2 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips32r3 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips32r5 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips32r6 [MIPS][LLVM-MC] Fix Disassemble of Negative Offset 2016-05-24 09:57:10 +00:00
mips64 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips64r2 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips64r3 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips64r5 [mips] Range check uimm16 and fix several bugs this revealed. 2016-02-01 15:13:31 +00:00
mips64r6 [MIPS][LLVM-MC] Fix Disassemble of Negative Offset 2016-05-24 09:57:10 +00:00
msa [mips][msa] Remove copy_u.d and move copy_u.w to MSA64. 2015-10-21 09:58:54 +00:00
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00