Commit d4c32b6f by Richard Henderson Committed by Richard Henderson

i386.c (print_reg): Handle QI and HI modes for non Q regs.

        * config/i386/i386.c (print_reg): Handle QI and HI modes for
        non Q regs.

From-SVN: r73730
parent 43d8d958
2003-11-19 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (print_reg): Handle QI and HI modes for
non Q regs.
2003-11-19 Andreas Tobler <a.tobler@schweiz.ch> 2003-11-19 Andreas Tobler <a.tobler@schweiz.ch>
* config/config.gcc (powerpc-*-darwin*): Add libgcc build * config/config.gcc (powerpc-*-darwin*): Add libgcc build
......
...@@ -7072,12 +7072,17 @@ print_reg (rtx x, int code, FILE *file) ...@@ -7072,12 +7072,17 @@ print_reg (rtx x, int code, FILE *file)
/* FALLTHRU */ /* FALLTHRU */
case 16: case 16:
case 2: case 2:
normal:
fputs (hi_reg_name[REGNO (x)], file); fputs (hi_reg_name[REGNO (x)], file);
break; break;
case 1: case 1:
if (REGNO (x) >= ARRAY_SIZE (qi_reg_name))
goto normal;
fputs (qi_reg_name[REGNO (x)], file); fputs (qi_reg_name[REGNO (x)], file);
break; break;
case 0: case 0:
if (REGNO (x) >= ARRAY_SIZE (qi_high_reg_name))
goto normal;
fputs (qi_high_reg_name[REGNO (x)], file); fputs (qi_high_reg_name[REGNO (x)], file);
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment