cvs commit: fptools/ghc/compiler NOTES fptools/ghc/compiler/cmm CmmLex.x CmmParse.y CLabel.hs Cmm.hs MachOp.hs PprC.hs fptools/ghc/compiler/codeGen CgTicky.hs CgCallConv.hs CgCase.lhs CgClosure.lhs CgCon.lhs CgExpr.lhs CgForeignCall.hs CgHeapery.lhs ...

Donald Bruce Stewart dons at cse.unsw.edu.au
Mon Jul 26 21:06:28 EDT 2004


Whoohoo!

simonmar:
> simonmar    2004/07/26 06:23:48 PDT
> 
>   Modified files:        (Branch: backend-hacking-branch)
>     ghc/compiler         NOTES 
>     ghc/compiler/cmm     CLabel.hs Cmm.hs MachOp.hs PprC.hs 
>     ghc/compiler/codeGen CgCallConv.hs CgCase.lhs CgClosure.lhs 
>                          CgCon.lhs CgExpr.lhs CgForeignCall.hs 
>                          CgHeapery.lhs CgInfoTbls.hs 
>                          CgLetNoEscape.lhs CgMonad.lhs 
>                          CgParallel.hs CgPrimOp.hs CgProf.hs 
>                          CgStackery.lhs CgTailCall.lhs CgUtils.hs 
>                          CodeGen.lhs SMRep.lhs 
>     ghc/compiler/ghci    ByteCodeGen.lhs ByteCodeItbls.lhs 
>     ghc/compiler/main    CodeOutput.lhs Constants.lhs 
>                          DriverPhases.hs DriverPipeline.hs 
>                          HscMain.lhs 
>     ghc/compiler/nativeGen AsmCodeGen.lhs MachRegs.lhs 
>     ghc/compiler/parser  Ctype.lhs Lexer.x 
>     ghc/compiler/utils   OrdList.lhs StringBuffer.lhs Util.lhs 
>     ghc/includes         Block.h ClosureMacros.h Closures.h 
>                          Constants.h InfoTables.h Makefile Regs.h 
>                          Rts.h RtsAPI.h RtsFlags.h Stable.h Stg.h 
>                          StgFun.h StgLdvProf.h StgMacros.h 
>                          StgMiscClosures.h StgProf.h TSO.h 
>                          Updates.h mkDerivedConstants.c 
>     ghc/rts              Apply.h Exception.h FrontPanel.c GC.c 
>                          GCCompact.c Interpreter.c Linker.c 
>                          MBlock.h Main.c Makefile Prelude.h 
>                          Printer.c Profiling.c Profiling.h 
>                          RetainerProfile.c RetainerProfile.h 
>                          RtsFlags.c RtsStartup.c RtsUtils.h 
>                          Sanity.c Schedule.c Schedule.h Signals.c 
>                          Stable.c Stats.c StgRun.h Storage.c 
>                          Weak.h 
>     ghc/utils/genapply   GenApply.hs 
>   Added files:           (Branch: backend-hacking-branch)
>     ghc/compiler/cmm     CmmLex.x CmmParse.y 
>     ghc/compiler/codeGen CgTicky.hs 
>     ghc/includes         Cmm.h README RtsExternal.h StgPrimOps.h 
>                          Storage.h 
>     ghc/rts              Apply.cmm AutoApply.h Exception.cmm 
>                          HeapStackCheck.cmm PrimOps.cmm 
>                          StgMiscClosures.cmm StgStartup.cmm 
>                          StgStdThunks.cmm Updates.cmm 
>   Removed files:         (Branch: backend-hacking-branch)
>     ghc/includes         CCall.h DietHEP.h InfoMacros.h 
>                          PosixSource.h PrimOps.h StgStorage.h 
>     ghc/rts              Apply.hc Exception.hc HeapStackCheck.hc 
>                          PrimOps.hc StablePriv.h 
>                          StgMiscClosures.hc StgStartup.h 
>                          StgStartup.hc StgStdThunks.hc Storage.h 
>                          StoragePriv.h Updates.hc 
>   Log:
>   New backend: implement a parser for our extended subset of C--, and
>   rewrite the RTS .hc files using it.  For now, we can still only
>   compile these .cmm files via-C, but in the future if the native code
>   generator is beefed up a bit with support for loops then we would be
>   able to compile GHC without a C compiler at all.
>   
>   This is a large change, but normal compilation now seems to be working
>   fine again.  Profiling and other ways are still broken, though.
>   
>   There is still some cleanup to do, especially in the includes, before
>   we can do a meaningul line count comparison.  I plan to analyse
>   performance a little too.
>   
>   ghc/includes/README is a new file with an overview of the structure of
>   the includes/ directory.  For information on .cmm file syntax, see
>   compiler/cmm/CmmParse.y and includes/Cmm.h.
>   
>   Revision  Changes    Path
>   1.11.26.20 +11 -0     fptools/ghc/compiler/NOTES
>   1.1.2.15  +80 -38    fptools/ghc/compiler/cmm/Attic/CLabel.hs
>   1.1.2.38  +5 -1      fptools/ghc/compiler/cmm/Attic/Cmm.hs
>   1.1.2.25  +24 -0     fptools/ghc/compiler/cmm/Attic/MachOp.hs
>   1.1.2.63  +30 -14    fptools/ghc/compiler/cmm/Attic/PprC.hs
>   1.1.2.21  +11 -10    fptools/ghc/compiler/codeGen/Attic/CgCallConv.hs
>   1.66.4.26 +14 -20    fptools/ghc/compiler/codeGen/CgCase.lhs
>   1.62.2.24 +55 -27    fptools/ghc/compiler/codeGen/CgClosure.lhs
>   1.45.2.19 +4 -5      fptools/ghc/compiler/codeGen/CgCon.lhs
>   1.56.4.17 +2 -2      fptools/ghc/compiler/codeGen/CgExpr.lhs
>   1.1.2.11  +32 -26    fptools/ghc/compiler/codeGen/Attic/CgForeignCall.hs
>   1.39.4.20 +102 -43   fptools/ghc/compiler/codeGen/CgHeapery.lhs
>   1.1.2.23  +135 -64   fptools/ghc/compiler/codeGen/Attic/CgInfoTbls.hs
>   1.24.4.6  +2 -2      fptools/ghc/compiler/codeGen/CgLetNoEscape.lhs
>   1.39.4.19 +192 -110  fptools/ghc/compiler/codeGen/CgMonad.lhs
>   1.1.2.5   +2 -2      fptools/ghc/compiler/codeGen/Attic/CgParallel.hs
>   1.1.2.13  +38 -38    fptools/ghc/compiler/codeGen/Attic/CgPrimOp.hs
>   1.1.2.23  +75 -366   fptools/ghc/compiler/codeGen/Attic/CgProf.hs
>   1.24.2.15 +21 -18    fptools/ghc/compiler/codeGen/CgStackery.lhs
>   1.38.6.22 +11 -10    fptools/ghc/compiler/codeGen/CgTailCall.lhs
>   1.1.2.32  +153 -104  fptools/ghc/compiler/codeGen/Attic/CgUtils.hs
>   1.58.2.16 +9 -9      fptools/ghc/compiler/codeGen/CodeGen.lhs
>   1.19.10.15 +6 -5      fptools/ghc/compiler/codeGen/SMRep.lhs
>   1.101.2.3 +5 -7      fptools/ghc/compiler/ghci/ByteCodeGen.lhs
>   1.15.12.2 +1 -1      fptools/ghc/compiler/ghci/ByteCodeItbls.lhs
>   1.49.4.7  +1 -1      fptools/ghc/compiler/main/CodeOutput.lhs
>   1.34.2.16 +4 -192    fptools/ghc/compiler/main/Constants.lhs
>   1.28.2.1  +13 -4     fptools/ghc/compiler/main/DriverPhases.hs
>   1.161.2.2 +69 -33    fptools/ghc/compiler/main/DriverPipeline.hs
>   1.190.2.1 +14 -1     fptools/ghc/compiler/main/HscMain.lhs
>   1.60.6.26 +15 -41    fptools/ghc/compiler/nativeGen/AsmCodeGen.lhs
>   1.50.2.17 +24 -24    fptools/ghc/compiler/nativeGen/MachRegs.lhs
>   1.9.4.1   +26 -0     fptools/ghc/compiler/parser/Ctype.lhs
>   1.20.2.1  +31 -97    fptools/ghc/compiler/parser/Lexer.x
>   1.6.28.1  +9 -0      fptools/ghc/compiler/utils/OrdList.lhs
>   1.62.2.1  +12 -0     fptools/ghc/compiler/utils/StringBuffer.lhs
>   1.66.2.2  +56 -2     fptools/ghc/compiler/utils/Util.lhs
>   1.16.2.1  +36 -8     fptools/ghc/includes/Block.h
>   1.38.2.2  +3 -4      fptools/ghc/includes/ClosureMacros.h
>   1.35.2.1  +48 -6     fptools/ghc/includes/Closures.h
>   1.25.8.3  +86 -13    fptools/ghc/includes/Constants.h
>   1.32.2.2  +17 -7     fptools/ghc/includes/InfoTables.h
>   1.22.4.3  +19 -1     fptools/ghc/includes/Makefile
>   1.14.2.1  +26 -18    fptools/ghc/includes/Regs.h
>   1.23.2.1  +190 -1    fptools/ghc/includes/Rts.h
>   1.36.2.2  +1 -2      fptools/ghc/includes/RtsAPI.h
>   1.45.10.1 +23 -37    fptools/ghc/includes/RtsFlags.h
>   1.15.2.1  +10 -2     fptools/ghc/includes/Stable.h
>   1.60.2.2  +73 -223   fptools/ghc/includes/Stg.h
>   1.3.10.1  +16 -16    fptools/ghc/includes/StgFun.h
>   1.2.24.3  +35 -23    fptools/ghc/includes/StgLdvProf.h
>   1.57.2.4  +2 -658    fptools/ghc/includes/StgMacros.h
>   1.47.8.3  +372 -252  fptools/ghc/includes/StgMiscClosures.h
>   1.17.2.5  +5 -8      fptools/ghc/includes/StgProf.h
>   1.33.2.1  +31 -62    fptools/ghc/includes/TSO.h
>   1.34.2.2  +228 -151  fptools/ghc/includes/Updates.h
>   1.4.10.12 +293 -113  fptools/ghc/includes/mkDerivedConstants.c
>   1.3.10.2  +17 -60    fptools/ghc/rts/Apply.h
>   1.7.2.1   +2 -1      fptools/ghc/rts/Exception.h
>   1.8.4.1   +1 -2      fptools/ghc/rts/FrontPanel.c
>   1.164.2.2 +18 -19    fptools/ghc/rts/GC.c
>   1.18.2.1  +15 -16    fptools/ghc/rts/GCCompact.c
>   1.46.2.3  +9 -13     fptools/ghc/rts/Interpreter.c
>   1.143.2.5 +2 -2      fptools/ghc/rts/Linker.c
>   1.19.2.1  +3 -2      fptools/ghc/rts/MBlock.h
>   1.40.2.1  +1 -5      fptools/ghc/rts/Main.c
>   1.87.2.1  +52 -10    fptools/ghc/rts/Makefile
>   1.24.4.2  +61 -45    fptools/ghc/rts/Prelude.h
>   1.62.2.1  +19 -20    fptools/ghc/rts/Printer.c
>   1.37.4.1  +6 -6      fptools/ghc/rts/Profiling.c
>   1.5.14.1  +2 -2      fptools/ghc/rts/Profiling.h
>   1.10.8.1  +4 -6      fptools/ghc/rts/RetainerProfile.c
>   1.3.8.1   +2 -2      fptools/ghc/rts/RetainerProfile.h
>   1.72.2.1  +3 -2      fptools/ghc/rts/RtsFlags.c
>   1.78.2.4  +1 -5      fptools/ghc/rts/RtsStartup.c
>   1.19.2.1  +0 -1      fptools/ghc/rts/RtsUtils.h
>   1.34.4.1  +12 -14    fptools/ghc/rts/Sanity.c
>   1.184.2.2 +79 -5     fptools/ghc/rts/Schedule.c
>   1.43.2.1  +15 -13    fptools/ghc/rts/Schedule.h
>   1.40.2.1  +1 -2      fptools/ghc/rts/Signals.c
>   1.27.2.1  +1 -2      fptools/ghc/rts/Stable.c
>   1.46.14.1 +2 -2      fptools/ghc/rts/Stats.c
>   1.6.36.1  +2 -4      fptools/ghc/rts/StgRun.h
>   1.82.2.1  +1 -2      fptools/ghc/rts/Storage.c
>   1.4.52.1  +4 -4      fptools/ghc/rts/Weak.h
>   1.8.8.2   +139 -139  fptools/ghc/utils/genapply/GenApply.hs
> _______________________________________________
> Cvs-ghc mailing list
> Cvs-ghc at haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-ghc


More information about the Cvs-ghc mailing list