aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-06 07:03:07 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-06 07:03:07 -0400
commitb0ceea8c6dd2ef95ac9f1f51298ecfa914c719dc (patch)
tree2f2650a409279241906a911c61faa41c47635a53 /gcc/config/i386
parente9de0fec0f7bb5ee51f182f2edba3c09b98945f6 (diff)
downloadgcc-b0ceea8c6dd2ef95ac9f1f51298ecfa914c719dc.zip
gcc-b0ceea8c6dd2ef95ac9f1f51298ecfa914c719dc.tar.gz
gcc-b0ceea8c6dd2ef95ac9f1f51298ecfa914c719dc.tar.bz2
(DEBUG_PRINT_REG): Fix printing of coprocessor regs in QImode.
From-SVN: r6973
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index fcfc2df..f879b18 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; \