Tue Jun 15 02:47:14 PDT 2010  David Terei <[email protected]>
  * Add new LLVM code generator to GHC. (Version 2)
  
  This was done as part of an honours thesis at UNSW, the paper describing the
  work and results can be found at:
  
  http://www.cse.unsw.edu.au/~pls/thesis/davidt-thesis.pdf
  
  A Homepage for the backend can be found at:
  
  http://hackage.haskell.org/trac/ghc/wiki/Commentary/Compiler/Backends/LLVM
  
  Quick summary of performance is that for the 'nofib' benchmark suite, runtimes
  are within 5% slower than the NCG and generally better than the C code
  generator.  For some code though, such as the DPH projects benchmark, the LLVM
  code generator outperforms the NCG and C code generator by about a 25%
  reduction in run times.
  

    M ./compiler/cmm/Cmm.hs +1
    M ./compiler/cmm/CmmUtils.hs -1 +1
    M ./compiler/codeGen/CgForeignCall.hs -1 +2
    M ./compiler/codeGen/CgUtils.hs -27 +179
    M ./compiler/ghc.cabal.in -4 +15
    M ./compiler/ghc.mk -1 +11
    A ./compiler/llvmGen/
    A ./compiler/llvmGen/Llvm/
    A ./compiler/llvmGen/Llvm.hs
    A ./compiler/llvmGen/Llvm/AbsSyn.hs
    A ./compiler/llvmGen/Llvm/PpLlvm.hs
    A ./compiler/llvmGen/Llvm/Types.hs
    A ./compiler/llvmGen/LlvmCodeGen/
    A ./compiler/llvmGen/LlvmCodeGen.hs
    A ./compiler/llvmGen/LlvmCodeGen/Base.hs
    A ./compiler/llvmGen/LlvmCodeGen/CodeGen.hs
    A ./compiler/llvmGen/LlvmCodeGen/Data.hs
    A ./compiler/llvmGen/LlvmCodeGen/Ppr.hs
    A ./compiler/llvmGen/LlvmCodeGen/Regs.hs
    M ./compiler/main/CodeOutput.lhs -1 +30
    M ./compiler/main/DriverPhases.hs -1 +16
    M ./compiler/main/DriverPipeline.hs -5 +80
    M ./compiler/main/DynFlags.hs -5 +51
    M ./compiler/main/SysTools.lhs -1 +27
    M ./compiler/nativeGen/Alpha/Regs.hs -1
    M ./compiler/nativeGen/AsmCodeGen.lhs -83 +6
    M ./compiler/nativeGen/PPC/CodeGen.hs -6 +6
    M ./compiler/nativeGen/PPC/Regs.hs -16
    M ./compiler/nativeGen/SPARC/CodeGen/Base.hs -5 +6
    M ./compiler/nativeGen/SPARC/Regs.hs -18
    M ./compiler/nativeGen/X86/CodeGen.hs -6 +6
    M ./compiler/nativeGen/X86/Regs.hs -16
    M ./compiler/typecheck/TcForeign.lhs -24 +27
    M ./driver/mangler/ghc-asm.lprl -2 +4
    M ./mk/config.mk.in +3
    M ./rules/build-perl.mk +1

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100615094714-e1038-c3af89d7e7878afd3ff3b2d2dd638606a7dd7ec4.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to