diff options
Diffstat (limited to 'gcc/config/mn10200/mn10200.c')
-rw-r--r-- | gcc/config/mn10200/mn10200.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/config/mn10200/mn10200.c b/gcc/config/mn10200/mn10200.c index 1e520a84c60..1a4f9dd0f03 100644 --- a/gcc/config/mn10200/mn10200.c +++ b/gcc/config/mn10200/mn10200.c @@ -162,8 +162,7 @@ print_operand (file, x, code) break; case SUBREG: - fprintf (file, "%s", - reg_names[REGNO (SUBREG_REG (x)) + SUBREG_WORD (x)]); + fprintf (file, "%s", reg_names[subreg_regno (x)]); break; case CONST_DOUBLE: @@ -222,8 +221,7 @@ print_operand (file, x, code) break; case SUBREG: - fprintf (file, "%s", - reg_names[REGNO (SUBREG_REG (x)) + SUBREG_WORD (x)] + 1); + fprintf (file, "%s", reg_names[subreg_regno (x) + 1]); break; case CONST_DOUBLE: @@ -322,8 +320,7 @@ print_operand (file, x, code) break; case SUBREG: - fprintf (file, "%s", - reg_names[REGNO (SUBREG_REG (x)) + SUBREG_WORD (x)]); + fprintf (file, "%s", reg_names[subreg_regno (x)]); break; case CONST_INT: |