avr.c (address_cost): renamed to avr_address_cost.

* config/avr/avr.c (address_cost): renamed to avr_address_cost.
	* config/avr/avr.h (ADDRESS_COST): use avr_address_cost.

From-SVN: r33568
This commit is contained in:
Denis Chertykov 2000-05-01 14:37:11 +00:00 committed by Denis Chertykov
parent 368256d894
commit afd1bb919d
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (address_cost): renamed to avr_address_cost.
* config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in

View File

@ -3481,7 +3481,7 @@ default_rtx_costs (X, code, outer_code)
/* Calculate the cost of a memory address */
int
address_cost (rtx x)
avr_address_cost (rtx x)
{
if (GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x,1)) == CONST_INT

View File

@ -1817,7 +1817,7 @@ do { \
This macro is optional; do not define it if the default cost
assumptions are adequate for the target machine. */
#define ADDRESS_COST(ADDRESS) address_cost (ADDRESS)
#define ADDRESS_COST(ADDRESS) avr_address_cost (ADDRESS)
/* An expression giving the cost of an addressing mode that contains
ADDRESS. If not defined, the cost is computed from the ADDRESS