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
LLVMBuild.txt
Makefile
Mips16InstrFormats.td
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
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
MipsExpandPseudo.cpp
MipsFrameLowering.cpp
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
MipsISelLowering.cpp
MipsISelLowering.h
MipsJITInfo.cpp
MipsJITInfo.h
MipsMachineFunction.cpp
MipsMachineFunction.h
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsRegisterInfo.cpp
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
MipsTargetMachine.h
MipsTargetObjectFile.cpp
MipsTargetObjectFile.h