• Home
Name Date Size #Lines LOC

..--

InstPrinter/03-May-2024-208133

MCTargetDesc/03-May-2024-244131

TargetInfo/03-May-2024-6940

CMakeLists.txtD03-May-2024905 3126

LLVMBuild.txtD03-May-2024964 3329

MSP430.hD03-May-20241.2 KiB4824

MSP430.tdD03-May-20242.4 KiB6750

MSP430AsmPrinter.cppD03-May-20245.5 KiB168120

MSP430BranchSelector.cppD03-May-20246 KiB181101

MSP430CallingConv.tdD03-May-20241.5 KiB3832

MSP430FrameLowering.cppD03-May-20247.6 KiB224145

MSP430FrameLowering.hD03-May-20241.7 KiB5429

MSP430ISelDAGToDAG.cppD03-May-202415.4 KiB493373

MSP430ISelLowering.cppD03-May-202444.7 KiB1,195869

MSP430ISelLowering.hD03-May-20247.1 KiB17799

MSP430InstrFormats.tdD03-May-20247.1 KiB212164

MSP430InstrInfo.cppD03-May-202410.5 KiB327245

MSP430InstrInfo.hD03-May-20243.2 KiB9254

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

MSP430MCInstLower.cppD03-May-20244.8 KiB154115

MSP430MCInstLower.hD03-May-20241.4 KiB4828

MSP430MachineFunctionInfo.cppD03-May-2024450 153

MSP430MachineFunctionInfo.hD03-May-20241.5 KiB4919

MSP430RegisterInfo.cppD03-May-20248.2 KiB242169

MSP430RegisterInfo.hD03-May-20241.9 KiB6129

MSP430RegisterInfo.tdD03-May-20242.9 KiB8272

MSP430SelectionDAGInfo.cppD03-May-2024757 248

MSP430SelectionDAGInfo.hD03-May-2024840 3212

MSP430Subtarget.cppD03-May-20241.1 KiB3515

MSP430Subtarget.hD03-May-20241.3 KiB4318

MSP430TargetMachine.cppD03-May-20242.4 KiB7245

MSP430TargetMachine.hD03-May-20242.2 KiB7143

MakefileD03-May-2024702 249

README.txtD03-May-20241.6 KiB4127

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