Hello,

I want print additional information for each branch insn which will be
used by the linker (for the SPU software i-cache), for example:

brsl $lr,[EMAIL PROTECTED]

and I wonder what is the best way to implement it in GCC.

I defined a new note (in reg-notes.def) which can be attached to each
branch (using add_reg_note ()) and holds that info.  I now want to print
the information of that note when emitting the branch, but I am not
sure exactly how to do that.  Should I change the instruction template
to use the reg-notes?

Thanks,
Revital

Reply via email to