Commit afd1bb91 by Denis Chertykov Committed by Denis Chertykov

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
parent 368256d8
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> 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 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
......
...@@ -3481,7 +3481,7 @@ default_rtx_costs (X, code, outer_code) ...@@ -3481,7 +3481,7 @@ default_rtx_costs (X, code, outer_code)
/* Calculate the cost of a memory address */ /* Calculate the cost of a memory address */
int int
address_cost (rtx x) avr_address_cost (rtx x)
{ {
if (GET_CODE (x) == PLUS if (GET_CODE (x) == PLUS
&& GET_CODE (XEXP (x,1)) == CONST_INT && GET_CODE (XEXP (x,1)) == CONST_INT
......
...@@ -1817,7 +1817,7 @@ do { \ ...@@ -1817,7 +1817,7 @@ do { \
This macro is optional; do not define it if the default cost This macro is optional; do not define it if the default cost
assumptions are adequate for the target machine. */ 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 /* An expression giving the cost of an addressing mode that contains
ADDRESS. If not defined, the cost is computed from the ADDRESS ADDRESS. If not defined, the cost is computed from the ADDRESS
......
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