Home | History | Annotate | only in /external/llvm/lib/Target/MSP430
Up to higher level directory
NameDateSize
CMakeLists.txt06-Dec-2013926
InstPrinter/06-Dec-2013
LLVMBuild.txt06-Dec-2013964
Makefile06-Dec-2013702
MCTargetDesc/06-Dec-2013
MSP430.h06-Dec-20131.2K
MSP430.td06-Dec-20132.4K
MSP430AsmPrinter.cpp06-Dec-20135.5K
MSP430BranchSelector.cpp06-Dec-20136K
MSP430CallingConv.td06-Dec-20131.6K
MSP430FrameLowering.cpp06-Dec-201310.4K
MSP430FrameLowering.h06-Dec-20132.1K
MSP430InstrFormats.td06-Dec-20137.1K
MSP430InstrInfo.cpp06-Dec-201310.5K
MSP430InstrInfo.h06-Dec-20133.2K
MSP430InstrInfo.td06-Dec-201349.9K
MSP430ISelDAGToDAG.cpp06-Dec-201315.4K
MSP430ISelLowering.cpp06-Dec-201347.1K
MSP430ISelLowering.h06-Dec-20137.3K
MSP430MachineFunctionInfo.cpp06-Dec-2013450
MSP430MachineFunctionInfo.h06-Dec-20131.8K
MSP430MCInstLower.cpp06-Dec-20134.8K
MSP430MCInstLower.h06-Dec-20131.4K
MSP430RegisterInfo.cpp06-Dec-20135.3K
MSP430RegisterInfo.h06-Dec-20131.6K
MSP430RegisterInfo.td06-Dec-20132.9K
MSP430SelectionDAGInfo.cpp06-Dec-2013757
MSP430SelectionDAGInfo.h06-Dec-2013840
MSP430Subtarget.cpp06-Dec-20131.1K
MSP430Subtarget.h06-Dec-20131.3K
MSP430TargetMachine.cpp06-Dec-20132.4K
MSP430TargetMachine.h06-Dec-20132.2K
README.txt06-Dec-20131.6K
TargetInfo/06-Dec-2013

README.txt

      1 //===---------------------------------------------------------------------===//
      2 // MSP430 backend.
      3 //===---------------------------------------------------------------------===//
      4 
      5 DISCLAIMER: Thid backend should be considered as highly experimental. I never
      6 seen nor worked with this MCU, all information was gathered from datasheet
      7 only. The original intention of making this backend was to write documentation
      8 of form "How to write backend for dummies" :) Thes notes hopefully will be
      9 available pretty soon.
     10 
     11 Some things are incomplete / not implemented yet (this list surely is not
     12 complete as well):
     13 
     14 1. Verify, how stuff is handling implicit zext with 8 bit operands (this might
     15 be modelled currently in improper way - should we need to mark the superreg as
     16 def for every 8 bit instruction?).
     17 
     18 2. Libcalls: multiplication, division, remainder. Note, that calling convention
     19 for libcalls is incomptible with calling convention of libcalls of msp430-gcc
     20 (these cannot be used though due to license restriction).
     21 
     22 3. Implement multiplication / division by constant (dag combiner hook?).
     23 
     24 4. Implement non-constant shifts.
     25 
     26 5. Implement varargs stuff.
     27 
     28 6. Verify and fix (if needed) how's stuff playing with i32 / i64.
     29 
     30 7. Implement floating point stuff (softfp?)
     31 
     32 8. Implement instruction encoding for (possible) direct code emission in the
     33 future.
     34 
     35 9. Since almost all instructions set flags - implement brcond / select in better
     36 way (currently they emit explicit comparison).
     37 
     38 10. Handle imm in comparisons in better way (see comment in MSP430InstrInfo.td)
     39 
     40 11. Implement hooks for better memory op folding, etc.
     41