1. 28 Jun, 2010 3 commits
  2. 20 Jun, 2010 1 commit
  3. 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.
  4. 25 Jun, 2010 2 commits
  5. 24 Jun, 2010 7 commits
  6. 23 Jun, 2010 3 commits
  7. 17 Sep, 2009 6 commits
  8. 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.
  9. 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.
  10. 24 Jun, 2010 4 commits
  11. 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
  12. 24 Jun, 2010 1 commit
  13. 21 Jun, 2010 1 commit
  14. 22 Jun, 2010 8 commits