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

..--

AsmParser/22-Nov-2023-1,3311,072

Disassembler/22-Nov-2023-697564

InstPrinter/22-Nov-2023-282217

MCTargetDesc/22-Nov-2023-1,5231,083

TargetInfo/22-Nov-2023-5540

CMakeLists.txtD22-Nov-20231.1 KiB3531

DelaySlotFiller.cppD22-Nov-202314.9 KiB515348

LLVMBuild.txtD22-Nov-20231 KiB3733

LeonFeatures.tdD22-Nov-20234.2 KiB9275

LeonPasses.cppD22-Nov-202333.5 KiB934600

LeonPasses.hD22-Nov-20235.8 KiB200144

README.txtD22-Nov-20231.5 KiB5947

Sparc.hD22-Nov-20235.3 KiB168138

Sparc.tdD22-Nov-20235.7 KiB161134

SparcAsmPrinter.cppD22-Nov-202316.3 KiB452367

SparcCallingConv.tdD22-Nov-20235.6 KiB145130

SparcFrameLowering.cppD22-Nov-202313.2 KiB370239

SparcFrameLowering.hD22-Nov-20232.4 KiB6932

SparcISelDAGToDAG.cppD22-Nov-202314.6 KiB413288

SparcISelLowering.cppD22-Nov-2023138.6 KiB3,5772,646

SparcISelLowering.hD22-Nov-20239.9 KiB224159

SparcInstr64Bit.tdD22-Nov-202321.6 KiB542451

SparcInstrAliases.tdD22-Nov-202320.6 KiB507399

SparcInstrFormats.tdD22-Nov-202310.3 KiB370303

SparcInstrInfo.cppD22-Nov-202318.6 KiB507398

SparcInstrInfo.hD22-Nov-20234 KiB10755

SparcInstrInfo.tdD22-Nov-202367.9 KiB1,6931,465

SparcInstrVIS.tdD22-Nov-202311.1 KiB264220

SparcMCInstLower.cppD22-Nov-20233.3 KiB10975

SparcMachineFunctionInfo.cppD22-Nov-2023448 153

SparcMachineFunctionInfo.hD22-Nov-20231.9 KiB5729

SparcRegisterInfo.cppD22-Nov-20238.1 KiB238153

SparcRegisterInfo.hD22-Nov-20231.7 KiB5123

SparcRegisterInfo.tdD22-Nov-202313.7 KiB379342

SparcSchedule.tdD22-Nov-20236.4 KiB125118

SparcSubtarget.cppD22-Nov-20233.2 KiB10559

SparcSubtarget.hD22-Nov-20234.4 KiB13594

SparcTargetMachine.cppD22-Nov-20237.8 KiB213157

SparcTargetMachine.hD22-Nov-20232.7 KiB8050

SparcTargetObjectFile.cppD22-Nov-20231.6 KiB4425

SparcTargetObjectFile.hD22-Nov-20231,014 3619

SparcTargetStreamer.hD22-Nov-20231.5 KiB5028

README.txt

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