mn10300.c (mn10300_address_cost): Test ASHIFT, AND and LABEL_REF.
* config/mn10300/mn10300.c (mn10300_address_cost): Test ASHIFT, AND and LABEL_REF. From-SVN: r33482
This commit is contained in:
parent
1aaef9c19a
commit
d82704fbb1
@ -1,3 +1,8 @@
|
||||
Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
|
||||
|
||||
* config/mn10300/mn10300.c (mn10300_address_cost): Test
|
||||
ASHIFT, AND and LABEL_REF.
|
||||
|
||||
Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* invoke.texi (-foptimize-sibling-calls): Fix.
|
||||
|
@ -1084,6 +1084,8 @@ mn10300_address_cost (x, unsig)
|
||||
|
||||
case PLUS:
|
||||
case MINUS:
|
||||
case ASHIFT:
|
||||
case AND:
|
||||
case IOR:
|
||||
return (mn10300_address_cost (XEXP (x, 0), unsig)
|
||||
+ mn10300_address_cost (XEXP (x, 1), unsig));
|
||||
@ -1110,6 +1112,7 @@ mn10300_address_cost (x, unsig)
|
||||
|
||||
case CONST:
|
||||
case SYMBOL_REF:
|
||||
case LABEL_REF:
|
||||
return 8;
|
||||
|
||||
case ADDRESSOF:
|
||||
|
Loading…
Reference in New Issue
Block a user