cvs commit: fptools/ghc/compiler/absCSyn AbsCSyn.lhs AbsCUtils.lhs PprAbsC.lhs fptools/ghc/compiler/nativeGen AsmCodeGen.lhs StixPrim.lhs

Julian Seward sewardj@glass.cse.ogi.edu
Thu, 6 Dec 2001 03:50:07 -0800


sewardj     2001/12/06 03:50:07 PST

  Modified files:
    ghc/compiler/absCSyn AbsCSyn.lhs AbsCUtils.lhs PprAbsC.lhs 
    ghc/compiler/nativeGen AsmCodeGen.lhs StixPrim.lhs 
  Log:
  Add constructor CBytesPerWord to (the wildly-misnamed) CAddrMode, and
  use this in various places to remove word size dependencies in the
  C -> C simplification pass.  Tart up the Stix constant folder a bit
  so as to be able to fold out the shift/mask literal expressions.
  
  Revision  Changes    Path
  1.42      +3 -1      fptools/ghc/compiler/absCSyn/AbsCSyn.lhs
  1.37      +27 -12    fptools/ghc/compiler/absCSyn/AbsCUtils.lhs
  1.79      +5 -2      fptools/ghc/compiler/absCSyn/PprAbsC.lhs
  1.49      +5 -0      fptools/ghc/compiler/nativeGen/AsmCodeGen.lhs
  1.75      +5 -1      fptools/ghc/compiler/nativeGen/StixPrim.lhs