diff options
author | Kazu Hirata <kazu@hxi.com> | 2000-08-03 15:20:43 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2000-08-03 09:20:43 -0600 |
commit | e82059016e0a3eb2c69029cef46978a07635c3bd (patch) | |
tree | e7652a8799deff163215dff76d53427d2f8ec55e /gcc/config | |
parent | 99871835a6e3f56dc15396dbf78856fd8b276fa5 (diff) | |
download | gcc-e82059016e0a3eb2c69029cef46978a07635c3bd.zip gcc-e82059016e0a3eb2c69029cef46978a07635c3bd.tar.gz gcc-e82059016e0a3eb2c69029cef46978a07635c3bd.tar.bz2 |
h8300.c: Fix a comment typo.
* h8300.c: Fix a comment typo.
* h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
From-SVN: r35455
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/h8300/h8300.c | 2 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index c6e61db..e1dea0d 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -977,7 +977,7 @@ const_costs (r, c) /* 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. diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 6e6bd44..271e392 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -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) : \ |