aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-02-15 18:46:02 +0100
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-02-15 18:46:02 +0100
commitac5f996102d7f40479baa2a423397ed571531924 (patch)
tree1c41125cf3ffee79b45513e9d7fc3e5b6b4994fe /gcc/config
parent230377dc69fe6bd44dc75780a3f37e09fca2ae2c (diff)
downloadgcc-ac5f996102d7f40479baa2a423397ed571531924.zip
gcc-ac5f996102d7f40479baa2a423397ed571531924.tar.gz
gcc-ac5f996102d7f40479baa2a423397ed571531924.tar.bz2
m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for '%#'.
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for '%#'. From-SVN: r77860
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/m68k/m68k.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h
index f4d8339..6f05bec 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