nios2.c (nios2_rtx_costs): Make costs better reflect reality.
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 24 Oct 2017 02:37:02 +0000 (22:37 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 24 Oct 2017 02:37:02 +0000 (22:37 -0400)
commitefd5897cdf05c21156ce97fcf98f5c86163a445b
tree41c13aefd6f587c44fe5952c9855969ad90ab53a
parent82348675ee7757f2ef28e3e1350fd2bbd9994ad9
nios2.c (nios2_rtx_costs): Make costs better reflect reality.

2017-10-23  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/nios2/nios2.c (nios2_rtx_costs): Make costs better
reflect reality.
(nios2_address_cost): Define.
(nios2_legitimize_address): Recognize (exp + constant) directly.
(TARGET_ADDRESS_COST): Define.

From-SVN: r254034
gcc/ChangeLog
gcc/config/nios2/nios2.c