• Home
Name Date Size #Lines LOC

..--

InstPrinter/03-May-2024-189128

MCTargetDesc/03-May-2024-206108

TargetInfo/03-May-2024-4934

CMakeLists.txtD03-May-2024824 2824

LLVMBuild.txtD03-May-2024964 3329

MSP430.hD03-May-20241.2 KiB4824

MSP430.tdD03-May-20242.3 KiB6145

MSP430AsmPrinter.cppD03-May-20245.4 KiB162113

MSP430BranchSelector.cppD03-May-20246 KiB184103

MSP430CallingConv.tdD03-May-20241.5 KiB3831

MSP430FrameLowering.cppD03-May-202410.6 KiB302201

MSP430FrameLowering.hD03-May-20242.1 KiB5530

MSP430ISelDAGToDAG.cppD03-May-202414.6 KiB470352

MSP430ISelLowering.cppD03-May-202449.6 KiB1,344982

MSP430ISelLowering.hD03-May-20247.3 KiB17599

MSP430InstrFormats.tdD03-May-20247.1 KiB212164

MSP430InstrInfo.cppD03-May-202410.5 KiB331247

MSP430InstrInfo.hD03-May-20243.2 KiB9154

MSP430InstrInfo.tdD03-May-202449.8 KiB1,2121,080

MSP430MCInstLower.cppD03-May-20244.9 KiB158119

MSP430MCInstLower.hD03-May-20241.4 KiB4828

MSP430MachineFunctionInfo.cppD03-May-2024450 153

MSP430MachineFunctionInfo.hD03-May-20241.8 KiB5522

MSP430RegisterInfo.cppD03-May-20245.2 KiB162114

MSP430RegisterInfo.hD03-May-20241.5 KiB4721

MSP430RegisterInfo.tdD03-May-20242.9 KiB8272

MSP430Subtarget.cppD03-May-20241.2 KiB3818

MSP430Subtarget.hD03-May-20242.2 KiB7042

MSP430TargetMachine.cppD03-May-20242.7 KiB8152

MSP430TargetMachine.hD03-May-20241.5 KiB5025

README.txtD03-May-20241.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