h8300.c (h8300_eightbit_constant_address_p): Truncate the addresses for H8/300 using HImode.

* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
	Truncate the addresses for H8/300 using HImode.

From-SVN: r58653
This commit is contained in:
Kazu Hirata 2002-10-30 11:21:24 +00:00 committed by Kazu Hirata
parent 964dad84b4
commit d2d199a3e6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-10-30 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (h8300_eightbit_constant_address_p):
Truncate the addresses for H8/300 using HImode.
2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
* toplev.c (rest_of_type_compilation): Return early in case of

View File

@ -3862,8 +3862,8 @@ h8300_eightbit_constant_address_p (x)
rtx x;
{
/* The ranges the 8-bit area. */
const unsigned HOST_WIDE_INT n1 = trunc_int_for_mode (0x0000ff00, SImode);
const unsigned HOST_WIDE_INT n2 = trunc_int_for_mode (0x0000ffff, SImode);
const unsigned HOST_WIDE_INT n1 = trunc_int_for_mode (0xff00, HImode);
const unsigned HOST_WIDE_INT n2 = trunc_int_for_mode (0xffff, HImode);
const unsigned HOST_WIDE_INT h1 = trunc_int_for_mode (0x00ffff00, SImode);
const unsigned HOST_WIDE_INT h2 = trunc_int_for_mode (0x00ffffff, SImode);
const unsigned HOST_WIDE_INT s1 = trunc_int_for_mode (0xffffff00, SImode);