cvs commit: fptools/ghc/compiler/cmm Cmm.hs fptools/ghc/compiler/nativeGen AsmCodeGen.lhs MachCodeGen.hs MachInstrs.hs MachRegs.lhs NCG.h PprMach.hs RegAllocInfo.hs

Simon Marlow simonmar at haskell.org
Fri Apr 1 07:14:34 EST 2005


simonmar    2005/04/01 04:14:31 PST

  Modified files:
    ghc/compiler/cmm     Cmm.hs 
    ghc/compiler/nativeGen AsmCodeGen.lhs MachCodeGen.hs 
                           MachInstrs.hs MachRegs.lhs NCG.h 
                           PprMach.hs RegAllocInfo.hs 
  Log:
  First cut at the x86_64 native code generator.  Lots of code is shared
  with i386, but floating point uses SSE2.
  
  This more or less works, the things I know that don't work are:
  
    - the floating-point primitives (sin, cos etc.) are missing
    - floating-point comparisons involving NaN are wrong
    - there's no PIC support yet
  
  Also, I have a long list of small things to fix up to improve
  performance.
  
  I think the small memory model is assumed, for now.
  
  Revision  Changes    Path
  1.7       +1 -0      fptools/ghc/compiler/cmm/Cmm.hs
  1.69      +30 -5     fptools/ghc/compiler/nativeGen/AsmCodeGen.lhs
  1.8       +528 -128  fptools/ghc/compiler/nativeGen/MachCodeGen.hs
  1.7       +61 -45    fptools/ghc/compiler/nativeGen/MachInstrs.hs
  1.54      +155 -5    fptools/ghc/compiler/nativeGen/MachRegs.lhs
  1.14      +6 -0      fptools/ghc/compiler/nativeGen/NCG.h
  1.9       +221 -63   fptools/ghc/compiler/nativeGen/PprMach.hs
  1.5       +49 -13    fptools/ghc/compiler/nativeGen/RegAllocInfo.hs


More information about the Cvs-ghc mailing list