This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Distinguish between instructions in print_operand_address
Jan Tlatlik wrote:
> is there a way to get information about the current insn inside the
> print_operand_address worker?
> I need to print register indirect addresses differently for a specific
> branch instruction.
Cant' you use print_operand hook for this and use an target-specific %-code?
See avr_print_operand for an example and how it handles MEM_P or the 'j' and
'k' codes.
Johann