llvm-6502/lib/Target/Mips
Reed Kotler 80f6061082 Fix a subtle difference between running clang vs llc for mips16.
This regards how mips16 is viewed. It's not really a target type but
there has always been a target for it in the td files. It's more properly
-mcpu=mips32 -mattr=+mips16 . This is how clang treats it but we have
always had the -mcpu=mips16 which I probably should delete now but it will
require updating all the .ll test cases for mips16. In this case it changed
how we decide if we have a count bits instruction and whether instruction
lowering should then expand ctlz. Now that we have dual mode compilation,
-mattr=+mips16 really just indicates the inital processor mode that
we are compiling for. (It is also possible to have -mcpu=64 -mattr=+mips16
but as far as I know, nobody has even built such a processor, though there
is an architecture manual for this).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188586 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-16 23:05:18 +00:00
..
AsmParser [mips] Fix bug in parsing accumulator registers. 2013-08-14 01:15:52 +00:00
Disassembler [mips] Rename DSPRegs. 2013-08-14 00:53:38 +00:00
InstPrinter [mips] Delete unnecessary InstAliases. Also, clear some of the InstAlias' 2013-08-06 22:35:29 +00:00
MCTargetDesc [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
TargetInfo Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
CMakeLists.txt Target/*/CMakeLists.txt: Add the dependency to CommonTableGen explicitly for each corresponding CodeGen. 2013-08-06 06:38:37 +00:00
LLVMBuild.txt
Makefile
MicroMipsInstrFormats.td [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MicroMipsInstrInfo.td [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
Mips16FrameLowering.cpp Add the saving of S2. This is needed for some of the floating point 2013-08-04 23:56:53 +00:00
Mips16FrameLowering.h [mips] Add parameter Alignment to MipsFrameLowering's constructor. 2013-03-29 01:51:04 +00:00
Mips16HardFloat.cpp Remove global construction. const char* is sufficient here. 2013-08-12 09:37:29 +00:00
Mips16HardFloat.h Checkin in of first of several patches to finish implementation of 2013-05-10 22:25:39 +00:00
Mips16InstrFormats.td Create a pattern for the "trap" instruction. 2013-08-07 04:00:26 +00:00
Mips16InstrInfo.cpp [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
Mips16InstrInfo.h Clean up code for Mips16 large frame handling. 2013-08-04 01:13:25 +00:00
Mips16InstrInfo.td [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
Mips16ISelDAGToDAG.cpp Access the TargetLoweringInfo from the TargetMachine object instead of caching it. The TLI may change between functions. No functionality change. 2013-06-19 21:36:55 +00:00
Mips16ISelDAGToDAG.h Track IR ordering of SelectionDAG nodes 2/4. 2013-05-25 02:42:55 +00:00
Mips16ISelLowering.cpp Add another intrinsic that LLVM gives an incorrect prototype to. 2013-08-09 21:33:41 +00:00
Mips16ISelLowering.h Mips: Remove global set. 2013-06-13 19:06:52 +00:00
Mips16RegisterInfo.cpp Clean up code for Mips16 large frame handling. 2013-08-04 01:13:25 +00:00
Mips16RegisterInfo.h Don't cache the instruction and register info from the TargetMachine, because 2013-06-07 07:04:14 +00:00
Mips64InstrInfo.td [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
Mips.h [mips] Add an IR transformation pass that optimizes calls to sqrt. 2013-06-11 22:21:44 +00:00
Mips.td [Mips][msa] Added initial MSA support. 2013-08-13 20:54:07 +00:00
MipsAnalyzeImmediate.cpp Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros. 2013-05-24 22:23:49 +00:00
MipsAnalyzeImmediate.h
MipsAsmPrinter.cpp [mips] Rename register classes CPURegs and CPU64Regs. 2013-08-06 23:08:38 +00:00
MipsAsmPrinter.h DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs 2013-06-16 20:34:27 +00:00
MipsCallingConv.td Mips td file formatting: white space and long lines 2013-05-16 20:08:49 +00:00
MipsCodeEmitter.cpp [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MipsCondMov.td [mips] Rename accumulator register classes and FP register operands. 2013-08-08 21:54:26 +00:00
MipsConstantIslandPass.cpp Don't cache the instruction and register info from the TargetMachine, because 2013-06-07 07:04:14 +00:00
MipsDelaySlotFiller.cpp Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-03 15:07:05 +00:00
MipsDSPInstrFormats.td [mips] DSP-ASE move from HI/LO register instructions. 2013-04-18 00:52:44 +00:00
MipsDSPInstrInfo.td [mips] Use register operands instead of register classes in DSP instruction 2013-08-14 01:02:20 +00:00
MipsFrameLowering.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
MipsFrameLowering.h [mips] Add parameter Alignment to MipsFrameLowering's constructor. 2013-03-29 01:51:04 +00:00
MipsInstrFormats.td This patch implements ei and di instructions for mips. Test cases are added. 2013-08-12 13:07:23 +00:00
MipsInstrFPU.td [mips] Rename accumulator register classes and FP register operands. 2013-08-08 21:54:26 +00:00
MipsInstrInfo.cpp DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs 2013-06-16 20:34:27 +00:00
MipsInstrInfo.h DebugInfo: remove target-specific Frame Index handling for DBG_VALUE MachineInstrs 2013-06-16 20:34:27 +00:00
MipsInstrInfo.td This patch implements wait instruction for mips. Examples are added in test files. 2013-08-16 10:17:03 +00:00
MipsISelDAGToDAG.cpp [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MipsISelDAGToDAG.h [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MipsISelLowering.cpp [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
MipsISelLowering.h [mips] Properly parse registers that appear in inline-asm constraints. 2013-08-14 00:21:25 +00:00
MipsJITInfo.cpp [test commit] Minor comment change. 2013-07-24 13:02:35 +00:00
MipsJITInfo.h
MipsLongBranch.cpp Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
MipsMachineFunction.cpp [mips] Rename register classes CPURegs and CPU64Regs. 2013-08-06 23:08:38 +00:00
MipsMachineFunction.h [mips] Lower EH_RETURN. 2013-01-30 00:26:49 +00:00
MipsMCInstLower.cpp
MipsMCInstLower.h
MipsModuleISelDAGToDAG.cpp This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
MipsModuleISelDAGToDAG.h This patch enables llvm to switch between compiling for mips32/mips64 2013-04-09 19:46:01 +00:00
MipsMSAInstrFormats.td [Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi) 2013-08-15 12:24:57 +00:00
MipsMSAInstrInfo.td Reverted test commit (r188556) 2013-08-16 15:27:12 +00:00
MipsOptimizeMathLibCalls.cpp [mips] Add an IR transformation pass that optimizes calls to sqrt. 2013-06-11 22:21:44 +00:00
MipsOs16.cpp 80 columns. 2013-04-22 20:13:37 +00:00
MipsOs16.h This is for an experimental option -mips-os16. The idea is to compile all 2013-04-10 16:58:04 +00:00
MipsRegisterInfo.cpp [mips] Rename DSPRegs. 2013-08-14 00:53:38 +00:00
MipsRegisterInfo.h Checkin in of first of several patches to finish implementation of 2013-05-10 22:25:39 +00:00
MipsRegisterInfo.td [Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi) 2013-08-15 12:24:57 +00:00
MipsRelocations.h
MipsSchedule.td [mips] Define instruction itineraries IIArith and IILogic. 2013-07-31 00:55:34 +00:00
MipsSEFrameLowering.cpp [mips] Rename accumulator register classes and FP register operands. 2013-08-08 21:54:26 +00:00
MipsSEFrameLowering.h [mips] Add parameter Alignment to MipsFrameLowering's constructor. 2013-03-29 01:51:04 +00:00
MipsSEInstrInfo.cpp [mips] Rename HIRegs and LORegs. 2013-08-14 00:47:08 +00:00
MipsSEInstrInfo.h [mips] Use function TargetInstrInfo::getRegClass. 2013-06-11 18:48:16 +00:00
MipsSEISelDAGToDAG.cpp [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MipsSEISelDAGToDAG.h [Mips] Support for unaligned load/store microMips instructions 2013-08-13 20:19:16 +00:00
MipsSEISelLowering.cpp [Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi) 2013-08-15 12:24:57 +00:00
MipsSEISelLowering.h [Mips][msa] Added the simple builtins (add_a to dpsub[su], ilvev to ldi) 2013-08-15 12:24:57 +00:00
MipsSelectionDAGInfo.cpp
MipsSelectionDAGInfo.h
MipsSERegisterInfo.cpp [mips] Rename register classes CPURegs and CPU64Regs. 2013-08-06 23:08:38 +00:00
MipsSERegisterInfo.h Don't cache the instruction and register info from the TargetMachine, because 2013-06-07 07:04:14 +00:00
MipsSubtarget.cpp Fix a subtle difference between running clang vs llc for mips16. 2013-08-16 23:05:18 +00:00
MipsSubtarget.h [Mips][msa] Added initial MSA support. 2013-08-13 20:54:07 +00:00
MipsTargetMachine.cpp [mips] Implement MipsTargetMachine::getInstrItineraryData(). 2013-07-12 23:33:22 +00:00
MipsTargetMachine.h [mips] Implement MipsTargetMachine::getInstrItineraryData(). 2013-07-12 23:33:22 +00:00
MipsTargetObjectFile.cpp This is a resubmittal. For some reason it broke the bots yesterday 2013-01-18 21:20:38 +00:00
MipsTargetObjectFile.h This is a resubmittal. For some reason it broke the bots yesterday 2013-01-18 21:20:38 +00:00