summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-15 17:46:02 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-15 17:46:02 +0000
commitdb5d7b20482f6b5632c9aa2513a4cdf741d04f13 (patch)
tree1c41125cf3ffee79b45513e9d7fc3e5b6b4994fe
parentda254beb86724c95299dc45d7caefd60bc043ec9 (diff)
downloadppe42-gcc-db5d7b20482f6b5632c9aa2513a4cdf741d04f13.tar.gz
ppe42-gcc-db5d7b20482f6b5632c9aa2513a4cdf741d04f13.zip
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for
'%#'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77860 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.h7
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6117cd1e22a..ca477f6b08b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-15 Bernardo Innocenti <bernie@develer.com>
+
+ * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for
+ '%#'.
+
2004-02-15 Kazu Hirata <kazu@cs.umass.edu>
* config/ia64/ia64.c, config/mips/mips.c,
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index f4d83390a3c..6f05bec1b86 100644
--- a/gcc/config/m68k/m68k.h
+++ b/gcc/config/m68k/m68k.h
@@ -1629,6 +1629,8 @@ do { if (cc_prev_status.flags & CC_IN_68881) \
sp@+, (sp)+ or (%sp)+ depending on the style of syntax.
'@' for a reference to the top word on the stack:
sp@, (sp) or (%sp) depending on the style of syntax.
+ '#' for an immediate operand prefix (# in MIT and Motorola syntax
+ but & in SGS syntax).
'!' for the fpcr register (used in some float-to-fixed conversions).
'$' for the letter `s' in an op code, but only on the 68040.
'&' for the letter `d' in an op code, but only on the 68040.
@@ -1643,8 +1645,9 @@ do { if (cc_prev_status.flags & CC_IN_68881) \
or print pair of registers as rx:ry. */
#define PRINT_OPERAND_PUNCT_VALID_P(CODE) \
- ((CODE) == '.' || (CODE) == '-' || (CODE) == '+' || (CODE) == '@' \
- || (CODE) == '!' || (CODE) == '$' || (CODE) == '&' || (CODE) == '/')
+ ((CODE) == '.' || (CODE) == '#' || (CODE) == '-' \
+ || (CODE) == '+' || (CODE) == '@' || (CODE) == '!' \
+ || (CODE) == '$' || (CODE) == '&' || (CODE) == '/')
/* A C compound statement to output to stdio stream STREAM the
assembler syntax for an instruction operand X. X is an RTL
OpenPOWER on IntegriCloud