• Home
Name Date Size #Lines LOC

..--

AsmParser/03-May-2024-984774

Disassembler/03-May-2024-526402

InstPrinter/03-May-2024-279202

MCTargetDesc/03-May-2024-1,5151,067

TargetInfo/03-May-2024-6841

CMakeLists.txtD03-May-20241.2 KiB3834

DelaySlotFiller.cppD03-May-202414.1 KiB498337

LLVMBuild.txtD03-May-20241 KiB3733

MakefileD03-May-2024822 2510

README.txtD03-May-20241.5 KiB6248

Sparc.hD03-May-20244.4 KiB137108

Sparc.tdD03-May-20243.9 KiB10083

SparcAsmPrinter.cppD03-May-202416.9 KiB466378

SparcCallingConv.tdD03-May-20245.4 KiB140126

SparcCodeEmitter.cppD03-May-20249.6 KiB281211

SparcFrameLowering.cppD03-May-20248.7 KiB263184

SparcFrameLowering.hD03-May-20241.9 KiB6129

SparcISelDAGToDAG.cppD03-May-20247.6 KiB222159

SparcISelLowering.cppD03-May-2024126 KiB3,2172,410

SparcISelLowering.hD03-May-20248 KiB179134

SparcInstr64Bit.tdD03-May-202423.2 KiB574478

SparcInstrAliases.tdD03-May-202413 KiB326257

SparcInstrFormats.tdD03-May-20248.8 KiB331264

SparcInstrInfo.cppD03-May-202415.2 KiB447337

SparcInstrInfo.hD03-May-20243.8 KiB10153

SparcInstrInfo.tdD03-May-202449 KiB1,2281,054

SparcInstrVIS.tdD03-May-202411.1 KiB264220

SparcJITInfo.cppD03-May-202411.4 KiB327214

SparcJITInfo.hD03-May-20242.1 KiB6825

SparcMCInstLower.cppD03-May-20243.3 KiB11076

SparcMachineFunctionInfo.cppD03-May-2024448 153

SparcMachineFunctionInfo.hD03-May-20241.8 KiB5729

SparcRegisterInfo.cppD03-May-20247.1 KiB212145

SparcRegisterInfo.hD03-May-20241.8 KiB5928

SparcRegisterInfo.tdD03-May-20248.1 KiB212190

SparcRelocations.hD03-May-20241.4 KiB5720

SparcSelectionDAGInfo.cppD03-May-2024746 258

SparcSelectionDAGInfo.hD03-May-2024824 3212

SparcSubtarget.cppD03-May-20243.3 KiB11056

SparcSubtarget.hD03-May-20243.1 KiB9358

SparcTargetMachine.cppD03-May-20243.7 KiB10268

SparcTargetMachine.hD03-May-20242.8 KiB8456

SparcTargetObjectFile.cppD03-May-20241.6 KiB4425

SparcTargetObjectFile.hD03-May-2024996 3619

SparcTargetStreamer.hD03-May-20241.4 KiB5028

README.txt

1
2To-do
3-----
4
5* Keep the address of the constant pool in a register instead of forming its
6  address all of the time.
7* We can fold small constant offsets into the %hi/%lo references to constant
8  pool addresses as well.
9* When in V9 mode, register allocate %icc[0-3].
10* Add support for isel'ing UMUL_LOHI instead of marking it as Expand.
11* Emit the 'Branch on Integer Register with Prediction' instructions.  It's
12  not clear how to write a pattern for this though:
13
14float %t1(int %a, int* %p) {
15        %C = seteq int %a, 0
16        br bool %C, label %T, label %F
17T:
18        store int 123, int* %p
19        br label %F
20F:
21        ret float undef
22}
23
24codegens to this:
25
26t1:
27        save -96, %o6, %o6
281)      subcc %i0, 0, %l0
291)      bne .LBBt1_2    ! F
30        nop
31.LBBt1_1:       ! T
32        or %g0, 123, %l0
33        st %l0, [%i1]
34.LBBt1_2:       ! F
35        restore %g0, %g0, %g0
36        retl
37        nop
38
391) should be replaced with a brz in V9 mode.
40
41* Same as above, but emit conditional move on register zero (p192) in V9
42  mode.  Testcase:
43
44int %t1(int %a, int %b) {
45        %C = seteq int %a, 0
46        %D = select bool %C, int %a, int %b
47        ret int %D
48}
49
50* Emit MULX/[SU]DIVX instructions in V9 mode instead of fiddling
51  with the Y register, if they are faster.
52
53* Codegen bswap(load)/store(bswap) -> load/store ASI
54
55* Implement frame pointer elimination, e.g. eliminate save/restore for
56  leaf fns.
57* Fill delay slots
58
59* Implement JIT support
60
61* Use %g0 directly to materialize 0. No instruction is required.
62