Fix LRA regressions on 64-bit SPARC.
authorDavid S. Miller <davem@davemloft.net>
Thu, 17 Sep 2015 07:54:07 +0000 (07:54 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Thu, 17 Sep 2015 07:54:07 +0000 (00:54 -0700)
commitbb6b3973cc5738eab821d4fd8a61d14266d8a503
tree62b6211ecb209431b31681e6cf383e38e7b7a0d3
parentb5415a9ebcc06c18bda279c284d98e9b8ff8af22
Fix LRA regressions on 64-bit SPARC.

gcc/
* config/sparc/sparc-protos.h (sparc_secondary_memory_needed):
Declare.
* config/sparc/sparc.c (sparc_secondary_memory_needed): New
function.
* config/sparc/sparc.h (SECONDARY_MEMORY_NEEDED): Use it.
(HARD_REGNO_CALLER_SAVE_MODE): Define.
* config/sparc/sparc.md (sethi_di_medlow, losum_di_medlow, seth44)
(setm44, setl44, sethh, setlm, sethm, setlo, embmedany_sethi)
(embmedany_losum, embmedany_brsum, embmedany_textuhi)
(embmedany_texthi, embmedany_textulo, embmedany_textlo): Do not
provide when flag_pic.

From-SVN: r227847
gcc/ChangeLog
gcc/config/sparc/sparc-protos.h
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md