1. 30 Jun, 2010 2 commits
    • Simon Marlow's avatar
      Add the haskell2010 package · 9778c732
      Simon Marlow authored
    • dterei's avatar
      LLVM: Use getelementptr instruction for a lot of situations · a42400e6
      dterei authored
      LLVM supports creating pointers in two ways, firstly through
      pointer arithmetic (by casting between pointers and ints)
      and secondly using the getelementptr instruction. The second way
      is preferable as it gives LLVM more information to work with.
      This patch changes a lot of pointer related code from the first
      method to the getelementptr method.
  2. 25 Jun, 2010 1 commit
  3. 29 Jun, 2010 1 commit
  4. 28 Jun, 2010 6 commits
  5. 20 Jun, 2010 1 commit
  6. 24 Jun, 2010 1 commit
    • dmp@rice.edu's avatar
      Add #undefs for posix source symbols when including papi.h · a8f29216
      dmp@rice.edu authored
      Validation fails when validating with PAPI support (i.e. GhcRtsWithPapi  = YES
      in validate.mk).  The problem is that the posix symbols are defined by a header
      included from papi.h. Compilation then fails because these symbols are
      redefined in PosixSource.h. 
      This patch adds an undefine for the posix symbols after including papi.h and
      before including PosixSource.h. The #undefines are localized to Papi.c since
      that is the only case where they are getting defined twice.
  7. 25 Jun, 2010 2 commits
  8. 24 Jun, 2010 7 commits
  9. 23 Jun, 2010 3 commits
  10. 17 Sep, 2009 6 commits
  11. 24 Jun, 2010 1 commit
    • Ian Lynagh's avatar
      Fix panic when running "ghc -H"; trac #3364 · 888b4e89
      Ian Lynagh authored
      The problem is that showing SDoc's looks at the static flags global
      variables, but those are panics while we are parsing the static flags.
      We work around this by explicitly using a fixed prettyprinter style.
  12. 21 Jun, 2010 1 commit
    • dterei's avatar
      Allow for stg registers to have pointer type in llvm BE. · 4738e101
      dterei authored
      Before all the stg registers were simply a bit type or
      floating point type but now they can be declared to have
      a pointer type to one of these. This will allow various
      optimisations in the future in llvm since the type is
      more accurate.
  13. 24 Jun, 2010 4 commits
  14. 22 Jun, 2010 1 commit
    • dmp@rice.edu's avatar
      Add support for collecting PAPI native events · d4942f78
      dmp@rice.edu authored
      This patch extends the PAPI support in the RTS to allow collection of native
      events. PAPI can collect data for native events that are exposed by the
      hardware beyond the PAPI present events. The native events supported on your
      hardware can found by using the papi_native_avail tool.
      The RTS already allows users to specify PAPI preset events from the command
      line. This patch extends that support to allow users to specify native events.
      The changes needed are:
      1) New option (#) for the RTS PAPI flag for native events. For example, to
         collect the native event 0x40000000, use ./a.out +RTS -a#0x40000000 -sstderr
      2) Update the PAPI_FLAGS struct to store whether the user specified event is a
         papi preset or a native event
      3) Update init_countable_events function to add the native events after parsing
         the event code and decoding the name using PAPI_event_code_to_name
  15. 24 Jun, 2010 1 commit
  16. 21 Jun, 2010 1 commit
  17. 22 Jun, 2010 1 commit