• Home
Name Date Size #Lines LOC

..--

AsmParser/06-Sep-2024-1,6041,288

Disassembler/06-Sep-2024-364290

MCTargetDesc/06-Sep-2024-1,9901,467

TargetInfo/06-Sep-2024-6840

CMakeLists.txtD06-Sep-20241.2 KiB5244

DelaySlotFiller.cppD06-Sep-202414.9 KiB515348

LeonFeatures.tdD06-Sep-20242.1 KiB6453

LeonPasses.cppD06-Sep-20245.5 KiB15378

LeonPasses.hD06-Sep-20242.4 KiB8352

README.txtD06-Sep-20241.5 KiB5947

Sparc.hD06-Sep-20246.1 KiB191161

Sparc.tdD06-Sep-20247.3 KiB184154

SparcAsmPrinter.cppD06-Sep-202416.4 KiB449365

SparcCallingConv.tdD06-Sep-20245.9 KiB148133

SparcFrameLowering.cppD06-Sep-202413.8 KiB390260

SparcFrameLowering.hD06-Sep-20242.5 KiB6933

SparcISelDAGToDAG.cppD06-Sep-202414.3 KiB407279

SparcISelLowering.cppD06-Sep-2024140.8 KiB3,6372,705

SparcISelLowering.hD06-Sep-202410 KiB229160

SparcInstr64Bit.tdD06-Sep-202422.2 KiB540451

SparcInstrAliases.tdD06-Sep-202423.4 KiB580457

SparcInstrFormats.tdD06-Sep-202410.4 KiB371304

SparcInstrInfo.cppD06-Sep-202420.3 KiB549432

SparcInstrInfo.hD06-Sep-20244.2 KiB10958

SparcInstrInfo.tdD06-Sep-202475.6 KiB1,8921,631

SparcInstrVIS.tdD06-Sep-202411.1 KiB263219

SparcMCInstLower.cppD06-Sep-20243.3 KiB10774

SparcMachineFunctionInfo.cppD06-Sep-2024737 219

SparcMachineFunctionInfo.hD06-Sep-20242.1 KiB6133

SparcRegisterInfo.cppD06-Sep-20248.3 KiB242156

SparcRegisterInfo.hD06-Sep-20241.7 KiB5023

SparcRegisterInfo.tdD06-Sep-202414.1 KiB384348

SparcSchedule.tdD06-Sep-20246.4 KiB124117

SparcSubtarget.cppD06-Sep-20243.2 KiB10358

SparcSubtarget.hD06-Sep-20244.1 KiB12686

SparcTargetMachine.cppD06-Sep-20248.3 KiB229160

SparcTargetMachine.hD06-Sep-20243.1 KiB9158

SparcTargetObjectFile.cppD06-Sep-20241.9 KiB4829

SparcTargetObjectFile.hD06-Sep-20241.1 KiB3518

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