Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#1000 closed task (fixed)

Refactor HPC support

Reported by: simonmar Owned by: AndyGill
Priority: normal Milestone: 6.8.1
Component: Compiler Version: 6.7
Keywords: Cc: andy@…
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Moderate (less than a day)
Test Case: Blocked By:
Blocking: Related Tickets:

Description

So we don't forget: as per discussion on cvs-ghc (http://www.haskell.org/pipermail/cvs-ghc/2006-November/032434.html), look into refactoring the HPC support to use a PrimOp instead of a Note in Core.

Change History (7)

comment:1 Changed 7 years ago by AndyGill

  • Owner set to AndyGill
  • Status changed from new to assigned

The plan is to attempt to change to use of Note to hold ticks into using primops
to represent ticks internally.

Simon suggested looking at the FCallId, as an example of how to have a primop
like thing, but also have the primop "saturated with constants".

The will be done in late Nov or early Dec, 2006.

comment:2 Changed 7 years ago by AndyGill

  • Version changed from 6.6 to 6.7

comment:3 Changed 7 years ago by AndyGill

  • Resolution set to fixed
  • Status changed from assigned to closed

Completed this change. We no longer use Note, rather use

  case tick<mod,n> of
    _ -> ...

The generated code is the same boolean-wise as the old tick method.

  • In some cases we generate better CAFs.
  • The execution runtime is faster with -O2. (~50% faster on raytracer)
  • The compile time is slower with -O2. (~50% slower, perhaps because of new optimizations kicking in)

comment:4 Changed 6 years ago by igloo

  • Milestone changed from 6.8 branch to 6.8.1

comment:5 Changed 6 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:6 Changed 6 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple

comment:7 Changed 4 years ago by simonmar

  • Difficulty changed from Moderate (1 day) to Moderate (less than a day)
Note: See TracTickets for help on using tickets.