Commit d2d199a3 by Kazu Hirata Committed by Kazu Hirata

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
parent 964dad84
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> 2002-10-29 Hans-Peter Nilsson <hp@bitrange.com>
* toplev.c (rest_of_type_compilation): Return early in case of * toplev.c (rest_of_type_compilation): Return early in case of
......
...@@ -3862,8 +3862,8 @@ h8300_eightbit_constant_address_p (x) ...@@ -3862,8 +3862,8 @@ h8300_eightbit_constant_address_p (x)
rtx x; rtx x;
{ {
/* The ranges the 8-bit area. */ /* The ranges the 8-bit area. */
const unsigned HOST_WIDE_INT n1 = trunc_int_for_mode (0x0000ff00, SImode); const unsigned HOST_WIDE_INT n1 = trunc_int_for_mode (0xff00, HImode);
const unsigned HOST_WIDE_INT n2 = trunc_int_for_mode (0x0000ffff, SImode); 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 h1 = trunc_int_for_mode (0x00ffff00, SImode);
const unsigned HOST_WIDE_INT h2 = trunc_int_for_mode (0x00ffffff, 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); const unsigned HOST_WIDE_INT s1 = trunc_int_for_mode (0xffffff00, SImode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment