On Fri, 2011-12-16 at 11:05 -0800, Xinliang David Li wrote:
> On Fri, Dec 16, 2011 at 3:35 AM, Torvald Riegel <trie...@redhat.com> wrote:
> > For Transactional Memory support, we also create versions of functions
> > (see code in trunk, e.g., in trans-mem.c).  Right now, that's a single
> > instrumented version of the original code but having different
> > transactional instrumentations available might be worthwhile in the
> > future.
> >
> 
> > Is there a chance that we can share any code between TM and what you are
> > working on?
> 
> Can you be more specific? You mean creating different clones based on
> target (e.g, STM, HTM etc)?  If that is the cases, it certainly fits
> into the MV framework here.

Yes, different versions for differently instrumented clones.  I didn't
look at your code yet though, so this really was just a quick
idea/observation.


Torvald

Reply via email to