llvm-6502/lib/Target/Mips
Akira Hatanaka 18f3c78092 This patch adds a predicate to existing mips32 and mips64 so that those
instruction encodings can be excluded during mips16 processing.

This revision fixes the issue raised by Jim Grosbach.

bool hasStandardEncoding() const { return !inMips16Mode(); }

When micromips is added it will be

bool StandardEncoding() const { return !inMips16Mode()&&  !inMicroMipsMode(); }

No additional testing is needed other than to assure that there is no regression
from this patch.

Patch by Reed Kotler.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157234 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-22 03:10:09 +00:00
..
AsmParser
Disassembler
InstPrinter
MCTargetDesc Allow MCCodeEmitter access to the target MCRegisterInfo. 2012-05-15 17:35:52 +00:00
TargetInfo
CMakeLists.txt Remove MipsEmitGPRestore.cpp. 2012-05-12 03:24:03 +00:00
LLVMBuild.txt
Makefile
Mips16InstrFormats.td Define mips16 instruction formats. 2012-05-08 19:08:58 +00:00
Mips64InstrInfo.td This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
Mips.h Remove MipsEmitGPRestore.cpp. 2012-05-12 03:24:03 +00:00
Mips.td This patch adds the register class for MIPS16 as well as the ability for 2012-05-16 22:19:56 +00:00
MipsAnalyzeImmediate.cpp
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp Add support for the 'd' mips inline asm output modifier. 2012-05-19 00:51:56 +00:00
MipsAsmPrinter.h
MipsCallingConv.td
MipsCodeEmitter.cpp
MipsCondMov.td This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
MipsDelaySlotFiller.cpp Add a command line option to skip the delay slot filler pass entirely for Mips. 2012-05-14 23:59:17 +00:00
MipsExpandPseudo.cpp
MipsFrameLowering.cpp Make the following changes in MipsFrameLowering.cpp: 2012-05-12 03:18:00 +00:00
MipsFrameLowering.h
MipsInstrFormats.td This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
MipsInstrFPU.td This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
MipsInstrInfo.cpp This patch adds the register class for MIPS16 as well as the ability for 2012-05-16 22:19:56 +00:00
MipsInstrInfo.h
MipsInstrInfo.td This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
MipsISelDAGToDAG.cpp Insert instructions to the entry basic block which initializes the global 2012-05-12 00:17:17 +00:00
MipsISelLowering.cpp Make the following changes in MipsISelLowering.cpp: 2012-05-12 03:19:04 +00:00
MipsISelLowering.h Expand 64-bit shifts if target ABI is O32. 2012-05-09 00:55:21 +00:00
MipsJITInfo.cpp
MipsJITInfo.h
MipsMachineFunction.cpp Delete all functions that are no longer needed in MipsFunctionInfo, including 2012-05-12 03:22:13 +00:00
MipsMachineFunction.h Delete all functions that are no longer needed in MipsFunctionInfo, including 2012-05-12 03:22:13 +00:00
MipsMCInstLower.cpp Make the following changes in MipsAsmPrinter.cpp: 2012-05-12 00:48:43 +00:00
MipsMCInstLower.h Make the following changes in MipsAsmPrinter.cpp: 2012-05-12 00:48:43 +00:00
MipsRegisterInfo.cpp Stop reserving register $gp. Do not call isGPFI to check whether a frame object 2012-05-12 03:21:18 +00:00
MipsRegisterInfo.h
MipsRegisterInfo.td This patch adds the register class for MIPS16 as well as the ability for 2012-05-16 22:19:56 +00:00
MipsRelocations.h
MipsSchedule.td
MipsSelectionDAGInfo.cpp
MipsSelectionDAGInfo.h
MipsSubtarget.cpp This patch adds the register class for MIPS16 as well as the ability for 2012-05-16 22:19:56 +00:00
MipsSubtarget.h This patch adds a predicate to existing mips32 and mips64 so that those 2012-05-22 03:10:09 +00:00
MipsTargetMachine.cpp Do not add the pass which restores $gp after every function call. 2012-05-12 03:19:51 +00:00
MipsTargetMachine.h
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h