Home | History | Annotate | only in /external/llvm/lib/Target/Sparc
Up to higher level directory
NameDateSize
AsmParser/05-Oct-2017
CMakeLists.txt05-Oct-20171.1K
DelaySlotFiller.cpp05-Oct-201714.9K
Disassembler/05-Oct-2017
InstPrinter/05-Oct-2017
LeonFeatures.td05-Oct-20174.2K
LeonPasses.cpp05-Oct-201733.5K
LeonPasses.h05-Oct-20175.8K
LLVMBuild.txt05-Oct-20171K
MCTargetDesc/05-Oct-2017
README.txt05-Oct-20171.5K
Sparc.h05-Oct-20175.3K
Sparc.td05-Oct-20175.7K
SparcAsmPrinter.cpp05-Oct-201716.3K
SparcCallingConv.td05-Oct-20175.6K
SparcFrameLowering.cpp05-Oct-201713.2K
SparcFrameLowering.h05-Oct-20172.4K
SparcInstr64Bit.td05-Oct-201721.6K
SparcInstrAliases.td05-Oct-201720.6K
SparcInstrFormats.td05-Oct-201710.3K
SparcInstrInfo.cpp05-Oct-201718.6K
SparcInstrInfo.h05-Oct-20174K
SparcInstrInfo.td05-Oct-201767.9K
SparcInstrVIS.td05-Oct-201711.1K
SparcISelDAGToDAG.cpp05-Oct-201714.6K
SparcISelLowering.cpp05-Oct-2017138.6K
SparcISelLowering.h05-Oct-20179.9K
SparcMachineFunctionInfo.cpp05-Oct-2017448
SparcMachineFunctionInfo.h05-Oct-20171.9K
SparcMCInstLower.cpp05-Oct-20173.3K
SparcRegisterInfo.cpp05-Oct-20178.1K
SparcRegisterInfo.h05-Oct-20171.7K
SparcRegisterInfo.td05-Oct-201713.7K
SparcSchedule.td05-Oct-20176.4K
SparcSubtarget.cpp05-Oct-20173.2K
SparcSubtarget.h05-Oct-20174.4K
SparcTargetMachine.cpp05-Oct-20177.8K
SparcTargetMachine.h05-Oct-20172.7K
SparcTargetObjectFile.cpp05-Oct-20171.6K
SparcTargetObjectFile.h05-Oct-20171,014
SparcTargetStreamer.h05-Oct-20171.5K
TargetInfo/05-Oct-2017

README.txt

      1 To-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 
     13 float %t1(int %a, int* %p) {
     14         %C = seteq int %a, 0
     15         br bool %C, label %T, label %F
     16 T:
     17         store int 123, int* %p
     18         br label %F
     19 F:
     20         ret float undef
     21 }
     22 
     23 codegens to this:
     24 
     25 t1:
     26         save -96, %o6, %o6
     27 1)      subcc %i0, 0, %l0
     28 1)      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 
     38 1) 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 
     43 int %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