h8300.c: Fix a comment typo.
authorKazu Hirata <kazu@hxi.com>
Thu, 3 Aug 2000 15:20:43 +0000 (15:20 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 3 Aug 2000 15:20:43 +0000 (09:20 -0600)
        * h8300.c: Fix a comment typo.
        * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.

From-SVN: r35455

gcc/ChangeLog
gcc/config/h8300/h8300.c
gcc/config/h8300/h8300.h

index 30be0839f6053e7fce86f01f4d8a98c858441f6d..c58d5d15512998e83a7e96f3a4cce53ddd4243fb 100644 (file)
@@ -15,6 +15,9 @@ Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
 
 2000-08-03  Kazu Hirata  <kazu@hxi.com>
 
+       * h8300.c: Fix a comment typo.
+       * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
+
        * jump.c: Fix formatting.
 
        * toplev.c: Fix formatting.
index c6e61db06242e5000d6d41929dc9a8dac6563be8..e1dea0d3d3022acf877d7f84d5c31f5d8ecff207 100644 (file)
@@ -977,7 +977,7 @@ const_costs (r, c)
 \f
 /* Documentation for the machine specific operand escapes:
 
-   'A' print rn in h8/300 mode, erN in H8/300H mode
+   'A' print rn in H8/300 mode, erN in H8/300H mode
    'C' print (operand - 2).
    'E' like s but negative.
    'F' like t but negative.
index 6e6bd4482894adee893afa2001385e9e47b54793..271e39296cf4b51f51f223453a2f6120b9b5e0d5 100644 (file)
@@ -866,9 +866,9 @@ struct cum_arg
         && GET_CODE (XEXP (XEXP (XEXP (OP, 0), 0), 1)) == CONST_INT) \
         && (TARGET_H8300S || SYMBOL_REF_FLAG (XEXP (XEXP (OP, 0), 0)))) \
    || (GET_CODE (OP) == MEM                                            \
-       && EIGHTBIT_CONSTANT_ADDRESS_P (XEXP (OP, 0))))
-
-
+       && EIGHTBIT_CONSTANT_ADDRESS_P (XEXP (OP, 0)))  \
+   || (GET_CODE (OP) == MEM && TARGET_H8300S           \
+       && GET_CODE (XEXP (OP, 0)) == CONST_INT))
 
 #define EXTRA_CONSTRAINT(OP, C)                        \
   ((C) == 'T' ? OK_FOR_T (OP) :                        \