llvm-6502/lib/Target/Mips/MCTargetDesc
Daniel Sanders 21ed78f564 [mips][mips64r6] b(ge|lt)zal are not available on MIPS32r6/MIPS64r6 and bal is a normal instruction
Summary:
b(ge|lt)zal have been removed in MIPS32r6/MIPS64r6. However, bal (an alias
for 'bgezal $zero, $offset') still remains with the same encoding it had
prior to MIPS32r6/MIPS64r6.

Updated the MipsNaCLELFStreamer, and MipsLongBranch to correctly handle the
MIPS32r6/MIPS64r6 BAL instruction in addition to the existing BAL_BR pseudo.

No changes were required to the CodeGen test that looks for BAL
(test/CodeGen/Mips/longbranch.ll) since the new instruction has the same
syntax.

Depends on D4113

Reviewers: jkolek, zoran.jovanovic, vmedic

Reviewed By: vmedic

Differential Revision: http://reviews.llvm.org/D4114

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210898 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-13 13:02:52 +00:00
..
CMakeLists.txt [mips] Implement custom MCELFStreamer. 2014-03-27 11:39:03 +00:00
LLVMBuild.txt
Makefile Test commit 2012-06-09 00:27:55 +00:00
MipsAsmBackend.cpp [mips][mips64r6] Add R_MIPS_PC19_S2 2014-06-12 12:40:00 +00:00
MipsAsmBackend.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsBaseInfo.h Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
MipsELFObjectWriter.cpp [mips][mips64r6] Add R_MIPS_PC19_S2 2014-06-12 12:40:00 +00:00
MipsELFStreamer.cpp [mips] Implement custom MCELFStreamer. 2014-03-27 11:39:03 +00:00
MipsELFStreamer.h [mips] Remove unused private field. 2014-03-27 12:02:48 +00:00
MipsFixupKinds.h [mips][mips64r6] Add R_MIPS_PC19_S2 2014-06-12 12:40:00 +00:00
MipsMCAsmInfo.cpp Add a MCAsmInfoELF class and factor some code into it. 2013-10-16 01:34:32 +00:00
MipsMCAsmInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsMCCodeEmitter.cpp [mips][mips64r6] Add R_MIPS_PC19_S2 2014-06-12 12:40:00 +00:00
MipsMCCodeEmitter.h [mips][mips64r6] Add LDPC instruction 2014-06-09 09:49:51 +00:00
MipsMCExpr.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
MipsMCExpr.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. Mips edition 2014-04-29 07:58:02 +00:00
MipsMCNaCl.h [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
MipsMCTargetDesc.cpp Remove the UseCFI option from createAsmStreamer. 2014-05-07 13:00:43 +00:00
MipsMCTargetDesc.h [mips] 80-column. 2014-03-19 16:29:06 +00:00
MipsNaClELFStreamer.cpp [mips][mips64r6] b(ge|lt)zal are not available on MIPS32r6/MIPS64r6 and bal is a normal instruction 2014-06-13 13:02:52 +00:00
MipsTargetStreamer.cpp [mips] Move expansion of .cpsetup to target streamer. 2014-05-01 10:24:46 +00:00