From: Richard Kenner Date: Wed, 6 Apr 1994 11:03:07 +0000 (-0400) Subject: (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode. X-Git-Tag: misc/cutover-egcs-0~6970 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ceea8c6dd2ef95ac9f1f51298ecfa914c719dc;p=thirdparty%2Fgcc.git (DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode. From-SVN: r6973 --- diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index fcfc2df7c2c2..f879b18a9f19 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler for Intel 80386. - Copyright (C) 1988, 1992 Free Software Foundation, Inc. + Copyright (C) 1988, 1992, 1994 Free Software Foundation, Inc. This file is part of GNU CC. @@ -1597,12 +1597,12 @@ extern char *qi_high_reg_name[]; { fputs ("argp", FILE); break; } \ if (STACK_TOP_P (X)) \ { fputs ("st(0)", FILE); break; } \ + if (FP_REG_P (X)) \ + { fputs (hi_name[REGNO(X)], FILE); break; } \ switch (GET_MODE_SIZE (GET_MODE (X))) \ { \ - case 12: \ - case 8: \ - case 4: \ - if (! FP_REG_P (X)) fputs ("e", FILE); \ + default: \ + fputs ("e", FILE); \ case 2: \ fputs (hi_name[REGNO (X)], FILE); \ break; \