Commit a0a74fda by Jim Wilson

(ADDRESS_COST): Define to 1.

From-SVN: r6425
parent cf9188c1
...@@ -1493,11 +1493,10 @@ extern struct rtx_def *legitimize_pic_address (); ...@@ -1493,11 +1493,10 @@ extern struct rtx_def *legitimize_pic_address ();
return 0; \ return 0; \
return 8; return 8;
/* SPARC offers addressing modes which are "as cheap as a register". /* Compute the cost of an address. For the sparc, all valid addresses are
See sparc.c (or gcc.texinfo) for details. */ the same cost. */
#define ADDRESS_COST(RTX) \ #define ADDRESS_COST(RTX) 1
(GET_CODE (RTX) == REG ? 1 : sparc_address_cost (RTX))
/* Compute extra cost of moving data between one register class /* Compute extra cost of moving data between one register class
and another. */ and another. */
......
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