h8300.h (CONSTANT_ADDRESS_P): Allow CONST and HIGH on all variants.

* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
	HIGH on all variants.

From-SVN: r61044
This commit is contained in:
Kazu Hirata 2003-01-08 14:00:31 +00:00 committed by Kazu Hirata
parent 2f23f5c152
commit eb8a8ec470
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2003-01-08 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
HIGH on all variants.
Wed Jan 8 14:06:34 CET 2003 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
* Makefile.in (PARTITION_H): New.

View file

@ -802,8 +802,7 @@ struct cum_arg
/* We handle signed and unsigned offsets here. */ \
&& INTVAL (X) > (TARGET_H8300 ? -0x10000 : -0x1000000) \
&& INTVAL (X) < (TARGET_H8300 ? 0x10000 : 0x1000000)) \
|| ((GET_CODE (X) == HIGH || GET_CODE (X) == CONST) \
&& TARGET_H8300))
|| (GET_CODE (X) == HIGH || GET_CODE (X) == CONST))
/* Nonzero if the constant value X is a legitimate general operand.
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */