Distinguish between instructions in print_operand_address
Georg-Johann Lay
gjl@gcc.gnu.org
Tue Oct 16 19:23:00 GMT 2012
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
More information about the Gcc-help
mailing list