• Home
  • History
  • Annotate
  • only in /external/llvm/lib/Target/MSP430/
NameDateSize

..12-Mar-20154 KiB

CMakeLists.txt12-Mar-2015853

InstPrinter/12-Mar-20154 KiB

LLVMBuild.txt12-Mar-2015964

Makefile12-Mar-2015702

MCTargetDesc/12-Mar-20154 KiB

MSP430.h12-Mar-20151.2 KiB

MSP430.td12-Mar-20152.3 KiB

MSP430AsmPrinter.cpp12-Mar-20155.3 KiB

MSP430BranchSelector.cpp12-Mar-20156 KiB

MSP430CallingConv.td12-Mar-20151.5 KiB

MSP430FrameLowering.cpp12-Mar-201510.5 KiB

MSP430FrameLowering.h12-Mar-20152 KiB

MSP430InstrFormats.td12-Mar-20157.1 KiB

MSP430InstrInfo.cpp12-Mar-201510.5 KiB

MSP430InstrInfo.h12-Mar-20153.2 KiB

MSP430InstrInfo.td12-Mar-201549.9 KiB

MSP430ISelDAGToDAG.cpp12-Mar-201515.5 KiB

MSP430ISelLowering.cpp12-Mar-201550.8 KiB

MSP430ISelLowering.h12-Mar-20157.2 KiB

MSP430MachineFunctionInfo.cpp12-Mar-2015450

MSP430MachineFunctionInfo.h12-Mar-20151.8 KiB

MSP430MCInstLower.cpp12-Mar-20155 KiB

MSP430MCInstLower.h12-Mar-20151.4 KiB

MSP430RegisterInfo.cpp12-Mar-20155.3 KiB

MSP430RegisterInfo.h12-Mar-20151.5 KiB

MSP430RegisterInfo.td12-Mar-20152.9 KiB

MSP430SelectionDAGInfo.cpp12-Mar-2015751

MSP430SelectionDAGInfo.h12-Mar-2015831

MSP430Subtarget.cpp12-Mar-20151.3 KiB

MSP430Subtarget.h12-Mar-20152.3 KiB

MSP430TargetMachine.cpp12-Mar-20152.1 KiB

MSP430TargetMachine.h12-Mar-20152 KiB

README.txt12-Mar-20151.6 KiB

TargetInfo/12-Mar-20154 KiB

README.txt

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