• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

InstPrinter/22-Nov-2023-206132

MCTargetDesc/22-Nov-2023-238125

TargetInfo/22-Nov-2023-6538

CMakeLists.txtD22-Nov-2023853 2925

LLVMBuild.txtD22-Nov-2023964 3329

MSP430.hD22-Nov-20231.2 KiB4824

MSP430.tdD22-Nov-20232.3 KiB6145

MSP430AsmPrinter.cppD22-Nov-20235.4 KiB162113

MSP430BranchSelector.cppD22-Nov-20236 KiB183102

MSP430CallingConv.tdD22-Nov-20231.5 KiB3831

MSP430FrameLowering.cppD22-Nov-202310.5 KiB299198

MSP430FrameLowering.hD22-Nov-20232.1 KiB5530

MSP430ISelDAGToDAG.cppD22-Nov-202315.4 KiB489369

MSP430ISelLowering.cppD22-Nov-202350.7 KiB1,3681,003

MSP430ISelLowering.hD22-Nov-20237.4 KiB177101

MSP430InstrFormats.tdD22-Nov-20237.1 KiB212164

MSP430InstrInfo.cppD22-Nov-202310.5 KiB330246

MSP430InstrInfo.hD22-Nov-20233.2 KiB9456

MSP430InstrInfo.tdD22-Nov-202349.8 KiB1,2121,080

MSP430MCInstLower.cppD22-Nov-20235 KiB158119

MSP430MCInstLower.hD22-Nov-20231.4 KiB4828

MSP430MachineFunctionInfo.cppD22-Nov-2023450 153

MSP430MachineFunctionInfo.hD22-Nov-20231.8 KiB5522

MSP430RegisterInfo.cppD22-Nov-20235.2 KiB163114

MSP430RegisterInfo.hD22-Nov-20231.5 KiB4721

MSP430RegisterInfo.tdD22-Nov-20232.9 KiB8272

MSP430SelectionDAGInfo.cppD22-Nov-2023751 247

MSP430SelectionDAGInfo.hD22-Nov-2023877 3212

MSP430Subtarget.cppD22-Nov-20231.3 KiB3919

MSP430Subtarget.hD22-Nov-20232.2 KiB7042

MSP430TargetMachine.cppD22-Nov-20232.4 KiB7345

MSP430TargetMachine.hD22-Nov-20231.5 KiB5025

MakefileD22-Nov-2023702 249

README.txtD22-Nov-20231.6 KiB4227

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
42