On Tue, Jul 2, 2024 at 9:26 PM Sid Maxwell via Gcc <gcc@gcc.gnu.org> wrote:
>
> I have another gcc 4.3 question.  I'm trying to find where in the code base
> the instrumentation for basic block coverage is done.  I've tracked down
> where/how mcount() calls are generated, but I haven't even been able to
> determine what function(s) are called to increment a basic block's count.
> I'd also like to find more detailed information regarding profiling,
> coverage, and function instrumentation.

Look into gcc/tree-profile.c

> On Wed, Mar 22, 2023 at 6:27 PM Sid Maxwell <srmaxwe...@gmail.com> wrote:
>
> > Is there anyone on the list with experience with the gcc 4.3 codebase?
> > I'm currently maintaining a fork of it, with a PDP10 code generator.
> >
> > I've run into an issue involving the transformation of a movmemhi to a
> > single PDP10 instruction (an xblt, if you're curious).
> > The transformation appears to 'lose' its knowledge of being a store,
> > resulting in certain following stores being declared dead, and code
> > motion that shouldn't happen (e.g. a load moved before the xblt that
> > depends on the result of the xblt).
> >
> > I'm hoping to find someone who can help me diagnose the problem.  We want
> > to use this instruction rather than the copy-word-loop currently generated
> > for struct assignments.
> >
> > Thanks, in advance, for any assistance.
> >
> > -+- Sid Maxwell
> >

Reply via email to