simonmar    2004/01/29 06:25:44 PST

  Modified files:        (Branch: backend-hacking-branch)
    ghc/compiler/codeGen CgProf.hs CgUtils.hs 
    ghc/compiler/cmm     Cmm.hs CmmUtils.hs MachOp.hs PprCmm.hs 
  Added files:           (Branch: backend-hacking-branch)
    ghc/compiler/codeGen CgPrimOp.hs 
  Log:
  - Add CgPrimOp
  
  - split off the not-definitely-inline MachOps into a separate type,
    CallishMachOp.  Change the CmmCall constructor to take a CmmCallTarget,
    which is either a foreign call as before, or a CallishMachOp.
  
  - Attach (Maybe [GlobalReg]) to a CmmCall, to indicate which of the
    GlobalRegs need to be saved across the call (only applies to
    VanillaReg, FloatReg, DoubleReg and LongReg - the others should be
    automatically saved by the backend).
  
  - define cmmOffsetExpr and cmmIndexExpr in CmmUtils, and define
    CgUtils.cmmOffsetExprW in terms of CmmUtils.cmmOffsetExpr.
  
  - MachOp now exports machRepLogWidth, to get at the log_2 of the width
    (in bytes) of a MachRep.  Useful for shifting by the size of a MachRep.
  
  Revision  Changes    Path
  1.1.2.10  +2 -1      fptools/ghc/compiler/codeGen/Attic/CgProf.hs
  1.1.2.10  +1 -6      fptools/ghc/compiler/codeGen/Attic/CgUtils.hs
  1.1.2.25  +21 -4     fptools/ghc/compiler/cmm/Attic/Cmm.hs
  1.1.2.13  +17 -4     fptools/ghc/compiler/cmm/Attic/CmmUtils.hs
  1.1.2.17  +36 -131   fptools/ghc/compiler/cmm/Attic/MachOp.hs
  1.1.2.10  +4 -1      fptools/ghc/compiler/cmm/Attic/PprCmm.hs
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to