(ADDRESS_COST): Define.

From-SVN: r10692
This commit is contained in:
Jim Wilson 1995-12-09 15:04:27 -08:00
parent b49a8bf435
commit 06ada9d1c1
1 changed files with 7 additions and 0 deletions

View File

@ -1093,6 +1093,13 @@ extern int current_function_anonymous_args;
&& GET_CODE (PATTERN (X)) != CLOBBER \
&& get_attr_type (X) == TYPE_SFUNC))
/* Compute the cost of an address. For the SH, all valid addresses are
the same cost. */
/* ??? Perhaps we should make reg+reg addresses have higher cost because
they add to register pressure on r0. */
#define ADDRESS_COST(RTX) 1
/* Compute extra cost of moving data between one register class
and another.