h8300.c (h8300_tiny_constant_address_p): Return true if TARGET_NORMAL_MODE.

* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
	true if TARGET_NORMAL_MODE.

From-SVN: r67248
This commit is contained in:
Dhananjay Deshpande 2003-05-30 19:12:42 +00:00 committed by Kazu Hirata
parent 0c19a26f77
commit 6d7d3112bd
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
true if TARGET_NORMAL_MODE.
2003-05-30 Roger Sayle <roger@eyesopen.com>
* cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when

View File

@ -4485,9 +4485,10 @@ h8300_tiny_constant_address_p (x)
addr = INTVAL (x);
return (0
|| ((TARGET_H8300H && !TARGET_NORMAL_MODE)
|| TARGET_NORMAL_MODE
|| (TARGET_H8300H
&& (IN_RANGE (addr, h1, h2) || IN_RANGE (addr, h3, h4)))
|| ((TARGET_H8300S && !TARGET_NORMAL_MODE)
|| (TARGET_H8300S
&& (IN_RANGE (addr, s1, s2) || IN_RANGE (addr, s3, s4))));
}