This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [google][4.6]Compiler Directed Multiversioning with new -mvarch option (issue5490054)


On Fri, 2011-12-16 at 11:05 -0800, Xinliang David Li wrote:
> On Fri, Dec 16, 2011 at 3:35 AM, Torvald Riegel <triegel@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]