X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig%2Fsh%2Fsh.c;h=6013c2a475504413dcc1ab8fb080abbdae389563;hp=fe2599769d369e7dc2ce83e06eebf8adac0af6cc;hb=96a7f21610a0f1a5c8aa4f7eaf9578c1ce07e47f;hpb=86aaa146796868bbe55617869a156d5910978a88;ds=sidebyside diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index fe2599769d3..6013c2a4755 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -683,6 +683,7 @@ print_operand_address (FILE *stream, rtx x) 'U' Likewise for {LD,ST}{HI,LO}. 'V' print the position of a single bit set. 'W' print the position of a single bit cleared. + 't' print a memory address which is a register. 'u' prints the lowest 16 bits of CONST_INT, as an unsigned value. 'o' output an operator. */ @@ -822,6 +823,21 @@ print_operand (FILE *stream, rtx x, int code) break; } break; + + case 't': + gcc_assert (GET_CODE (x) == MEM); + x = XEXP (x, 0); + switch (GET_CODE (x)) + { + case REG: + case SUBREG: + print_operand (stream, x, 0); + break; + default: + break; + } + break; + case 'o': switch (GET_CODE (x)) {