Some hints on solving this problem?

Sun Feb 4 08:17:00 GMT 2007

Thanks for the hints, I have already noticed that insn list is match
against the RTL templates to emit assembly code. However,	I found 3 md
files,,,, each file is very big...
would you mind giving some hints on the differences between them?
Especially, I am working on itanium2 architecture. (I have found many
insn templates in, but how about and

在 07-2-4,Paul Yuan<> 写道:
> 1) Modify the final() in final.c to emit some code before ld and st
> before outputting the assembly.
> 2) Modify the MD file. Find the template which generate ld or st, and
> add some code before ld  and st.
> On 2/3/07, 吴曦 <> wrote:
> > Hi,
> > I am working on gcc 4.1.1 and Itanium2 architecture. I want to use gcc
> > to emit some code before each ld and st instruction (I know that using
> > dynamic binary translator like PIN may be more suitable for this task,
> > but I am on the way of studying gcc and want to use it to achieve this
> > goal). But after several days of study, I find that the back-end of
> > gcc too complex... :-(
> >
> > So, what is the best level in back-end to accomplish this task?
> >
> > I would appreciate any help I can get on this problem!
> >
> > thx!
> >
> --
> Paul Yuan

More information about the Gcc mailing list