On Nov 2, 2006, at 1:36 AM, Simon Peyton-Jones wrote:


What you want is
 a) Return an unboxed result (can be State#)
 b) the side-effect flag

If both these hold, then the primop won't be floated out anywhere.

Please do try this. I would much, much rather use a PrimOp than a Note.
Indeed I think we should do the SCC stuff via primops too.

Simon


Simon, Simon, et. al,

I've got some time in Dec allocated to Hpc, so at that time I'll verify that this modification does not change the tick boxes actually ticked, and push it to the darcs repo
(or propose something else)

Does this sound like an workable timetable?

I'd really rather a primop with *arguments* (the tick number, and the module name),
and SCC would need the same, so I might look at mirroring PrimOp Id with
something like MagicOp Id for primitives that
 - are saturated with constants
 - are never called at runtime.
Any suggestions or pitfalls?

AndyG


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

Reply via email to