Name Date Size #Lines LOC

..--

AsmParser/H29-Jan-2025-604486

Disassembler/H29-Jan-2025-393333

MCTargetDesc/H29-Jan-2025-1,013670

TargetInfo/H18-Feb-2022-5426

CMakeLists.txtH A D08-Jul-20241.2 KiB5042

MSP430.hH A D08-Jul-20241.4 KiB5127

MSP430.tdH A D25-Jun-20213.4 KiB9269

MSP430AsmPrinter.cppH A D29-Jan-20256.6 KiB194142

MSP430BranchSelector.cppH A D25-Jun-20218.6 KiB258147

MSP430CallingConv.tdH A D25-Jun-20211.5 KiB3730

MSP430FrameLowering.cppH A D29-Jan-202515.5 KiB438314

MSP430FrameLowering.hH A D29-Jan-20252.7 KiB7242

MSP430ISelDAGToDAG.cppH A D29-Jan-202514.6 KiB469352

MSP430ISelLowering.cppH A D29-Jan-202560.9 KiB1,6151,188

MSP430ISelLowering.hH A D29-Jan-20257.9 KiB190109

MSP430InstrFormats.tdH A D25-Jun-202112.3 KiB441369

MSP430InstrInfo.cppH A D29-Jan-20259.8 KiB309227

MSP430InstrInfo.hH A D29-Jan-20253.1 KiB8149

MSP430InstrInfo.tdH A D29-Jan-202542 KiB1,043924

MSP430MCInstLower.cppH A D18-Feb-20225 KiB158120

MSP430MCInstLower.hH A D25-Jun-20211.4 KiB4627

MSP430MachineFunctionInfo.cppH A D15-Nov-2022741 219

MSP430MachineFunctionInfo.hH A D08-Jul-20242.4 KiB6729

MSP430RegisterInfo.cppH A D29-Jan-20255.2 KiB165116

MSP430RegisterInfo.hH A D08-Jul-20241.5 KiB4621

MSP430RegisterInfo.tdH A D08-Jul-20243.8 KiB8878

MSP430Subtarget.cppH A D29-Jan-20252.1 KiB6339

MSP430Subtarget.hH A D08-Jul-20242.6 KiB8151

MSP430TargetMachine.cppH A D29-Jan-20253.6 KiB10170

MSP430TargetMachine.hH A D29-Jan-20251.7 KiB5530

README.txtH A D25-Jun-20211.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