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

..10-Aug-20184 KiB

CMakeLists.txt10-Aug-2018824

InstPrinter/10-Aug-20184 KiB

LLVMBuild.txt10-Aug-2018964

MCTargetDesc/10-Aug-20184 KiB

MSP430.h10-Aug-20181.2 KiB

MSP430.td10-Aug-20182.3 KiB

MSP430AsmPrinter.cpp10-Aug-20185.4 KiB

MSP430BranchSelector.cpp10-Aug-20186 KiB

MSP430CallingConv.td10-Aug-20181.5 KiB

MSP430FrameLowering.cpp10-Aug-201810.6 KiB

MSP430FrameLowering.h10-Aug-20182.1 KiB

MSP430InstrFormats.td10-Aug-20187.1 KiB

MSP430InstrInfo.cpp10-Aug-201810.5 KiB

MSP430InstrInfo.h10-Aug-20183.2 KiB

MSP430InstrInfo.td10-Aug-201849.8 KiB

MSP430ISelDAGToDAG.cpp10-Aug-201814.6 KiB

MSP430ISelLowering.cpp10-Aug-201849.6 KiB

MSP430ISelLowering.h10-Aug-20187.3 KiB

MSP430MachineFunctionInfo.cpp10-Aug-2018450

MSP430MachineFunctionInfo.h10-Aug-20181.8 KiB

MSP430MCInstLower.cpp10-Aug-20184.9 KiB

MSP430MCInstLower.h10-Aug-20181.4 KiB

MSP430RegisterInfo.cpp10-Aug-20185.2 KiB

MSP430RegisterInfo.h10-Aug-20181.5 KiB

MSP430RegisterInfo.td10-Aug-20182.9 KiB

MSP430Subtarget.cpp10-Aug-20181.2 KiB

MSP430Subtarget.h10-Aug-20182.2 KiB

MSP430TargetMachine.cpp10-Aug-20182.7 KiB

MSP430TargetMachine.h10-Aug-20181.5 KiB

README.txt10-Aug-20181.6 KiB

TargetInfo/10-Aug-20184 KiB

README.txt

1//===---------------------------------------------------------------------===//
2// MSP430 backend.
3//===---------------------------------------------------------------------===//
4
5DISCLAIMER: This 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
42