Branches for Feisty

Name Status Last Modified Last Commit
lp:ubuntu/feisty/ghc6 1 Development 2009-07-22 17:47:49 UTC
9. * Add arm to the list of arches that ...

Author: Ian Lynagh (wibble)
Revision Date: 2006-10-22 22:36:32 UTC

* Add arm to the list of arches that have ghc6.
* Add arm to the arches in compiler/cmm/PprC.hs for which
  loads and stores to be printed in a way that works if they are not
  aligned as the arch wishes.
* For arm's odd floating point numbers:
  * Add FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN test to aclocal.m4
  * Call FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN after AC_C_BIGENDIAN
    in configure.ac.
  * Extra section for the FPTOOLS_FLOAT_WORD_ORDER_BIGENDIAN test in
    configure.
  * Add "#undef FLOAT_WORDS_BIGENDIAN" to mk/config.h.in.
  * Add FLOAT_WORDS_BIGENDIAN cases to rts/StgPrimFloat.c.
* Apply the following upstream patch, to fix potential problems
  compiling ghc6 on amd64 (and possibly others):

  Fri Oct 20 16:39:25 BST 2006 Simon Marlow <simonmar@microsoft.com>
    * In hashExpr, use Word32 rather than relying on wrapping behaviour of Int
    Fixes #952, as it turns out.

    When compiling via C, we are at the mercy of C's undefined behaviour
    with respect to overflow of signed integer operations, and this was
    biting us here.

    Perhaps we should always add the -fwrapv flag to gcc, but since
    Haskell doesn't define overflow on Int either, it seemed the right
    thing to do to fix this code anyway.

11 of 1 result