llvm-6502/lib/Target/Mips
Bruno Cardoso Lopes ad6eef4a65 This patch handles unaligned loads and stores in Mips JIT. Mips backend
implements unaligned loads and stores with assembler macro-instructions
ulw, usw, ulh, ulhu, ush, and this patch emits corresponding instructions
instead of these macros. Since each unaligned load/store is expanded
into two corresponding loads/stores where offset for second load/store is
modified by +3 (for words) or +1 (for halfwords).

Patch by Petar Jovanovic and Sasa Stankovic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144081 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-08 12:47:11 +00:00
..
InstPrinter Replace (Lower|Upper)caseString in favor of StringRef's newest methods. 2011-11-06 20:37:06 +00:00
MCTargetDesc build: Add initial cut at LLVMBuild.txt files. 2011-11-03 18:53:17 +00:00
TargetInfo build: Add initial cut at LLVMBuild.txt files. 2011-11-03 18:53:17 +00:00
CMakeLists.txt build/cmake: Use tblgen macro directly instead of llvm_tablegen, which just 2011-11-04 19:04:23 +00:00
LLVMBuild.txt build: Add initial cut at LLVMBuild.txt files. 2011-11-03 18:53:17 +00:00
Makefile Final patch that completes old JIT support for Mips: 2011-10-18 17:50:36 +00:00
Mips64InstrInfo.td Add definition of 64-bit load upper immediate. 2011-11-07 19:10:49 +00:00
Mips.h Added the infrastructute necessary for MIPS JIT support. Patch by Vladimir 2011-07-21 16:28:51 +00:00
Mips.td Initial Mips64 support. Patch by Liu with some modifications. 2011-09-20 20:28:08 +00:00
MipsAsmPrinter.cpp Replace (Lower|Upper)caseString in favor of StringRef's newest methods. 2011-11-06 20:37:06 +00:00
MipsAsmPrinter.h Lower MachineInstr to MC Inst and print to .s files. 2011-07-07 23:56:50 +00:00
MipsCallingConv.td Implement N32/64 calling convention. Patch by Liu. 2011-09-23 19:08:15 +00:00
MipsCodeEmitter.cpp This patch handles unaligned loads and stores in Mips JIT. Mips backend 2011-11-08 12:47:11 +00:00
MipsCondMov.td Final patch that completes old JIT support for Mips: 2011-10-18 17:50:36 +00:00
MipsDelaySlotFiller.cpp Fix assertion string. 2011-10-05 18:17:49 +00:00
MipsEmitGPRestore.cpp Reverse order of operands of address operand mem so that the base operand comes 2011-07-07 18:57:00 +00:00
MipsExpandPseudo.cpp - Rename TargetInstrDesc, TargetOperandInfo to MCInstrDesc and MCOperandInfo and 2011-06-28 19:10:37 +00:00
MipsFrameLowering.cpp Include RegSaveAreaSize in the computation of stack size. 2011-11-07 19:07:35 +00:00
MipsFrameLowering.h Mips64 aligns stack on 16-byte boundary. 2011-09-22 02:53:37 +00:00
MipsInstrFormats.td Final patch that completes old JIT support for Mips: 2011-10-18 17:50:36 +00:00
MipsInstrFPU.td Various Mips64 floating point instruction patterns. 2011-11-07 21:38:58 +00:00
MipsInstrInfo.cpp Add code needed for copying between 64-bit integer and floating pointer 2011-11-07 21:35:45 +00:00
MipsInstrInfo.h Simplify and update functions storeRegToStackSlot and loadRegFromStackSlot. 2011-10-11 00:37:28 +00:00
MipsInstrInfo.td Add definition of 64-bit load upper immediate. 2011-11-07 19:10:49 +00:00
MipsISelDAGToDAG.cpp Modify MipsDAGToDAGISel::SelectAddr so that it can handle 64-bit pointers too. 2011-10-11 00:44:20 +00:00
MipsISelLowering.cpp Make changes necessary in LowerFormalArguments to support Mips64. 2011-10-28 19:55:48 +00:00
MipsISelLowering.h Make the type of shift amount i32 in order to reduce the number of shift 2011-11-07 18:59:49 +00:00
MipsJITInfo.cpp This patch handles unaligned loads and stores in Mips JIT. Mips backend 2011-11-08 12:47:11 +00:00
MipsJITInfo.h Added the infrastructute necessary for MIPS JIT support. Patch by Vladimir 2011-07-21 16:28:51 +00:00
MipsMachineFunction.h Define functions that get or set the size of area on callee's stack frame which 2011-11-07 19:06:10 +00:00
MipsMCInstLower.cpp Add enums and functions for symbols Mips64 uses. 2011-09-22 03:09:07 +00:00
MipsMCInstLower.h Drop support for Mips1 and Mips2. 2011-09-09 20:45:50 +00:00
MipsMCSymbolRefExpr.cpp Print parentheses in next line. 2011-09-22 18:29:29 +00:00
MipsMCSymbolRefExpr.h Add enums and functions for symbols Mips64 uses. 2011-09-22 03:09:07 +00:00
MipsRegisterInfo.cpp Use array_lengthof to compute the number of iterations of a loop. 2011-11-07 19:03:40 +00:00
MipsRegisterInfo.h Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down 2011-07-18 20:57:22 +00:00
MipsRegisterInfo.td Add definitions of 64-bit register files. Add code for returning Mips64's sets of 2011-09-23 18:11:56 +00:00
MipsRelocations.h Revert r141932, r141936 and r141937. 2011-10-14 17:16:39 +00:00
MipsSchedule.td Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00
MipsSelectionDAGInfo.cpp Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00
MipsSelectionDAGInfo.h Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00
MipsSubtarget.cpp Undo a change made in r140254. 2011-09-21 17:31:45 +00:00
MipsSubtarget.h Set ABI if it hasn't been set on the command line. 2011-09-21 02:45:29 +00:00
MipsTargetMachine.cpp Revert change made in r142205. 2011-10-17 18:33:24 +00:00
MipsTargetMachine.h Fix typo. 2011-09-22 17:26:58 +00:00
MipsTargetObjectFile.cpp land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
MipsTargetObjectFile.h Reverse unnecessary changes made in r129606 and r129608. There is no change in functionality. 2011-04-15 21:51:11 +00:00