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

..--

AsmParser/22-Nov-2023-1,2641,004

Disassembler/22-Nov-2023-595470

InstPrinter/22-Nov-2023-283207

MCTargetDesc/22-Nov-2023-1,5521,095

TargetInfo/22-Nov-2023-7144

CMakeLists.txtD22-Nov-20231 KiB3430

DelaySlotFiller.cppD22-Nov-202314.3 KiB498336

LLVMBuild.txtD22-Nov-20231 KiB3733

MakefileD22-Nov-2023798 2510

README.txtD22-Nov-20231.5 KiB6047

Sparc.hD22-Nov-20234.3 KiB135106

Sparc.tdD22-Nov-20234 KiB10789

SparcAsmPrinter.cppD22-Nov-202316.3 KiB450365

SparcCallingConv.tdD22-Nov-20235.6 KiB145130

SparcFrameLowering.cppD22-Nov-202313.2 KiB370239

SparcFrameLowering.hD22-Nov-20232.4 KiB6932

SparcISelDAGToDAG.cppD22-Nov-202314.6 KiB411286

SparcISelLowering.cppD22-Nov-2023132 KiB3,3832,520

SparcISelLowering.hD22-Nov-20238.6 KiB197146

SparcInstr64Bit.tdD22-Nov-202323.3 KiB575479

SparcInstrAliases.tdD22-Nov-202319.1 KiB462359

SparcInstrFormats.tdD22-Nov-20239.1 KiB342274

SparcInstrInfo.cppD22-Nov-202316.2 KiB468358

SparcInstrInfo.hD22-Nov-20233.8 KiB10253

SparcInstrInfo.tdD22-Nov-202357 KiB1,4381,235

SparcInstrVIS.tdD22-Nov-202311.1 KiB264220

SparcMCInstLower.cppD22-Nov-20233.3 KiB11076

SparcMachineFunctionInfo.cppD22-Nov-2023448 153

SparcMachineFunctionInfo.hD22-Nov-20231.9 KiB5729

SparcRegisterInfo.cppD22-Nov-20238.2 KiB242157

SparcRegisterInfo.hD22-Nov-20231.8 KiB5425

SparcRegisterInfo.tdD22-Nov-202311.5 KiB309280

SparcSubtarget.cppD22-Nov-20232.8 KiB8844

SparcSubtarget.hD22-Nov-20233 KiB9560

SparcTargetMachine.cppD22-Nov-20234.5 KiB13388

SparcTargetMachine.hD22-Nov-20232.6 KiB7949

SparcTargetObjectFile.cppD22-Nov-20231.6 KiB4425

SparcTargetObjectFile.hD22-Nov-20231,014 3619

SparcTargetStreamer.hD22-Nov-20231.5 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* Use %g0 directly to materialize 0. No instruction is required.
60