OSDN Git Service

* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Feb 2004 17:46:02 +0000 (17:46 +0000)
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 15 Feb 2004 17:46:02 +0000 (17:46 +0000)
'%#'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77860 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68k/m68k.h

index 6117cd1..ca477f6 100644 (file)
@@ -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,
index f4d8339..6f05bec 100644 (file)
@@ -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