[project @ 2005-04-01 12:14:29 by simonmar]
authorsimonmar <unknown>
Fri, 1 Apr 2005 12:14:30 +0000 (12:14 +0000)
committersimonmar <unknown>
Fri, 1 Apr 2005 12:14:30 +0000 (12:14 +0000)
commit6c55401037f9ff01170e3979dca51f6b2a9a8293
tree44036dad30bc551491c86826ab2b5e6b52db21e8
parent79c03a2f72210f3388c7715fe3b7025bd422cc13
[project @ 2005-04-01 12:14:29 by simonmar]
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.
ghc/compiler/cmm/Cmm.hs
ghc/compiler/nativeGen/AsmCodeGen.lhs
ghc/compiler/nativeGen/MachCodeGen.hs
ghc/compiler/nativeGen/MachInstrs.hs
ghc/compiler/nativeGen/MachRegs.lhs
ghc/compiler/nativeGen/NCG.h
ghc/compiler/nativeGen/PprMach.hs
ghc/compiler/nativeGen/RegAllocInfo.hs