This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Inserting function calls
- From: jean-christophe dot beyler at ulp dot u-strasbg dot fr
- To: gcc at gcc dot gnu dot org
- Date: Fri, 01 Sep 2006 16:31:20 +0200
- Subject: Re: Inserting function calls
- References: <20060831100629.k2u09hfug0kw0cks@webmail.u-strasbg.fr> <20060831172517.GA23647@atrey.karlin.mff.cuni.cz> <20060831205453.6l63xgg084kkgwcg@webmail.u-strasbg.fr> <20060831192821.GA23611@atrey.karlin.mff.cuni.cz>
First of all, thanx all for all your help, I'm finally seeing the
light at the end of this long tunnel ;-)
one possibility is that the t[i-1] load got moved out of the loop by
PRE; could you check that the load is still present in the loop?
Zdenek
You're right, the load was moved to the outer loop...
I still have 2 more questions :
- How can I get the address of the load in question and pass it to the
function. I've looked around in the code but haven't found anything
similar. DR_MEMTAG seems to give an alias but how can I use that ?
- I am currently working on loop modification, is it difficult to
expand to the whole program, thus looking at each loop and at what
level should I include my PASS in the passes.c file ?
Jc
-----------------------------------------------------
?Degskalle? There is no point in arguing with an idiot, they will just
drag you down to their level and beat you with experience
Référence: http://www.bash.org/?latest
-----------------------------------------------------