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

..--

AsmParser/23-Nov-2023-612494

Disassembler/23-Nov-2023-392332

MCTargetDesc/23-Nov-2023-980650

TargetInfo/23-Nov-2023-5325

CMakeLists.txtD23-Nov-20231.2 KiB4941

MSP430.hD23-Nov-20231.3 KiB4825

MSP430.tdD23-Nov-20233.4 KiB9269

MSP430AsmPrinter.cppD23-Nov-20236.7 KiB191140

MSP430BranchSelector.cppD23-Nov-20238.6 KiB258147

MSP430CallingConv.tdD23-Nov-20231.5 KiB3730

MSP430FrameLowering.cppD23-Nov-202310.2 KiB294195

MSP430FrameLowering.hD23-Nov-20232.1 KiB5632

MSP430ISelDAGToDAG.cppD23-Nov-202314.5 KiB461344

MSP430ISelLowering.cppD23-Nov-202361.2 KiB1,6211,194

MSP430ISelLowering.hD23-Nov-20237.9 KiB191110

MSP430InstrFormats.tdD23-Nov-202312.3 KiB441369

MSP430InstrInfo.cppD23-Nov-202310.1 KiB309227

MSP430InstrInfo.hD23-Nov-20233.1 KiB8149

MSP430InstrInfo.tdD23-Nov-202343.9 KiB1,042923

MSP430MCInstLower.cppD23-Nov-20235 KiB160121

MSP430MCInstLower.hD23-Nov-20231.4 KiB4627

MSP430MachineFunctionInfo.cppD23-Nov-2023478 143

MSP430MachineFunctionInfo.hD23-Nov-20232.2 KiB6225

MSP430RegisterInfo.cppD23-Nov-20235.2 KiB161114

MSP430RegisterInfo.hD23-Nov-20231.5 KiB4621

MSP430RegisterInfo.tdD23-Nov-20233.2 KiB8878

MSP430Subtarget.cppD23-Nov-20232.1 KiB6238

MSP430Subtarget.hD23-Nov-20232.6 KiB8051

MSP430TargetMachine.cppD23-Nov-20233 KiB8658

MSP430TargetMachine.hD23-Nov-20231.5 KiB4925

README.txtD23-Nov-20231.6 KiB4227

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