Tue Feb  5 02:14:25 PST 2008  Simon Marlow <[EMAIL PROTECTED]>
  * FIX #2047: Windows (and older Unixes): align info tables to 4 bytes, not 2
  Perhaps in the past '.align 2' meant align to 4 bytes, but nowadays it
  means align to 2 bytes.  The compacting collector requires info tables
  to be aligned to 4 bytes, because it stores tag bits in the low 2
  bits.
  
  This only affects -fvia-C - the native code generator was already
  emitting the correct alignment.  The incorrect alignment might well
  have been adversely affecting performance with -fvia-C on Windows.

    M ./driver/mangler/ghc-asm.lprl -7 +7

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to