Convert SPARC backend over to LRA.
authorDavid S. Miller <davem@davemloft.net>
Sat, 12 Sep 2015 00:13:23 +0000 (00:13 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sat, 12 Sep 2015 00:13:23 +0000 (17:13 -0700)
commit45b4b9b828ee2260fd83901eec40c579b99fa315
treea395fd4312e88049565eda0f10320eb1cd26473e
parent8500ff57774af2a6b3a08464a735f837a917b677
Convert SPARC backend over to LRA.

gcc/

* config/sparc/constraints.md: Make "U" constraint a real register
constraint.
* config/sparc/sparc.c (TARGET_LRA_P): Define.
(D_MODES, DF_MODES): Add missing cast.
(TF_MODES, TF_MODES_NO_S): Include T_MODE.
(OF_MODES, OF_MODES_NO_S): Include O_MODE.
(sparc_register_move_cost): Decrease Niagara/UltrsSPARC memory
cost to 8.
* config/sparc/sparc.h (PROMOTE_MODE): Define.
* config/sparc/sparc.md (*movsi_lo_sum, *movsi_high): Do not
provide these insn when flag_pic.

From-SVN: r227701
gcc/ChangeLog
gcc/config/sparc/constraints.md
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md