cvs commit: fptools/ghc/compiler/nativeGen MachCode.lhs MachM isc.lhs PprMach.lhs StixPrim.lhs fptools/ghc/compiler/prelude Pr imRep.lhs

Julian Seward (Intl Vendor) v-julsew@microsoft.com
Thu, 1 Feb 2001 23:43:36 -0800


| >   sparc NCG now appears to work; hope the x86 side isn't now broken.
| 
| Unfortunately the current compiler, only when compiled with itself,
| doesn't understand an interface file when compiling PrelBase.

Yes, I fixed this problem yesterday.  You need to get the latest
commits to compiler/nativeGen.  (See attached msg).

J

-------------------------------------------------------------------

sewardj     2001/02/01 05:35:11 PST

  Modified files:
    ghc/compiler/nativeGen AbsCStixGen.lhs MachCode.lhs 
                           StixPrim.lhs 
  Log:
  Fix a long-standing roaring bogon in mangleIndexTree, to do with
  not-necessarily-valid assumptions about PrimRep sizes.  In future all
  enquiries about PrimRep sizes should go via MachMisc.primRepToSize
  and/or MachMisc.sizeOf.  The Lord preserve us from random, unportable
  hacks in the NCG.
  
  Revision  Changes    Path
  1.37      +3 -3      fptools/ghc/compiler/nativeGen/AbsCStixGen.lhs
  1.66      +9 -6      fptools/ghc/compiler/nativeGen/MachCode.lhs
  1.62      +1 -0      fptools/ghc/compiler/nativeGen/StixPrim.lhs